Changes

Jump to: navigation, search

Template:Spoiler

1,008 bytes added, 13:58, 21 September 2020
m
no edit summary
<abbr div class="mw-collapsible mw-collapsed">'''{{{1|Spoiler!}}}'''<div class="mw-collapsible-content" style="fontpadding-weight:bold;colorleft:#C441em;" title=">{{{12|Spoiler text.}}}</div></div><noinclude>==Description==Use this template to add a spoiler box to a page (Also see [[Template:Hint text]]).
will not <!-- This template replaces the tag provided by the <nowiki><spoiler></nowiki> extension. Originally it was intended to allow using tables (which the extension doesn't) but it turned out the template doesn't allow for it either. Still, it is recommended to usethis template as we have more freedom to restyle it or change its behavior down the line if we want to. -->This template allows for formatting of spoiler content.====Known issues====linebreaks.}}}* <span style="color:red">SPOILERTables may or may not be formatted inside the template.</abbrspan><noinclude>Suggest using definition lists as a workaround.== Description Examples==A basic spoiler like this may be better replaced with [[Template:Hint]]:<pre>{{Spoiler|Spoiler|Sarina's clothes are not outside, but inside the [[Boarded up Basement]] dungeon.}}</pre>{{Spoiler|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.
<pre>
{{Spoiler|<text>Reward for Contacting Melandria's Brother|Reward: {{Item|Pumpkin}} x1, 300 Councils, 50 Favor}}
</pre>
Use this template to add hints and spoilers to a page. The spoiler is hidden in a tooltip.{{Spoiler|Reward for Contacting Melandria's Brother| Try to summarize the spoiler text{{Quote|Thank you so much for your help! Here, because it won't use linebreaks or any formattinghave a pumpkin.}} <span style="colorReward:red">Use single quotes instead of double quotes because the text is inserted in a html attribute!</span> === Parameters ===None.{{Item|Pumpkin}} x1, 300 Councils, 50 Favor}}
[[Category:Formatting templates|Spoiler]]
</noinclude>

Navigation menu