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

From Yugipedia
Jump to: navigation, search
(deprecate {{{romanji}}})
(-romanji tracking)
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
{{!}} colspan=2 class="imagecell" {{!}}
 
{{!}} colspan=2 class="imagecell" {{!}}
 
{{#if:{{{image name|}}}
 
{{#if:{{{image name|}}}
| [[Image:{{{image name|}}}|{{var|{{{image size|}}}|300px}}|{{var|{{{image caption|}}}|{{var|{{{name|}}}|{{PAGENAME}}}}}}]]
+
| [[File:{{{image name|}}}|{{var|{{{image size|}}}|300px}}|{{var|{{{image caption|}}}|{{var|{{{name|}}}|{{PAGENAME}}}}}}]]{{ #if: {{{image caption|}}} | <br />{{{image caption}}} }}
 
| {{#if:{{{image|}}}|{{{image|}}}| }}
 
| {{#if:{{{image|}}}|{{{image|}}}| }}
 
}}
 
}}
Line 21: Line 21:
 
<span class="title other">{{{other|}}}</span>
 
<span class="title other">{{{other|}}}</span>
 
| }}
 
| }}
| }}{{
+
| }}<noinclude>
  #ifeq: {{{romanji|¬}}} | ¬ || [[Category:Pages using romanji|{{PAGENAME}}{{NAMESPACE}}]]
 
}}<noinclude>
 
 
|}
 
|}
  
 
==Example==
 
==Example==
 
{{Infobox/Yu-Gi-Oh!/Archetype/Start
 
{{Infobox/Yu-Gi-Oh!/Archetype/Start
| name                = Name
+
| name                = Name
| english              = English
+
| english              = English
| kanji                = Kanji
+
| kanji                = Kanji
| romaji              = Romaji
+
| romaji              = Romaji
| other                = Other
+
| other                = Other
| image name          =  
+
| image name          =  
| image size          =  
+
| image size          =  
| image caption        =  
+
| image caption        =  
| image                = <span class="center">Image</span>
+
| image                = <span class="center">Image</span>
| float                = none
+
| float                = none
| ref                  =  
+
| ref                  =  
 
}}
 
}}
 
{{Infobox/Yu-Gi-Oh!/Archetype/End}}
 
{{Infobox/Yu-Gi-Oh!/Archetype/End}}
  
[[Category:Templates/Infobox|{{SUBPAGENAME}}]]
+
[[Category:Templates/Infobox|Start]]
[[Category:Templates/Infobox/Yu-Gi-Oh!|{{SUBPAGENAME}}]]
+
[[Category:Templates/Infobox/Yu-Gi-Oh!|Start]]
 
[[Category:Templates/Infobox/Yu-Gi-Oh!/Archetype| 1]]</noinclude>
 
[[Category:Templates/Infobox/Yu-Gi-Oh!/Archetype| 1]]</noinclude>

Revision as of 17:30, 21 April 2017

Infobox/Yu-Gi-Oh!/Archetype/Start

Example

Name

Image

EnglishKanjiRomajiOther