Difference between revisions of "Template:Infobox/Yu-Gi-Oh!/Episode"
BritishCynic (talk | contribs) m |
BritishCynic (talk | contribs) m |
||
Line 3: | Line 3: | ||
}}{{ #vardefine: $series | {{ #if: {{ #pos: {{ #var: $series }} | First }} | Yu-Gi-Oh! (first series) | {{ #var: $series }} }} | }}{{ #vardefine: $series | {{ #if: {{ #pos: {{ #var: $series }} | First }} | Yu-Gi-Oh! (first series) | {{ #var: $series }} }} | ||
}}{{ #vardefine: $number | {{ #iferror: {{ #expr: {{ #explode: {{ #var: $name }} || -1 }} }} | {{ #explode: {{ #var: $name }} || -1 }} }} | }}{{ #vardefine: $number | {{ #iferror: {{ #expr: {{ #explode: {{ #var: $name }} || -1 }} }} | {{ #explode: {{ #var: $name }} || -1 }} }} | ||
− | + | }}</includeonly><noinclude>Episode infoboxes are used for <section begin=for />episode pages<section end=for />.</noinclude><includeonly>{{#switch: {{NAMESPACE}} | = [[Category:{{ #var: $series }} episodes]]}}</includeonly><infobox> | |
<title><default>{{var|{{{title|}}}|{{PAGENAME}}}}{{{ref|}}}</default></title> | <title><default>{{var|{{{title|}}}|{{PAGENAME}}}}{{{ref|}}}</default></title> | ||
<title source="english"/> | <title source="english"/> | ||
Line 114: | Line 114: | ||
|[[{{ #var: $series }} - Episode {{padleft:{{#expr:{{ #var: $number }} + 1}}|3|0}}]] | |[[{{ #var: $series }} - Episode {{padleft:{{#expr:{{ #var: $number }} + 1}}|3|0}}]] | ||
}}</default></data> | }}</default></data> | ||
+ | </group> | ||
+ | <group> | ||
+ | <header>Gallery</header> | ||
+ | <data><default>{{#if:{{{featured card|}}}{{{one point cards|}}}{{{showcase cards|}}}{{#ifexist:Episode Card Galleries:{{Normalized pagename}} (JP)|1|{{#ifexist:Episode Card Galleries:{{Normalized pagename}} (INT)|1}}}}}}{{ #ifexist: Episode Card Galleries:{{Normalized pagename}} (JP) | [[Episode Card Galleries:{{Normalized pagename}} (JP)|Japanese]]<br/>}}{{ #ifexist: Episode Card Galleries:{{Normalized pagename}} (INT) | [[Episode Card Galleries:{{Normalized pagename}} (INT)|International]]}}</default></data> | ||
</group> | </group> | ||
</infobox><includeonly>{{#ifeq:{{{romanji|¬}}}|¬||[[Category:Pages using romanji]]}}</includeonly><noinclude>[[Category:Templates/Infobox|{{SUBPAGENAME}}]] | </infobox><includeonly>{{#ifeq:{{{romanji|¬}}}|¬||[[Category:Pages using romanji]]}}</includeonly><noinclude>[[Category:Templates/Infobox|{{SUBPAGENAME}}]] | ||
[[Category:Templates/Infobox/Yu-Gi-Oh!|{{SUBPAGENAME}}]]</noinclude> | [[Category:Templates/Infobox/Yu-Gi-Oh!|{{SUBPAGENAME}}]]</noinclude> |
Revision as of 11:53, 7 May 2017
Episode infoboxes are used for
episode pages
.<infobox>
<title><default>Infobox/Yu-Gi-Oh!/Episode</default></title>
<title source="english"/>
<title source="kanji">
<format>{{{kanji}}}
({{{romaji}}})</format>
</title>
<title source="japanese translated"><format>{{{japanese translated}}}</format></title>
<image>
<default>[[File:|link=File:|]]</default>
<alt source="name"><default>Infobox/Yu-Gi-Oh!/Episode</default></alt>
</image>
<image source="image"/> <group>
<label>Kanji</label>
<format>{{{kanji}}}{{{kanji}}}</format>
<label>Kanji (with Ruby)</label> <format>{{{ruby japanese}}}</format> <label>Rōmaji</label> <format>{{{romaji}}}</format> <label>Japanese translation</label>
<format>{{{japanese translated}}}</format>
<label>English</label>
<format>{{{english}}}</format>
<label>Alternate names</label> <label>Episode number</label> <default></default>
<label>Japanese air date</label>
<format>{{{japanese air date}}}</format>
<label>English air date</label>
<format>{{{english air date}}}</format>
<label>French air date</label>
<format>{{{french air date}}}</format>
<label>German air date</label>
<format>{{{german air date}}}</format> </group> <group> <header>Music</header>
<label>Japanese opening</label> <label>Japanese ending</label> <label>English opening</label> <label>English ending</label> <label>Italian opening</label> <label>Italian ending</label>
</group> <group> <header>Cards</header> </group> <label>Featured card</label> <format>Property "Featured card" (as page type) with input value "{{{featured card}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.[[{{{featured card}}}|]]</format> <label>One-point lesson cards</label> <format> </format> <label>Showcase cards</label> <format> </format> <group> <header>Staff</header>
<label>Screenplay</label> <label>Director</label> <label>Storyboard</label> <label>Animation director</label> <label>Mechanical animation director</label> <label>Art director</label> <label>Prop design</label>
</group> <group row-items="2"> <header>Chronology</header> <label>Episode listing</label><default>Some use of "" in your query was not closed by a matching "".</default> <label>Previous</label><default>N/ASome use of "" in your query was not closed by a matching "".</default> <label>Next</label><default>N/ASome use of "" in your query was not closed by a matching "".</default> </group> <group> <header>Gallery</header> <default></default> </group> </infobox>