PathfinderWiki
Log in

Difference between revisions of "Template:Spoiler/doc"

From PathfinderWiki
m (Update usage, add example)
m (-)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
'''{{tl|Spoiler}}''' is a {{tl|Notice}} box specialized for sections containing spoilers.
 +
 
== Usage ==
 
== Usage ==
  
Line 28: Line 30:
 
| image      = [[File:Spoiler.svg|x64px]]
 
| image      = [[File:Spoiler.svg|x64px]]
 
| headline  = <span style="color: Red; font-size: 1.25em;">SPOILER ALERT!</span>
 
| headline  = <span style="color: Red; font-size: 1.25em;">SPOILER ALERT!</span>
| text      = This section contains possible spoilers for the following products:<br>''''[[The Confirmation]]''''
+
| text      = This section contains possible spoilers for the following products:<br>'''''[[The Confirmation]]'''''
| categories = [[Category:Articles containing spoilers]]
+
| categories =  
 
}}
 
}}
  

Latest revision as of 00:25, 20 December 2018

{{Spoiler}} is a {{Notice}} box specialized for sections containing spoilers.

Usage

To add a spoiler warning badge and optional banner on an article, use {{Badges|spoiled}} instead.

To use the spoiler tag, enter the following at the top of a section:

{{Spoiler| [[ Link | Link Text (as needed)]] | section/article/image, etc. (defaults to article)}}

If a single adventure or book is spoiled by an article, list only that product, but include a link to a full series if a spoiler affects more than a single source.

Example

=== How to join the Pathfinder Society ===

{{Spoiler|''[[The Confirmation]]''|section}}

...
results in

How to join the Pathfinder Society

Spoiler.svg

SPOILER ALERT!
This section contains possible spoilers for the following products:
The Confirmation

...

Categories

Adding this template to an article automatically places the article in Category:Articles containing spoilers.