Template:File: Difference between revisions

Template page
m (47 revisions imported: Imported from https://strategywiki.org/)
(Removed game parameter)
Line 1: Line 1:
{| {{prettytable}}
{| {{prettytable}}
! colspan="2" | File information
! colspan="2" | File information
{{#if:{{{game|}}}|
{{!}}-
! Game
{{!}} [[{{{game|}}}]] [[Category:{{{game|}}} files]]}}
|-
|-
! Summary
! Summary
Line 40: Line 36:
{| {{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:Files by guide]]. If the file is for the series page, enter <tt>Series</tt>.
|-
|-
! summary
! summary
Line 71: Line 64:
<pre>
<pre>
{{File
{{File
|game    =
|summary  =  
|summary  =  
|type    =  
|type    =  

Revision as of 23:18, 31 October 2023

File information
Summary
Type
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
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
|summary  = 
|type     = 
|source   = 
|license  = 
}}