Jump to content

Template:Spoilers: Difference between revisions

From Worm Wiki
MugaSofer (talk | contribs)
Created page with "<div name="Cleanup notice" class="boilerplate metadata" id="delete" style="background-color:#222; margin:1em; padding:0 10px; border:1px solid #aaa;"> '''WARNING:''' This {{#s..."
Tag: sourceedit
 
MugaSofer (talk | contribs)
No edit summary
Tag: sourceedit
Line 1: Line 1:
<div name="Cleanup notice" class="boilerplate metadata" id="delete" style="background-color:#222; margin:1em; padding:0 10px; border:1px solid #aaa;">
<div name="Spoiler notice" class="boilerplate metadata" id="delete" style="background-color:#222; margin:1em; padding:0 10px; border:1px solid #aaa;">
'''WARNING:''' This {{#switch:{{NAMESPACE}}|File=file or image|Template=template|article}} contains <strong style="color:red; font-size:120%">MAJOR SPOILERS</strong> relating to  
'''WARNING:''' This {{#switch:{{NAMESPACE}}|File=file or image|Template=template|article}} contains <strong style="color:red; font-size:120%">MAJOR SPOILERS</strong> relating to  
{{#if:{{{reason|{{{1|}}}}}}|
{{#if:{{{reason|{{{1|}}}}}}|
{{{reason|{{{1|}}}}}}|some of the most pivotal parts of Worm}}. Although all articles may contain spoilers, this article <strong font-size:120%">'''will reveal major plot twists'''</strong> and should almost certainly be avoided unless you have finished the story.
{{{reason|{{{1|}}}}}}|some of the most pivotal parts of Worm}}. Although all articles may contain spoilers, this article <strong font-size:120%">'''will reveal major plot twists'''</strong> and should almost certainly be avoided unless you have finished the story.
</div><includeonly>[[Category:{{#switch:{{NAMESPACE}}|File=Files|Template=Templates|articles}} in need of cleanup]]</includeonly><noinclude>
</div><includeonly>[[Category:spoilers]]</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 21:40, May 19, 2016

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to mark pages that contain really major, plot-shattering spoilers.
Syntax
Type {{spoilers{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} on a page that really needs a spoiler warning.
...or...
Type {{spoilers{{#ifeq: reason|---|||<reason>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}, if you want to include details of what part of the story is being spoiled.
...or...
Type {{spoilers{{#ifeq: reason|---|||<reason>}}{{#ifeq: link=yes|---|||<link=yes>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}, if you want to include details and a link to the spoiler-free version of the page.
Sample output
{{spoilers{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} gives...
{{spoilers|the death of Taylor's sled}} gives...
{{spoilers|the death of Taylor's sled|link=yes}} gives...

Visit Template:Spoilers/doc to edit this text! (How does this work?)