Template:File info: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Added Pikmin 3 Deluxe.) |
||
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}} | npcp1={{npcp1}} | npcp2={{npcp2}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | ssbu={{ssbu}} | psm={{psm}} }} }} }} | {{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1={{p1}} | p2={{p2}} | p3={{p3}} | hp={{hp}} | npcp1={{npcp1}} | npcp2={{npcp2}} | p3d={{p3d}} | pa={{pa}} | ssbb={{ssbb}} | ssb4={{ssb4}} | ssbu={{ssbu}} | psm={{psm}} }} }} }} | ||
|- | |- | ||
{{#if:{{{location|}}} | !Location | {{#if:{{{location|}}} | !Location | ||
Line 21: | Line 21: | ||
|}<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]] | merch=[[Category:Merchandise images]] | 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]] | merch=[[Category:Merchandise images]] | 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]] | hp=[[Category:Hey! Pikmin 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]] | 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]]}}}}}} | ||
}}{{#switch:{{{type|}}} | merch | real | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}{{#if:{{{summary|}}}|{{#description2:{{{summary}}}}}}}</includeonly><noinclude> | }}{{#switch:{{{type|}}} | merch | real | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}{{#if:{{{summary|}}}|{{#description2:{{{summary}}}}}}}</includeonly><noinclude> | ||
Line 55: | Line 55: | ||
* hp: ''Hey! Pikmin''. | * hp: ''Hey! Pikmin''. | ||
* npcp1 - npcp2: The ''New Play Control!'' titles. | * npcp1 - npcp2: The ''New Play Control!'' titles. | ||
* p3d: ''Pikmin 3 Deluxe''. | |||
* pa: ''Pikmin Adventure''. | * pa: ''Pikmin Adventure''. | ||
* ssbb: ''Super Smash Bros. Brawl''. | * ssbb: ''Super Smash Bros. Brawl''. |
Revision as of 13:30, August 5, 2020
Image information | |
---|---|
Summary | |
Type | |
License | This file has been given an invalid license parameter. Remove the parameter entirely for the game/media copyrighted fair use license to be displayed, or see Template:License for a list of valid license parameters and either fix the parameter or add a new license, if needed. Until then, fair use is assumed. |
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.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
summary | Yes | File summary | A brief explanation of what the image or sound is; what it contains, and what it is used for. | |
type | Yes | Content type | What type of content this is. This will automatically determine some other things. Can be one of the following:
| |
game | No | Game | The game this file is about (or the Short Movies). Can be one of the following:
| |
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. | |
source | No | File source | If this file was created by the user, type "self". If it was obtained off a website, type its URL here, formatted or not. | |
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 {{license}}. | |
nocat | No | No categorization | If this has a value, like "y", then the template will not automatically categorize the file. |
Skeleton
{{file info |summary = |type = |game = |location = |source = |license = |nocat = }}
Examples
Code | Result | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{file info |summary = An image with content. |type = screenshot |game = p3 |location = Garden of Hope }} |
|