Template:Spoilers: Difference between revisions
Jump to navigation
Jump to search
m (second commit due to MediaWiki bugs) |
Homerun-chan (talk | contribs) (Added a "margin" property so that the spoiler tags don't go through thumbnails) |
||
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;"> | <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]]|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]]|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 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 all the latest media released.}}</div></includeonly> |
Revision as of 21:43, 10 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