Template:File info: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|-
|-
! Type
! Type
| {{#switch:{{{type|}}} | screenshot=Screenshot | artwork=Artwork | render=3D render | boxart=Box art | concept=Concept art | texture=Texture | audio=Audio | logo=Logo | map=Map | icon=Icon | merch=[[Merchandise]] image | promo=Promotional image | real=Real world image | user=[[Help:Files#User images|User image]] | wiki=Wiki image}}
| {{#switch:{{{type|}}}
|screenshot=Screenshot
|artwork=Artwork
|clayart=Clay art
|render=3D render
|diorama=Diorama
|sketch=Sketch
|flatart=Flat art
|treasureart=Treasure art
|enemyart=Enemy art
|conceptart=Concept art
|wallpaper=Wallpaper
|boxart=Box art
|texture=Texture
|audio=Audio
|logo=Logo
|map=Map
|icon=Icon
|merch=[[Merchandise]] image  
|promo=Promotional image  
|real=Real world image  
|user=[[Help:Files#User images|User image]]  
|wiki=Wiki image
}}
|-
|-
{{#if:{{{game|}}} | !id="fileinfotpl_aut"{{!}}Game
{{#if:{{{game|}}} | !id="fileinfotpl_aut"{{!}}Game
Line 25: Line 48:
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
|screenshot=[[Category:Screenshots]]
|screenshot=[[Category:Screenshots]]
|artwork={{#switch:{{{game}}}
|artwork={{file info/cat|{{{game}}}|artwork}}
|p1|npcp1=[[Category:Pikmin 1 artwork]]
|clayart={{file info/cat|{{{game}}}|clay art}}
|p2|npcp2=[[Category:Pikmin 2 artwork]]
|render={{file info/cat|{{{game}}}|renders}}
|p3|p3d=[[Category:Pikmin 3 artwork]]
|diorama={{file info/cat|{{{game}}}|dioramas}}
|p4=[[Category:Pikmin 4 artwork]]
|sketch={{file info/cat|{{{game}}}|sketches}}
|hp=[[Category:Hey! Pikmin artwork]]
|flatart={{file info/cat|{{{game}}}|flat art}}
|pb=[[Category:Pikmin Bloom artwork]]
|treasureart={{file info/cat|{{{game}}}|treasure art}}
|pa=[[Category:Pikmin Adventure artwork]]
|enemyart={{file info/cat|{{{game}}}|enemy art}}
|psm=[[Category:Pikmin Short Movies artwork]]
|conceptart={{file info/cat|{{{game}}}|concept art}}
|#default=[[Category:Artwork]]}}
|wallpaper={{file info/cat|{{{game}}}|wallpapers}}
|render={{#switch:{{{game}}}
|p1|npcp1=[[Category:Pikmin 1 renders]]
|p2|npcp2=[[Category:Pikmin 2 renders]]
|p3|p3d=[[Category:Pikmin 3 renders]]
|p4=[[Category:Pikmin 4 renders]]
|hp=[[Category:Hey! Pikmin renders]]
|pb=[[Category:Pikmin Bloom renders]]
|pa=[[Category:Pikmin Adventure renders]]
|psm=[[Category:Pikmin Short Movies renders]]
|#default=[[Category:Renders]]}}
|boxart=[[Category:Boxart images]]
|boxart=[[Category:Boxart images]]
|concept=[[Category:Concept art]]
|texture=[[Category:Textures]]
|texture=[[Category:Textures]]
|audio=[[Category:Audio]]
|audio=[[Category:Audio]]
Line 57: Line 69:
|user=[[Category:User images]]
|user=[[Category:User images]]
|wiki=[[Category:Pikipedia images]]}}
|wiki=[[Category:Pikipedia images]]}}
{{#switch:{{{game}}}
[[Category:{{file info/game|{{{game}}}}} images]]
|p1|npcp1=[[Category:Pikmin 1 images]]
|p2|npcp2=[[Category:Pikmin 2 images]]
|p3|p3d=[[Category:Pikmin 3 images]]
|p4=[[Category:Pikmin 4 images]]
|hp=[[Category:Hey! Pikmin images]]
|pb=[[Category:Pikmin Bloom 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 | 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>
Line 83: Line 86:
| '''Yes''' || Content type ||  || What type of content this is. This will automatically determine some other things. Can be one of the following:
| '''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.
* screenshot: Media screenshot.
* artwork: Artwork.
** clayart: Clay art
** render: Render
** diorama: Diorama
** sketch: Sketch
** flatart: Flat art
** treasureart: Treasure art
** enemyart: Enemy art
** conceptart: Concept art
** wallpaper: Wallpaper
* boxart: Box art.
* boxart: Box art.
* artwork: Artwork.
* render: 3D render.
* concept: Concept art.
* texture: Game texture.
* texture: Game texture.
* audio: Game audio.
* audio: Game audio.

Revision as of 15:26, March 4, 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:
  • screenshot: Media screenshot.
  • artwork: Artwork.
    • clayart: Clay art
    • render: Render
    • diorama: Diorama
    • sketch: Sketch
    • flatart: Flat art
    • treasureart: Treasure art
    • enemyart: Enemy art
    • conceptart: Concept art
    • wallpaper: Wallpaper
  • boxart: Box art.
  • texture: Game texture.
  • audio: Game audio.
  • logo: Logo.
  • map: Map, either in-game or fan-made.
  • icon: Icon.
  • merch: Merchandise image.
  • promo: Promotional material.
  • real: Real world image.
  • user: User image.
  • wiki: Image for use in Pikipedia itself.
game No Game The game this file is about (or the Short Movies). Can be one of the following:
  • p1 - p4: Pikmin to Pikmin 4.
  • hp: Hey! Pikmin.
  • pb: Pikmin Bloom.
  • npcp1 - npcp2: The New Play Control! titles.
  • p3d: Pikmin 3 Deluxe.
  • pa: Pikmin Adventure.
  • ssbb: Super Smash Bros. Brawl.
  • ssb4: Super Smash Bros. for Nintendo 3DS and Wii U.
  • ssbu: Super Smash Bros. Ultimate.
  • psm: Pikmin Short Movies.
  • other: A non-Pikmin game.
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
}}
File information
Summary An image with content.
Type Screenshot
Game Pikmin 3
Version 2.0.0
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.