Template:File: Difference between revisions

Template page
w:c:strategywiki>Trig Jegman
mNo edit summary
m (Clarified image types)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| {{prettytable}}
{| {{prettytable}}
! colspan="2" | File information
! colspan="2" | File information
{{#if:{{{game|}}}|
{{!}}-
! Game
{{!}} [[{{{game|}}}]] [[Category:{{{game|}}} images]]}}
|-
|-
! Summary
! Summary
Line 10: Line 6:
|-
|-
! Type
! Type
| {{#switch:{{lc:{{{type|}}}}}
| <includeonly>{{File type|{{{type|}}}|{{{user|}}}}}{{#if:{{{type|}}}||[[Category:Files without type specified]]}}</includeonly>
|audio=Audio [[Category:Audio]]
|video=Video [[Category:Videos]]
 
|sprite=Sprite [[Category:Sprites]]
|model=Model [[Category:Models]]
|panorama=Panoramic Screenshot [[Category:Panoramic screenshots]]
 
|photo=Photo [[Category:Photos]]
|system=System [[Category:System images]]
|arcade=Arcade controls [[Category:Arcade controls]]
 
|screenshot=Screenshot [[Category:Screenshots]]
|map=Map [[Category:Maps]]
 
|artwork=Artwork [[Category:Artwork]]
|boxart=Box artwork [[Category:Box artwork]]
|icon=Icon [[Category:Icons]]
|logo=Logo [[Category:Logos]]
|system logo=System logo [[Category:System logos]]
|company logo=Company logo [[Category:Company logos]]
|diagram=Diagram [[Category:Diagrams]]
|fighter=Fighter [[Category:Fighter portraits]]
|achievement=Achievement [[Category:Achievement images]]
|trophy=Trophy [[Category:Trophy images]]
 
|user=User image [[Category:User images]]
|wiki=StrategyWiki image [[Category:StrategyWiki images]]
|control=Controller button [[Category:Controller buttons]]
|rating=Rating icon [[Category:Rating icons]]
|die=Dice [[Category:Die images]]
|card=Playing card [[Category:Playing card images]]
|#default=<includeonly>[[Category:Files without type specified]]</includeonly>
}}
|-
|-
! Type 2
{{#if:{{{type2|}}}|! Type 2
| {{#switch:{{lc:{{{type2|}}}}}
{{!}} {{File type|{{{type2|}}}|{{{user|}}}}}
|audio=Audio [[Category:Audio]]
|video=Video [[Category:Videos]]
 
|sprite=Sprite [[Category:Sprites]]
|model=Model [[Category:Models]]
|panorama=Panoramic Screenshot [[Category:Panoramic screenshots]]
 
|photo=Photo [[Category:Photos]]
|system=System [[Category:System images]]
|arcade=Arcade controls [[Category:Arcade controls]]
 
|screenshot=Screenshot [[Category:Screenshots]]
|map=Map [[Category:Maps]]
 
|artwork=Artwork [[Category:Artwork]]
|boxart=Box artwork [[Category:Box artwork]]
|icon=Icon [[Category:Icons]]
|logo=Logo [[Category:Logos]]
|system logo=System logo [[Category:System logos]]
|company logo=Company logo [[Category:Company logos]]
|diagram=Diagram [[Category:Diagrams]]
|fighter=Fighter [[Category:Fighter portraits]]
|achievement=Achievement [[Category:Achievement images]]
|trophy=Trophy [[Category:Trophy images]]
 
|user=User image [[Category:User images]]
|wiki=StrategyWiki image [[Category:StrategyWiki images]]
|control=Controller button [[Category:Controller buttons]]
|rating=Rating icon [[Category:Rating icons]]
|die=Dice [[Category:Die images]]
|card=Playing card [[Category:Playing card images]]
|#default=
}}
}}
|-
|-
{{#if:{{{user|}}}|{{!}}-
{{#if:{{{user|}}}
'''User'''
|! User
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }}
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }}
|-
|-
Line 91: Line 22:
|fandom=FANDOM image [[Category:FANDOM sourced images]]
|fandom=FANDOM image [[Category:FANDOM sourced images]]
|youtube=YouTube image [[Category:YouTube sourced images]]
|youtube=YouTube image [[Category:YouTube sourced images]]
|presskit=Nintendo press kit image [[Category:Non-public press kit images]]
|presskit=Press kit image [[Category:Non-public press kit images]]
|=<font color=red>''This file is missing a source.''</font>[[Category:Files lacking sources]]
|=<font color=red>''This file is missing a source.''</font>[[Category:Files with no source provided]]
|#default={{{source|}}}}}</includeonly>
|#default={{{source|}}}}}</includeonly>
|-
! License
| <includeonly>{{license|{{{license|fairuse [[Category:Media with no license specified]]}}}}}</includeonly>
|}<noinclude>
|}<noinclude>


Line 105: Line 33:
{| {{prettytable}}
{| {{prettytable}}
! Parameter || Mandatory || Purpose || Default || Detailed description
! Parameter || Mandatory || Purpose || Default || Detailed description
|-
! game
| No || Game ||  || Game for which the file was uploaded. This will be used to categorize by [[:Category:Guide-specific images]]. If the file is for the series page, enter <tt>Series</tt>
|-
|-
! summary
! summary
Line 114: Line 39:
! type
! type
| '''Yes''' || Content type ||  || What type of content this is. Can be one of the following:
| '''Yes''' || Content type ||  || What type of content this is. Can be one of the following:
* screenshot: Media screenshot.
* screenshot: Screenshot (of game, etc).
* boxart: Box art.
* texture: Game texture.
* 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.
* icon: Icon.
* icon: Icon.
* sprite: Game sprite
* sprite: Game sprite.
* user: User's personal image
* user: User's personal profile image.
* wiki: StrategyWiki image
* wiki: Images for inclusion on pages, that do not better fit another type.
|-
|-
! source
! source
Line 136: Line 57:
<pre>
<pre>
{{File
{{File
|game    =
|summary  =  
|summary  =  
|type    =  
|type    =  

Latest revision as of 20:55, 21 November 2023

File information
Summary
Type
Source

Info[edit source]

This template should be used for all files in the "Files:" namespace. It presents some information about the file, and automatically categorizes the image.

Parameters[edit source]

Parameter Mandatory Purpose Default Detailed description
summary Yes File summary A brief explanation of what the media displays, what it contains, or what it is used for.
type Yes Content type What type of content this is. Can be one of the following:
  • screenshot: Screenshot (of game, etc).
  • logo: Logo.
  • map: Map, either in-game or fan-made.
  • icon: Icon.
  • sprite: Game sprite.
  • user: User's personal profile image.
  • wiki: Images for inclusion on pages, that do not better fit another type.
source Yes File source If this file was created by the user, type "self". If it was obtained off a website, type its URL here.
license No License fairuse 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}}.

Skeleton[edit source]

{{File
|summary  = 
|type     = 
|source   = 
|license  = 
}}