Imperialhare (talk | contribs) (add css) Tag: 2017 source edit |
Imperialhare (talk | contribs) m (reduce size) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<table | <table | ||
class="spoiler-header border-color-{{#if:{{{theme|}}}|{{{theme}}}|primary}} bgcolor-{{#if:{{{theme|}}}|{{{theme}}}2|background}}" | class="spoiler-header border-color-{{#if:{{{theme|}}}|{{{theme}}}|primary}} bgcolor-{{#if:{{{theme|}}}|{{{theme}}}2|background}}" | ||
style="margin: auto | style="margin: auto; border-radius:5px; border-width: 2px; border-style: solid;"> | ||
<tr> | <tr> | ||
<td style="text-align:center; padding: 1em">[[File:warning.png|40px|middle]]</td> | <td style="text-align:center; padding: 1em">[[File:warning.png|40px|middle]]</td> |
Revision as of 17:14, 15 October 2022
Spoiler warning! This article contains major spoilers for [name of arc/episode/etc]. Tread carefully! |
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Empty template
{{ Spoiler header | section = | spoiling = | theme = }}
Usage example
Spoiler warning! This entire article contains major spoilers for the Marielda finale. Tread carefully! |
{{Spoiler header | section = entire article | spoiling = the Marielda finale | theme = marielda }}
This template is used to warn for spoilers (but doesn't actually hide any text). It can be inserted at the top of an article or somewhere in the middle.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Section | section | Indicate what section(s) of the page this spoiler warning applies to and it'll be inserted into the sentence. Defaults to "article".
| Unknown | suggested |
Spoilers for | spoiling | What season/arc/episode this is a spoiler for.
| String | required |
Theme (season) | theme | The season color theme you want to use. This automatically applies the season's cover art and wiki color. See [[Getting Started#Colors]] for a list of options.
| String | suggested |
1 | 1 | Use the "spoiling"/"spoilers for" parameter instead. | String | deprecated |