Template:RomanceBox: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(add templatedata)
No edit summary
 
Line 1: Line 1:
<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;">
<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|{{#switch: {{{hide|}}} | 1 = Romance Spoilers | yes = Romance Spoilers | 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>

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