Template:File info: Difference between revisions

From Pikmin Fanon
(Added a noiconcat field.)
(Fixed icon categorization.)
Line 16: Line 16:
!License
!License
| {{{license|Not specified}}}
| {{{license|Not specified}}}
|}<includeonly>{{#if:{{{nocat|}}}||{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art images]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | 3d=[[Category:3D rendered images]] | audio=[[Category:Audio]] | map=[[Category:Map images]] | card=[[Category:Trading card images]] | location=[[Category:Location images]] | joke=[[Category:Joke images]] | real=[[Category:Real-world images]] | user=[[Category:User images]] | wiki=[[Category:Pikmin Fanon images]]}}{{#if:{{{nocat|}}}{{{noiconcat|}}}||[[Category:Icons]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art images]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | 3d=[[Category:3D rendered images]] | audio=[[Category:Audio]] | map=[[Category:Map images]] | icon={{#if:{{{noiconcat}}}||[[Category:Icons]]}} | card=[[Category:Trading card images]] | location=[[Category:Location images]] | joke=[[Category:Joke images]] | real=[[Category:Real-world images]] | user=[[Category:User images]] | wiki=[[Category:Pikmin Fanon images]]}}}}</includeonly><noinclude>


==Info==
==Info==

Revision as of 16:37, 26 December 2021

File information
Summary
Type
License Not specified

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. Based on the one from Pikipedia.

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:
  • screenshot: Media screenshot.
  • boxart: Box art.
  • concept: Concept art.
  • texture: Game texture.
  • 3d: 3D render.
  • audio: Game audio.
  • map: Map.
  • icon: Icon.
  • card: Trading card.
  • location: Location.
  • joke: Joke image.
  • real: Real world image.
  • user: User image.
  • wiki: Image for use in Pikmin Fanon itself.
game No Game The game this file is about.
source No File source Where the image came from.
license No License Not specified Image license.
noiconcat No No icon categorization If this has a value, like "y", then icon images will not be categorized under Category:Icons. Useful if you want to instead categorize manually in an icon sub-category.
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      = 
|source    = 
|license   = 
|noiconcat = 
|nocat     = 
}}