Template:File: Difference between revisions

Template page
w:c:strategywiki>Trig Jegman
mNo edit summary
w:c:strategywiki>Trig Jegman
m (Undo revision 939242 by Trig Jegman (talk))
Line 46: Line 46:
|-
|-
! Type 2
! Type 2
| {{#switch:{{lc:{{{type2|}}}}}
| {{#if:{{#switch:{{lc:{{{type2|}}}}}
|audio=Audio [[Category:Audio]]
|audio=Audio [[Category:Audio]]
|video=Video [[Category:Videos]]
|video=Video [[Category:Videos]]
Line 79: Line 79:
|card=Playing card [[Category:Playing card images]]
|card=Playing card [[Category:Playing card images]]
|#default=
|#default=
}}
}}}}
|-
|-
{{#if:{{{user|}}}|{{!}}-
{{#if:{{{user|}}}|{{!}}-
'''User'''
{{!}} '''User'''
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }}
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }}
|-
|-

Revision as of 18:52, 3 January 2022

File information
Summary
Type
Type 2
Source
License

Info

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

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 Series
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: Media screenshot.
  • boxart: Box art.
  • texture: Game texture.
  • audio: Game audio.
  • video: Game video.
  • logo: Logo.
  • map: Map, either in-game or fan-made.
  • icon: Icon.
  • sprite: Game sprite
  • user: User's personal image
  • wiki: StrategyWiki image
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

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