Difference between revisions of "Template:SeasonItem"

From Detective Conan Wiki
(No it does not. Not like that at least. :C)
(Let's try this nested statement.)
Line 3: Line 3:
 
| style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#E9F0D8; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{#if:{{{pnew|}}}|{{Plot New}}}}{{#if:{{{pchar|}}}|{{Plot Char}}}}{{#if:{{{promance|}}}|{{Plot Romance}}}}{{#if:{{{pbo|}}}|{{Plot BO}}}}{{#if:{{{pmk|}}}|{{Plot MK}}}}{{#if:{{{ppast|}}}|{{Plot Past}}}}{{#if:{{{pfbi|}}}|{{Plot FBI}}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#E9F0D8; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{#ifeq:{{{manga-source}}}|original|'''TV Original'''|{{{manga-source| }}}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#E9F0D8; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{next-conan-hint| }}}
 
| style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#E9F0D8; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{#if:{{{pnew|}}}|{{Plot New}}}}{{#if:{{{pchar|}}}|{{Plot Char}}}}{{#if:{{{promance|}}}|{{Plot Romance}}}}{{#if:{{{pbo|}}}|{{Plot BO}}}}{{#if:{{{pmk|}}}|{{Plot MK}}}}{{#if:{{{ppast|}}}|{{Plot Past}}}}{{#if:{{{pfbi|}}}|{{Plot FBI}}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#E9F0D8; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{#ifeq:{{{manga-source}}}|original|'''TV Original'''|{{{manga-source| }}}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#E9F0D8; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{next-conan-hint| }}}
 
|-
 
|-
{{#ifeq:{{PAGENAME}}|Anime||
+
<!-- This bit of wiki code below is:
 +
switch statement: Pass value 1 if magic word Pagename equals "Anime" or "Rerun and Remastered Episodes list", otherwise pass value 0
 +
ifeq statement: If passed value is 1 then used condensed format, otherwise use expanded format
 +
-->
 +
{{#ifeq:{{#switch: PAGENAME | Anime = 1 | Rerun and Remastered Episodes list = 1 | 0 }}|1||
 
{{!}} colspan="8" style="padding:5px;" {{!}} {{#if:{{{summary|}}}|{{{summary}}}|No summary yet}}
 
{{!}} colspan="8" style="padding:5px;" {{!}} {{#if:{{{summary|}}}|{{{summary}}}|No summary yet}}
 
{{Plot
 
{{Plot

Revision as of 06:54, 1 February 2016

Displays an item of a season list.

Usage

The following is a list of required or optional parameters for any of the rows:

{{SeasonItem|<japanese episode>|<english episode>|<title>|<original airdate>|<US airdate>
| pnew                =    (Optional) Short description of which new character was introduced
| pchar               =    (Optional) Short description of what new character development occured
| promance            =    (Optional) Short description of what new development occurred regarding character romance
| pbo                 =    (Optional) Short description of why and how the Black Organization was involved in the episode
| pmk                 =    (Optional) Short description of what happened with Magic Kaito characters
| ppast               =    (Optional) Short description of what new information was revealed about a character's past
| pfbi                =    (Optional) Short description of what happened with FBI characters
| manga-source        =    (Optional) What Manga volume and file(s) the episode is based on.
                           Type "original" if it's a TV original episode.
| next-conan-hint     =    (Optional) Next Conan hint
| summary             =    (Optional) Short summary of the episode
| type                =    (Optional) Write (without the quotes) "remaster", "rerun" or "special" if the episode is in one of these categories. Leave it blank otherwise.
}}