Template:Spoilers: Difference between revisions
Jump to navigation
Jump to search
(make syntax for spoiling other media) |
m (second commit due to MediaWiki bugs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="border: 1px solid #c90209; border-left: 5px solid #c90209; padding: 7px 10px; margin-bottom: 1em; background: #fff; {{#if: {{{margin}}}| margin-right: {{{margin}}}}}"> | <div style="border: 1px solid #c90209; border-left: 5px solid #c90209; padding: 7px 10px; margin-bottom: 1em; background: #fff; {{#if: {{{margin}}}| margin-right: {{{margin}}}}}"> | ||
<span style="font-size:1.1em; display: block;">'''This section may contain major {{#switch: {{{media}}}|anime=spoilers for the anime|kazumi=spoilers for the [[Kazumi Magica]] manga|oriko=spoilers for the [[Oriko Magica]] manga|manga=spoilers for the [[Madoka Magica (manga)|manga version of Madoka Magica]]|{{#if:{{{for}}}|spoilers for {{{for}}}|spoilers}}}}!'''</span> | <span style="font-size:1.1em; display: block;">'''This section may contain major {{#switch: {{{media}}}|anime=spoilers for the anime|kazumi=spoilers for the [[Kazumi Magica]] manga|oriko=spoilers for the [[Oriko Magica]] manga|manga=spoilers for the [[Madoka Magica (manga)|manga version of Madoka Magica]]|{{#if: {{{for|}}}|spoilers for {{{for}}}|spoilers}}}}!'''</span> | ||
Please refrain from reading if you {{#switch: {{{media}}}|anime=haven't watched {{#if: {{{episode|}}} | [[Episode {{{episode}}}]] | the latest episode}} yet.|kazumi|oriko|manga=haven't read {{#if: {{{chapter|}}} | Chapter {{{chapter}}} | the latest chapter}} yet.|are not yet familiar with {{#if:{{{for}}}|it|all the latest media released}}.}}</div></includeonly> | Please refrain from reading if you {{#switch: {{{media}}}|anime=haven't watched {{#if: {{{episode|}}} | [[Episode {{{episode}}}]] | the latest episode}} yet.|kazumi|oriko|manga=haven't read {{#if: {{{chapter|}}} | Chapter {{{chapter}}} | the latest chapter}} yet.|are not yet familiar with {{#if:{{{for|}}}|it|all the latest media released}}.}}</div></includeonly> | ||
<noinclude> | <noinclude> | ||
== Default behavior == | == Default behavior == | ||
Line 37: | Line 37: | ||
;oriko | ;oriko | ||
:Oriko Magica | :Oriko Magica | ||
== Other media == | |||
You can also not use "media", but "for" to include spoilers for anything else: | |||
{{spoilers|for=[[Drama CD 1]]}} | |||
<pre>{{spoilers|for=[[Drama CD 1]]}}</pre> | |||
[[Category:Templates|Spoilers]]</noinclude> | [[Category:Templates|Spoilers]]</noinclude> |
Latest revision as of 13:15, 15 May 2011
Default behavior
This section may contain major spoilers!
Please refrain from reading if you are not yet familiar with all the latest media released.{{spoilers}}
Anime
Without episode notice
This section may contain major spoilers for the anime!
Please refrain from reading if you haven't watched the latest episode yet.{{spoilers|media=anime}}
With episode notice
This section may contain major spoilers for the anime!
Please refrain from reading if you haven't watched Episode 10 yet.{{spoilers|media=anime|episode=10}}
Manga
Specifying the manga, without the chapter
This section may contain major spoilers for the Kazumi Magica manga!
Please refrain from reading if you haven't read the latest chapter yet.{{spoilers|media=kazumi}}
Series and chapter
This section may contain major spoilers for the manga version of Madoka Magica!
Please refrain from reading if you haven't read Chapter 2 yet.{{spoilers|media=manga|chapter=2}}
Arguments for "media":
- anime
- the anime series. Can take "episode" as a parameter for the notice
- manga
- the official PMMM manga. Can take "chapter" as a parameter, like all other manga series
- kazumi
- Kazumi Magica
- oriko
- Oriko Magica
Other media
You can also not use "media", but "for" to include spoilers for anything else:
This section may contain major spoilers for Drama CD 1!
Please refrain from reading if you are not yet familiar with it.{{spoilers|for=[[Drama CD 1]]}}