Template:RomanceBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
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 Spoilers" data-collapsetext="Hide Spoilers" 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|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.'''
<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>

Revision as of 16:11, 29 August 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.