Template:Spoiler

Usage
There are three parameters used: warnFor, articleSpoiler and para.


 * warnFor adds the topic that is being spoiled at the end of the first sentence. You should write the topic without the word "for", as it is added automatically (Examples 1 and 2).
 * articleSpoiler should have either "yes" or "no" as the parameter. It is case-insensitive.
 * If "yes" is provided (Example 2) or the parameter is empty (Example 3), it shows a spoiler for articles.
 * If "no" is provided, then it shows a spoiler for article sections (Example 1).
 * For section spoilers, the parameter para can be used to hide a paragraph (Example 4). If this parameter is used under article spoilers, nothing happens.
 * If all parameters mentioned here are empty, the template defaults to an article spoiler (Example 3).

Syntax
Example 1 (Section spoiler):

Example 2 (Article spoiler):

Example 3:

Example 4 (Section spoiler): {{Spoiler
 * warnFor = the franchise
 * articleSpoiler = No
 * para =

Header
This is a placeholder paragraph. This paragraph is meant to be an example and serves as a placeholder. }}

Examples
Example 1 (Section spoiler):

Example 2 (Article spoiler):

Example 3 (no parameters filled):

Example 4 (Section spoiler): {{Spoiler|warnFor = the franchise|articleSpoiler=No|para =

Header
This is a placeholder paragraph. This paragraph is meant to be an example and serves as a placeholder.}}