Template:File info: Difference between revisions

Added Pikmin 4.
mNo edit summary
(Added Pikmin 4.)
Line 9: Line 9:
|-
|-
{{#if:{{{game|}}} | !id="fileinfotpl_aut"{{!}}Game
{{#if:{{{game|}}} | !id="fileinfotpl_aut"{{!}}Game
{{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1={{p1}} | p2={{p2}} | p3={{p3}} | hp={{hp}} | pb={{pb}} | npcp1={{npcp1}} | npcp2={{npcp2}} | p3d={{p3d}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | ssbu={{ssbu}} | psm={{psm}} }} }} }}
{{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1={{p1}} | p2={{p2}} | p3={{p3}} | p4={{p4}} | hp={{hp}} | pb={{pb}} | npcp1={{npcp1}} | npcp2={{npcp2}} | p3d={{p3d}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | ssbu={{ssbu}} | psm={{psm}} }} }} }}
|-
|-
{{#if:{{{version|}}} | !Version
{{#if:{{{version|}}} | !Version
Line 23: Line 23:
| {{license | {{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
| {{license | {{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}<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]] | merch=[[Category:Merchandise images]] | promo=[[Category:Promotional material]] | real=[[Category:Real-world images]] | user=[[Category:User images]] | wiki=[[Category:Pikipedia images]]}}
|}<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]] | merch=[[Category:Merchandise images]] | promo=[[Category:Promotional material]] | 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|p3d=[[Category:Pikmin 3 images]] | hp=[[Category:Hey! Pikmin images]] | pb=[[Category:Pikmin Bloom 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|p3d=[[Category:Pikmin 3 images]] | p4=[[Category:Pikmin 4 images]] | hp=[[Category:Hey! Pikmin images]] | pb=[[Category:Pikmin Bloom 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]]}}}}}}
}}{{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}{{#if:{{{summary|}}}|{{#seo:description={{{summary}}}}}}}</includeonly><noinclude>
}}{{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}{{#if:{{{summary|}}}|{{#seo:description={{{summary}}}}}}}</includeonly><noinclude>
Line 55: Line 55:
! game
! game
| 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 - p4: ''Pikmin'' to ''Pikmin 4''.
* hp: ''Hey! Pikmin''.
* hp: ''Hey! Pikmin''.
* pb: ''Pikmin Bloom''.
* pb: ''Pikmin Bloom''.