Jump to content

Template:Spoilers: Difference between revisions

From Twig Wiki
FossilLord (talk | contribs)
Created page with "<div name="Spoiler notice" class="boilerplate metadata" id="delete" style="text-align: center; background-color:#222; margin:1em; padding:0 10px; border:1px solid #f00;"> ''"I..."
 
No edit summary
Tag: visualeditor-wikitext
 
Line 4: Line 4:
This {{#switch:{{NAMESPACE}}|File=file or image|Template=template|article}} contains <strong style="color:red">MAJOR SPOILERS</strong> relating to  
This {{#switch:{{NAMESPACE}}|File=file or image|Template=template|article}} contains <strong style="color:red">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 {{#if:{{{link|{{{2|}}}}}}|will reveal major plot twists|<strong font-size:120%">'''will reveal major plot twists'''</strong>}} and should almost certainly be avoided unless you have finished the story. {{#if:{{{link|{{{2|}}}}}}|
{{{reason|{{{1|}}}}}}|some of the most pivotal parts of Twig}}. Although all articles may contain spoilers, this article {{#if:{{{link|{{{2|}}}}}}|will reveal major plot twists|<strong font-size:120%">'''will reveal major plot twists'''</strong>}} and should almost certainly be avoided unless you have finished the story. {{#if:{{{link|{{{2|}}}}}}|
  Click [[{{PAGENAME}}/Spoiler-free|'''here''']] to visit a redacted version, although it '''will still contain minor spoilers'''. |}}
  Click [[{{PAGENAME}}/Spoiler-free|'''here''']] to visit a redacted version, although it '''will still contain minor spoilers'''. |}}
</div><includeonly>[[Category:spoilers]]</includeonly><noinclude>
</div><includeonly>[[Category:spoilers]]</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 21:14, May 24, 2023

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Spoilers/doc to edit this documentation. (How does this work?)
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...