Template:File info: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(Maybe this'll work?)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="margin: auto; width: 50%;"
{| class="wikitable" style="margin: auto; width: 50%;"
! colspan="2" | Image information
! colspan="2" | Image information
|-
|-
Line 18: Line 18:
|-
|-
!License
!License
| {{license | {{#switch:{{{type|}}} | real | map | user = {{{license}}} | #default = {{{type|}}} }} }}
| {{license | {{#switch:{{{type|}}} | real | map | user = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}{{#if:{{{nocat|}}}||
|}
<includeonly>{{#if:{{{nocat|}}}||
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | real=[[Category:Real world images]] | user=[[Category:User images]] }}
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | real=[[Category:Real world images]] | user=[[Category:User images]] }}
{{#switch:{{{game}}} | p1|npcp1=[[Category:Pikmin 1 images]] | p2|npcp2=[[Category:Pikmin 2 images]] | p3=[[Category:Pikmin 3 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=[[Category:Pikmin 3 images]] | pa=[[Category:Pikmin Adventure images]] | psm=[[Category:Pikmin Short Movies images]] | #default=[[Category:Non-Pikmin images]]}}

Revision as of 10:00, May 3, 2016

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:
  • screenshot: Media screenshot.
  • boxart: Box art.
  • concept: Concept art.
  • texture: Game texture.
  • audio: Game audio.
  • logo: Logo.
  • map: Map, either in-game or fan-made.
  • icon: Icon.
  • real: Real world image.
  • user: User image.
game No Game The game this file is about (or the Short Movies). Can be one of the following:
  • p1 - p3: Pikmin to Pikmin 3.
  • npcp1 - npcp2: The New Play Control! titles.
  • pa: Pikmin Adventure.
  • ssbb: Super Smash Bros. Brawl.
  • ssb4: Super Smash Bros. for 3DS and Wii U.
  • psm: Pikmin Short Movies.
  • other: A non-Pikmin game.
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 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
}}
Image information
Summary An image with content.
Type Screenshot
Game Pikmin 3
Location Garden of Hope
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.