Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:RomanceBox: Difference between revisions

Template page
(Created page with "<includeonly><div class="mw-collapsible {{#switch: {{{hide|}}} | 1 = mw-collapsed | yes = mw-collapsed | mw-expanded}}" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="background: linear-gradient(to right, #6b1541, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;"> 32px|link= ''' {{color|#c9208a|Romance warning}} This section reveals details about romance and may contain mature them...")
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="mw-collapsible {{#switch: {{{hide|}}} | 1 = mw-collapsed | yes = mw-collapsed | mw-expanded}}" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="background: linear-gradient(to right, #6b1541, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;">
<includeonly><div class="mw-collapsible {{#switch: {{{hide|}}} | 1 = mw-collapsed | yes = mw-collapsed | mw-expanded}}" data-expandtext="Show Romance" data-collapsetext="Hide Romance" style="background: linear-gradient(to right, #6b1541, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;">


[[File:Charm Person Icon.png|32px|link=]] ''' {{color|#c9208a|Romance warning}} This section reveals details about romance and may contain mature themes.'''
[[File:Charm Person Icon.png|24px|link=]] ''' {{color|#c9208a|{{#switch: {{{hide|}}} | 1 = Romance Spoilers | yes = Romance Spoilers | Romance Warning}}}} This section reveals details about romance and may contain mature themes.'''
<div class="mw-collapsible-content" style="background:#232323; border-radius:10px; padding: 15px;">{{{1}}}</div>
<div class="mw-collapsible-content" style="background:#232323; border-radius:10px; padding: 15px;">{{{1}}}</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Line 13: Line 13:


Result: {{RomanceBox|hide=1|This text will be hidden.}}
Result: {{RomanceBox|hide=1|This text will be hidden.}}
</noinclude>
<templatedata>
{
"params": {
"1": {
"description": "Content of the romance box.",
"type": "content",
"required": true
},
"hide": {
"description": "If specified, will hide the romance box's contents by default."
}
},
"paramOrder": [
"1",
"hide"
]
}
</templatedata></noinclude>

Latest revision as of 19:33, 7 November 2023

Usage: {{RomanceBox|This text will be hidden.}}

Result:

Charm Person Icon.png Romance Warning This section reveals details about romance and may contain mature themes.

This text will be hidden.

If you don't want the content to be autorevealed you can add {{{1}}} or {{{1}}}

Usage: {{RomanceBox|hide=1|This text will be hidden.}}

Result:

Charm Person Icon.png Romance Spoilers This section reveals details about romance and may contain mature themes.

This text will be hidden.

No description.

Template parameters

ParameterDescriptionTypeStatus
11

Content of the romance box.

Contentrequired
hidehide

If specified, will hide the romance box's contents by default.

Unknownoptional