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"
Jump to navigation
Jump to search
Frostedfire (talk | contribs) m (oops, saved to the wrong file :() |
m (copy&pasting mishap) |
||
(18 intermediate revisions by 7 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%; | + | <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;" | [[ | + | | 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, | + | | 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
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.