Template:SpoilersSection: Difference between revisions

From Victory Belles Community Wiki
Jump to navigation Jump to search
fandomVB>Sovereign
(Created page with "<onlyinclude> == Story == <div class="mw-collapsible mw-collapsed" style="width:100%" data-expandtext="Show" data-collapsetext="Hide"> '''SPOILERS ahead, Captain!''' <div clas...")
 
fandomVB>Sovereign
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
== Story ==
== {{{spoiler_type}}} ==
<div class="mw-collapsible mw-collapsed" style="width:100%" data-expandtext="Show" data-collapsetext="Hide">
<div class="mw-collapsible mw-collapsed" style="width:100%" data-expandtext="Show" data-collapsetext="Hide">
'''SPOILERS ahead, Captain!'''
'''SPOILERS ahead, Captain!'''
<div class="mw-collapsible-content">{{{spoilers}}}</div>
<div class="mw-collapsible-content">{{{spoiler_text}}}</div>
</div>
</div>
</onlyinclude>
</onlyinclude>

Revision as of 16:27, 10 October 2021

{{{spoiler_type}}}[edit source]

SPOILERS ahead, Captain!

{{{spoiler_text}}}


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:SpoilersSection/doc to edit this documentation. (How does this work?)

Description[edit source]

To use this template, copy the following code and fill in the appropriate fields. This serves as a mobile-friendly way to prevent the wiki from spoiling certain parts of Victory Belles.

It is intended to be used below a top-level heading (such as "Character Information") as its section header font is level 3.

Syntax[edit source]

{{SpoilersSection
  |section_heading=
  |spoiler_warning=
  |spoiler=text
}}

Samples[edit source]

Customize all three parameters.

{{SpoilersSection
  |section_heading=Story
  |spoiler_warning=Story spoilers below, proceed with caution!
  |spoiler_text=<p>This is where actual spoilers go.</p><p>You can break up content with paragraph markings.</p>
}}

Results in...

{{{spoiler_type}}}[edit source]

SPOILERS ahead, Captain!

This is where actual spoilers go.

You can break up content with paragraph markings.


Customize only the section heading and spoiler text, with the default spoiler warning.

{{SpoilersSection
  |section_heading=Drop Location
  |spoiler_text=<p>Test Belle only drops on HQ9001 maps.</p><p>Her Wave Motion Gun clears all nodes, and completes every surrounding campaign.</p>
}}

Results in...

{{{spoiler_type}}}[edit source]

SPOILERS ahead, Captain!

Test Belle only drops on HQ9001 maps.

Her Wave Motion Gun clears all nodes, and completes every surrounding campaign.