Difference between revisions of "Template:SeasonItem"

From Detective Conan Wiki
m (Test rerun)
(Sorry, last trial, I vow)
 
(52 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
| style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#FF0000; | background:#f2fde9; }} "|{{{1|}}} || style="text-align:center; {{#if:{{{remaster|}}}|background:#efead7;|background:#f2fde9;}}"|{{{2|}}} || style="{{#if:{{{remaster|}}}|background:#efead7;|background:#f2fde9;}}"|{{{3|}}} || style="text-align:center; {{#if:{{{remaster|}}}|background:#efead7;|background:#f2fde9;}}"|{{{4|}}} || style="text-align:center; {{#if:{{{remaster|}}}|background:#efead7;|background:#f2fde9;}}"|{{{5|}}}  
+
| style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }} "|{{{1|}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{2|}}} || style="{{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{3|}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{4|}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{5|}}}  
| style="text-align:center; {{#if:{{{remaster|}}}|background:#efead7;|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; {{#if:{{{remaster|}}}|background:#efead7;|background:#f2fde9;}}"|{{#ifeq:{{{manga-source}}}|original|'''TV Original'''|{{{manga-source|&nbsp;}}}}} || style="text-align:center; {{#if:{{{remaster|}}}|background:#efead7;|background:#f2fde9;}}"|{{{next-conan-hint|&nbsp;}}}
+
| style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | 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}}}}{{#if:{{{phh|}}}|{{Plot HH}}}}{{#if:{{{pdb|}}}|{{Plot DB}}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{#ifeq:{{{manga-source}}}|original|'''TV Original'''|{{{manga-source|&nbsp;}}}}} || style="text-align:center; {{#switch: {{{type}}} | remaster = background:#efead7; | rerun = background:#eef3d5; | special = background:#f0eeeb; | background:#f2fde9; }}"|{{{next-conan-hint|&nbsp;}}}
 
|-
 
|-
{{#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:{{#if:{{NAMESPACE}}|1|{{#switch: {{PAGENAME}} | Anime = 1 | Anime 01-20 = 1 | Anime 21-40 = 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
Line 11: Line 15:
 
|pchar    = {{{pchar|0}}}
 
|pchar    = {{{pchar|0}}}
 
|promance = {{{promance|0}}}
 
|promance = {{{promance|0}}}
 +
|phh      = {{{phh|0}}}
 +
|pdb      = {{{pdb|0}}}
 
|pbo      = {{{pbo|0}}}
 
|pbo      = {{{pbo|0}}}
 
|pmk      = {{{pmk|0}}}
 
|pmk      = {{{pmk|0}}}
Line 18: Line 24:
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="8" style="background: #5bbd53; height: 3px; padding:0px;" {{!}}
 
{{!}} colspan="8" style="background: #5bbd53; height: 3px; padding:0px;" {{!}}
{{!}}-}}</includeonly><noinclude>
+
{{!}}-}}
 +
</includeonly><noinclude>
 
Displays an item of a season list.
 
Displays an item of a season list.
  
 
== Usage ==
 
== Usage ==
 
 
The following is a list of required or optional parameters for any of the rows:
 
The following is a list of required or optional parameters for any of the rows:
 
<pre>
 
<pre>
 
{{SeasonItem|<japanese episode>|<english episode>|<title>|<original airdate>|<US airdate>
 
{{SeasonItem|<japanese episode>|<english episode>|<title>|<original airdate>|<US airdate>
| pnew               =    (Optional) Short description of which new character was introduced
+
| pnew             =    (Optional) Short description of which new character was introduced
| pchar               =    (Optional) Short description of what new character development occured
+
| pchar             =    (Optional) Short description of what new character development occured
| promance           =   (Optional) Short description of what new development occurred regarding character romance
+
| promance       = (Optional) Short description of what new development occurred regarding character romance
 +
| phh                =    (Optional) Short description of why and how Heiji Hattori was involved in the episode
 +
| pdb                =    (Optional) Short description of why and how Detective Boys were involved in the episode
 
| pbo                =    (Optional) Short description of why and how the Black Organization was involved in the episode
 
| 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
+
| 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
+
| 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
 
| pfbi                =    (Optional) Short description of what happened with FBI characters
| manga-source       =    (Optional) What Manga volume and file(s) the episode is based on.
+
| manga-source   =    (Optional) What Manga volume and file(s) the episode is based on. Type "original" if it's a TV original episode.
                          Type "original" if it's a TV original episode.
 
 
| next-conan-hint    =    (Optional) Next Conan hint
 
| next-conan-hint    =    (Optional) Next Conan hint
 
| summary            =    (Optional) Short summary of the episode
 
| summary            =    (Optional) Short summary of the episode
| remaster            =    (Optional) This will mark the episode as a remaster. Leave it blank for normal purposes.
+
| type                =    (Optional) Write (without the quotes) "remaster", "rerun" or "special" if the episode is in one of these categories. Leave it blank otherwise.
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 19:01, 8 March 2024

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
| phh                 =    (Optional) Short description of why and how Heiji Hattori was involved in the episode
| pdb                 =    (Optional) Short description of why and how Detective Boys were involved in the episode
| 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.
}}