v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Spoiler"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(that ruins image was created specifically for that one purpose. Unique images are handy.)
m (copy&pasting mishap)
 
(20 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| style="margin: 0 10%; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #ff0000; width:80%; margin-bottom: 800px"
+
<div class="df-major-spoiler" style="min-height:{{#if:{{{nospace<includeonly>|</includeonly>}}}|50px|800px}}">
 +
{| style="margin: 0 10%; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #ff0000; width:80%;"
 
|-
 
|-
| style="padding: 0.5em 0 0.5em 0.5em; text-align: center;" | [[Image:Spoiler_be3406.png]]
+
| style="padding: 0.5em 0 0.5em 0.5em; text-align: center;" | [[File:Spoiler2010.png|link=]]
| style="padding: 0.25em 0.5em; width: 100%;" | This article contains '''massive spoilers'''.  If you do not wish to have your game experience spoiled, press the Back button in your browser and do not scroll down!
+
| style="padding: 0.25em 0.5em; width: 100%;" | This article contains '''massive spoilers'''.  If you do not wish to have your game experience spoiled, '''do not {{#if:{{{redirect|}}}|follow the link below|scroll down}}'''!
|}<noinclude>
+
|}{{{filler|}}}{{Category|Spoilers}}</div><noinclude>
 +
 
 +
== Usage ==
 +
 
 +
<code><nowiki>{{spoiler}}</nowiki></code> - Tags the page as spoiler and adds it to [[:Category:Spoilers]] per namespace version.
 +
 
 +
<code><nowiki>{{spoiler|nospace=whatever}}</nowiki></code> - Same but without the gap.
 +
 
 +
==See also==
 +
* [[Template:Minorspoiler]]
  
 
[[Category:Templates]][[Category:Warnings]]</noinclude>
 
[[Category:Templates]][[Category:Warnings]]</noinclude>

Latest revision as of 20:27, 29 January 2022

Spoiler2010.png This article contains massive spoilers. If you do not wish to have your game experience spoiled, do not scroll down!

Usage[edit]

{{spoiler}} - Tags the page as spoiler and adds it to Category:Spoilers per namespace version.

{{spoiler|nospace=whatever}} - Same but without the gap.

See also[edit]