Difference between revisions of "Template:Spoiler"
From Project: Gorgon Wiki
m |
(Fiddled with template, please see discussion for details.) |
||
Line 1: | Line 1: | ||
− | <div class=" | + | <div class="mw-collapsible mw-collapsed"> |
− | {{{1|Spoiler!}}} | + | <span class="mw-customtoggle-myDivision">'''{{{1|Spoiler!}}}'''</span> |
− | <div class="mw-collapsible-content">{{{2|Spoiler text.}}} | + | <div class="mw-collapsible-content" style="padding-left: 2em;" id="mw-customcollapsible-myDivision">{{{2|Spoiler text.}}}</div> |
− | </div></div> | + | </div> |
<noinclude> | <noinclude> | ||
==Description== | ==Description== | ||
Line 26: | Line 26: | ||
|Reward: {{icon|pumpkin}} x1, 300 Councils, 50 Favor}} | |Reward: {{icon|pumpkin}} x1, 300 Councils, 50 Favor}} | ||
</pre> | </pre> | ||
− | {{Spoiler|Reward for Contacting Melandria's Brother | + | {{Spoiler|Reward for Contacting Melandria's Brother| |
− | |Reward: {{icon|pumpkin}} x1, 300 Councils, 50 Favor}} | + | {{Quote|Thank you so much for your help! Here, have a pumpkin.}} |
+ | Reward: {{icon|pumpkin}} x1, 300 Councils, 50 Favor}} | ||
[[Category:Formatting templates|Spoiler]] | [[Category:Formatting templates|Spoiler]] | ||
</noinclude> | </noinclude> |
Revision as of 16:11, 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
Reward: Pumpkin x1, 300 Councils, 50 Favor“Thank you so much for your help! Here, have a pumpkin.