Template:File info: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|wiki=Category:Pikipedia images}}" to "|wiki=Category:Pikipedia images }}") |
No edit summary |
||
Line 47: | Line 47: | ||
|}<includeonly>{{#if:{{{nocat|}}}|| | |}<includeonly>{{#if:{{{nocat|}}}|| | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
|screenshot=[[Category:Screenshots]] | |screenshot=[[Category:Screenshots]] | ||
|artwork={{file info/cat|{{{game}}}|artwork}} | |artwork={{file info/cat|{{{game}}}|artwork}} | ||
|render={{file info/cat|{{{game}}}|renders}} | |||
|diorama={{file info/cat|{{{game}}}|dioramas}} | |||
|sketch={{file info/cat|{{{game}}}|sketches}} | |||
|flatart={{file info/cat|{{{game}}}|flat art}} | |||
|clayart={{file info/cat|{{{game}}}|clay art}} | |||
|enemyart={{file info/cat|{{{game}}}|enemy art}} | |||
|treasureart={{file info/cat|{{{game}}}|treasure art}} | |||
|conceptart={{file info/cat|{{{game}}}|concept art}} | |||
|wallpaper={{file info/cat|{{{game}}}|wallpapers}} | |||
|boxart=[[Category:Boxart images]] | |boxart=[[Category:Boxart images]] | ||
|texture=[[Category:Textures]] | |texture=[[Category:Textures]] | ||
|audio=[[Category:Audio]] | |audio=[[Category:Audio]] | ||
|logo=[[Category:Logos]] | |logo=[[Category:Logos]] | ||
|map=[[Category:Maps]] | |map=[[Category:Maps]] | ||
|icon=[[Category:Icons]] | |icon=[[Category:Icons]] | ||
|merch=[[Category:Merchandise images]] | |merch=[[Category:Merchandise images]] | ||
|promo=[[Category:Promotional material]] | |promo=[[Category:Promotional material]] | ||
|real=[[Category:Real-world images]] | |real=[[Category:Real-world images]] | ||
|user=[[Category:User images]] | |user=[[Category:User images]] | ||
|wiki=[[Category:Pikipedia images]] | |wiki=[[Category:Pikipedia images]] | ||
}} | |||
{{#switch:{{{type|}}} | |||
|artwork|render|diorama|sketch|flatart|clayart|enemyart|treasureart|conceptart|wallpaper= | |||
|#default=[[Category:{{file info/game|{{{game}}}}} 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> | |||
==Info== | ==Info== |
Revision as of 21:21, March 5, 2023
File 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 | Purpose | Default | 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:
| |
version | No | Software version | Version of the software that the screenshot is from, if applicable. This can be the number version, or platform (e.g. Android or iOS for Pikmin Bloom). | |
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 = |version = |location = |source = |license = |nocat = }}
Examples
Code | Result | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{file info |summary = An image with content. |type = screenshot |game = p3 |version = 2.0.0 |location = Garden of Hope }} |
|