Difference between revisions of "Template:Infobox/Yu-Gi-Oh!/Episode"

From Yugipedia
Jump to: navigation, search
(Right, won't display, I think.)
(The screenshot property is not being recorded. It might be an issue with putting SMW properties inside Portable Infobox tags.)
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>
+
}}{{ #if: {{{image name|}}} | [[Screenshot::{{{image name}}}| ]] }}</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 11: Line 11:
 
<title source="japanese translated"><format>''<span title="Translated from Japanese">{{{japanese translated}}}</span>''</format></title>
 
<title source="japanese translated"><format>''<span title="Translated from Japanese">{{{japanese translated}}}</span>''</format></title>
 
<image>
 
<image>
    <default>[[File:{{PAGENAME:{{{image name}}}}}|link=File:{{PAGENAME:{{{image name}}}}}|]][[Screenshot::{{{image name}}}| ]]</default>
+
    <default>[[File:{{PAGENAME:{{{image name}}}}}|link=File:{{PAGENAME:{{{image name}}}}}|]]</default>
 
    <caption source="image caption"/>
 
    <caption source="image caption"/>
 
    <alt source="name"><default>{{PAGENAME}}</default></alt>
 
    <alt source="name"><default>{{PAGENAME}}</default></alt>
    </image>
+
</image>
 
<image source="image"/>
 
<image source="image"/>
 
<group>
 
<group>

Revision as of 17:47, 21 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>Staff</header> <label>Screenwriter</label>

   	<label>Director</label>
   	<label>Storyboard artist</label>
   	<label>Animation director</label>
   	<label>Mechanical animation director</label>
   	<label>Prop designer</label>
   	<label>Art director</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>