Template:File info: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
(13 intermediate revisions by 4 users not shown)
Line 24: Line 24:
|map=Map
|map=Map
|icon=Icon
|icon=Icon
|merch=[[Merchandise]] image  
|merch=[[Merchandise]] image
|promo=Promotional image  
|promo=Promotional image
|real=Real world image  
|real=Real world image
|user=[[Help:Files#User images|User image]]  
|user=[[Help:Files#User images|User image]]
|wiki=Wiki image
|wiki=Wiki image
}}
}}
|-
|-
{{#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}} | p4={{p4}} | 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}} | p1s={{p1s}} | p1+2={{p1+2}} | npcp2={{npcp2}} | p2s={{p2s}} | p3d={{p3d}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | ssbu={{ssbu}} | psm={{psm}} }} }} }}
|-
|-
{{#if:{{{version|}}} | !Version
{{#if:{{{version|}}} | !Version
Line 44: Line 44:
|-
|-
!License
!License
| {{license | {{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
| {{license | {{#if:{{{license|}}}|{{{license}}}|game}} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||
|}<includeonly>{{#if:{{{nocat|}}}||
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
Line 70: Line 70:
|wiki=[[Category:Pikipedia images]]
|wiki=[[Category:Pikipedia images]]
}}
}}
{{#switch:{{{type|}}}
[[Category:{{file info/game|{{{game}}}}} images]]
|artwork|render|diorama|sketch|flatart|clayart|enemyart|treasureart|conceptart|wallpaper=
{{#if:{{{location|}}}|{{#ifeq:{{{location}}}|Story mode cave|[[Category:Cave images]]|{{#ifeq:{{{game}}}-{{{location|}}}|Pikmin 4-Cave|[[Category:Pikmin 4 cave images]]|{{#ifeq:{{{location}}}|N/A||[[Category:{{{location}}} images]]}}}}}}}}}}
|#default=[[Category:{{file info/game|{{{game}}}}} images]]
{{#if:{{{summary|}}}|{{#seo:description={{{summary}}}}}|[[Category:Files with no summary]]}}</includeonly><noinclude>
}}
{{#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>


==Info==
==Info==
This template should be used for all files on the "Files:" namespace. It presents some information about the file, both in terms of content and metadata. It also automatically categorizes the image.
This template should be used for all files on the "File:" namespace. It presents some information about the file, both in terms of content and metadata. It also automatically categorizes the image.


==Parameters==
==Parameters==
Line 119: Line 115:
* pb: ''Pikmin Bloom''.
* pb: ''Pikmin Bloom''.
* npcp1 - npcp2: The ''New Play Control!'' titles.
* npcp1 - npcp2: The ''New Play Control!'' titles.
* p1s - p2s: The ''Pikmin 1'' and ''2'' [[Nintendo Switch]] ports.
* p1+2: The ''Pikmin 1+2'' bundle.
* p3d: ''Pikmin 3 Deluxe''.
* p3d: ''Pikmin 3 Deluxe''.
* pa: ''Pikmin Adventure''.
* pa: ''Pikmin Adventure''.
Line 131: Line 129:
|-
|-
! location
! location
| No || Location ||  || In-game location that this file pertains to. Write the full name of the area, but if it's in a cave or in a level exclusive to an alternative game mode, do not fill this in. Files with no license set (automatically or otherwise) get categorized in [[:Category:Files with no license]].
| No || Location ||  || In-game location that this file pertains to. Write the full name of the area, but if it's in a cave or in a level exclusive to an alternative game mode, do not fill this in.
|-
|-
! source
! source
Line 137: Line 135:
|-
|-
! license
! license
| No || License ||  || If it cannot be deduced automatically from the content type, the license must be added here. This is the same parameter you would feed into {{tem|license}}.
| No || License ||  || For anything other than game/media copyrighted fair use, the license must be added here. This is the same parameter you would feed into {{tem|license}}.
|-
|-
! nocat
! nocat