Template:File info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="margin:1em auto" | <includeonly>{| class="wikitable" style="margin:1em auto" | ||
! colspan="2" | File information | ! colspan="2" | File information | ||
|- | |- | ||
Line 21: | Line 21: | ||
|texture=Texture | |texture=Texture | ||
|audio=Audio | |audio=Audio | ||
|video=Video | |||
|logo=Logo | |logo=Logo | ||
|map=Map | |map=Map | ||
Line 29: | Line 30: | ||
|user=[[Help:Files#User images|User image]] | |user=[[Help:Files#User images|User image]] | ||
|wiki=Wiki image | |wiki=Wiki image | ||
|#default=<span style="color:red">'''Error:''' Please enter a valid <code>type</code> parameter from [[Template:File info#Parameters|the list]].</span> | |||
}} | }} | ||
|- | |- | ||
Line 45: | Line 47: | ||
!License | !License | ||
| {{license | {{#if:{{{license|}}}|{{{license}}}|game}} | nocat={{{nocat|<noinclude>y</noinclude>}}} }} | | {{license | {{#if:{{{license|}}}|{{{license}}}|game}} | nocat={{{nocat|<noinclude>y</noinclude>}}} }} | ||
|} | |}{{#if:{{{nocat|}}}|| | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
|screenshot=[[Category:Screenshots]] | |screenshot=[[Category:Screenshots]] | ||
Line 61: | Line 64: | ||
|texture=[[Category:Textures]] | |texture=[[Category:Textures]] | ||
|audio=[[Category:Audio]] | |audio=[[Category:Audio]] | ||
|video=[[Category:Videos]] | |||
|logo=[[Category:Logos]] | |logo=[[Category:Logos]] | ||
|map=[[Category:Maps]] | |map=[[Category:Maps]] | ||
Line 75: | Line 79: | ||
==Info== | ==Info== | ||
This template should be used for all files | This template should be used for all files in 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 100: | Line 104: | ||
* texture: Game texture. | * texture: Game texture. | ||
* audio: Game audio. | * audio: Game audio. | ||
* video: Game video. | |||
* logo: Logo. | * logo: Logo. | ||
* map: Map, either in-game or fan-made. | * map: Map, either in-game or fan-made. | ||
Line 135: | Line 140: | ||
|- | |- | ||
! license | ! license | ||
| No || 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 |
Latest revision as of 09:56, August 12, 2024
Info
This template should be used for all files in the "File" 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. | |
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 | For anything other than game/media copyrighted fair use, 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 }} |
|