Template:File info: Difference between revisions

Official name.
(Further support.)
(Official name.)
Line 9: Line 9:
|-
|-
{{#if:{{{game|}}} | !Game
{{#if:{{{game|}}} | !Game
{{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1={{p1}} | p2={{p2}} | p3={{p3}} | p3ds={{p3ds}} | npcp1={{npcp1}} | npcp2={{npcp2}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | psm={{psm}} }} }} }}
{{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1={{p1}} | p2={{p2}} | p3={{p3}} | hp={{hp}} | npcp1={{npcp1}} | npcp2={{npcp2}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | psm={{psm}} }} }} }}
|-
|-
{{#if:{{{location|}}} | !Location
{{#if:{{{location|}}} | !Location
Line 22: Line 22:
<includeonly>{{#if:{{{nocat|}}}||
<includeonly>{{#if:{{{nocat|}}}||
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Boxart images]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | real=[[Category:Real world images]] | user=[[Category:User images]] | wiki=[[Category:Pikipedia images]]}}
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Boxart images]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | real=[[Category:Real world images]] | user=[[Category:User images]] | wiki=[[Category:Pikipedia images]]}}
{{#switch:{{{game}}} | p1|npcp1=[[Category:Pikmin 1 images]] | p2|npcp2=[[Category:Pikmin 2 images]] | p3=[[Category:Pikmin 3 images]] | p3ds=[[Category:Pikmin for Nintendo 3DS images]] | pa=[[Category:Pikmin Adventure images]] | psm=[[Category:Pikmin Short Movies images]] | #default=[[Category:Non-Pikmin images]]}}
{{#switch:{{{game}}} | p1|npcp1=[[Category:Pikmin 1 images]] | p2|npcp2=[[Category:Pikmin 2 images]] | p3=[[Category:Pikmin 3 images]] | hp=[[Category:Hey! Pikmin images]] | pa=[[Category:Pikmin Adventure images]] | psm=[[Category:Pikmin Short Movies images]] | #default=[[Category:Non-Pikmin images]]}}
{{#if:{{{location|}}}|{{#ifeq:{{{location}}}|Story mode cave|[[Category:Cave images]]|{{#ifeq:{{{location}}}|N/A||[[Category:{{{location}}} images]]}}}}}}
{{#if:{{{location|}}}|{{#ifeq:{{{location}}}|Story mode cave|[[Category:Cave images]]|{{#ifeq:{{{location}}}|N/A||[[Category:{{{location}}} images]]}}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 53: Line 53:
| No || Game ||  || The game this file is about (or the [[Pikmin Short Movies|Short Movies]]). Can be one of the following:
| No || Game ||  || The game this file is about (or the [[Pikmin Short Movies|Short Movies]]). Can be one of the following:
* p1 - p3: ''Pikmin'' to ''Pikmin 3''.
* p1 - p3: ''Pikmin'' to ''Pikmin 3''.
* p3ds: ''Pikmin for Nintendo 3DS''.
* hp: ''Hey! Pikmin''.
* npcp1 - npcp2: The ''New Play Control!'' titles.
* npcp1 - npcp2: The ''New Play Control!'' titles.
* pa: ''Pikmin Adventure''.
* pa: ''Pikmin Adventure''.