Imperialhare (talk | contribs) No edit summary Tag: 2017 source edit |
Imperialhare (talk | contribs) No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
=== Template definition === | |||
<pre>{{Spoiler block | |||
| spoiling = | |||
| theme = | |||
| text = | |||
}}</pre> | |||
=== Usage example === | === Usage example === | ||
{{Spoiler Block | {{Spoiler Block | ||
| spoiling=Autumn in Hieron | | spoiling=Autumn in Hieron | ||
| | | theme=aih | ||
| text=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}} | | text=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}} | ||
<pre>{{Spoiler Block | <pre>{{Spoiler Block | ||
Line 13: | Line 20: | ||
{ | { | ||
"params": { | "params": { | ||
"spoiling": { | "spoiling": { | ||
"label": "Spoilers for", | "label": "Spoilers for", | ||
"description": "What season/episode/arc this is a | "description": "What season/episode/arc this is a spoiler for.", | ||
"example": "the COUNTER/Weight finale", | "example": "the COUNTER/Weight finale", | ||
"required": true | "required": true | ||
Line 36: | Line 31: | ||
"example": "Darth Vader is Luke's father. Sorry it seemed silly to use a FatT example here", | "example": "Darth Vader is Luke's father. Sorry it seemed silly to use a FatT example here", | ||
"required": true | "required": true | ||
}, | |||
"theme": { | |||
"label": "Theme (season)", | |||
"description": "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.", | |||
"example": "aih", | |||
"default": "Defaults to placeholder FatT logo and default color of the wiki.", | |||
"suggested": true | |||
} | } | ||
}, | }, |
Revision as of 03:18, 17 July 2022
Template definition
{{Spoiler block | spoiling = | theme = | text = }}
Usage example
This section contains spoilers for Autumn in Hieron.
Click here to reveal.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Spoiler Block | spoiling=Autumn in Hieron | season=aih | text=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
Page Template:Spoiler Block/style.css has no content.
This template is used to hide spoilers. Readers can click on the spoiler warning to reveal the spoiler text. They can click on the image again to re-hide the spoiler.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Spoilers for | spoiling | What season/episode/arc this is a spoiler for.
| Unknown | required |
Spoiler text | text | The hidden spoiler text.
| Unknown | 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.
| Unknown | suggested |