Template:RomanceBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
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 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|{{#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.'''

Revision as of 15:49, 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.