Template:Spoiler: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Kedoch (talk | contribs)
mNo edit summary
Kedoch (talk | contribs)
mNo edit summary
Line 4: Line 4:
</div>
</div>
<noinclude>
<noinclude>
<span class="mw-customtoggle-myDivision">Toggle link</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">Toggled text</div>
<span class="mw-customtoggle-myDivision">Additional toggle link</span>
==Description==
==Description==
Use this template to add a spoiler box to a page (Also see [[Template:Hint]]).
Use this template to add a spoiler box to a page (Also see [[Template:Hint]]).

Revision as of 21:13, 10 April 2018

Spoiler!

Spoiler text.

Description

Use this template to add a spoiler box to a page (Also see Template:Hint).

This template allows for formatting of spoiler content.

Known issues

  • Tables may or may not be formatted inside the template. Suggest using definition lists as a workaround.

Examples

A basic spoiler like this may be better replaced with Template:Hint:

{{Spoiler|Spoiler|
Sarina's clothes are not outside, but inside the [[Boarded up Basement]] dungeon.
}}

Spoiler

Sarina's clothes are not outside, but inside the Boarded up Basement dungeon.

This is an example of a spoiler used for a quest reward.

{{Spoiler|Reward for Contacting Melandria's Brother
|Reward: {{icon|pumpkin}} x1, 300 Councils, 50 Favor}}

Reward for Contacting Melandria's Brother

Thank you so much for your help! Here, have a pumpkin.

Reward: Pumpkin x1, 300 Councils, 50 Favor