Template:File: Difference between revisions

Template page
w:c:strategywiki>Trig Jegman
w:c:strategywiki>Prod
(rearranged)
Line 1: Line 1:
{| {{prettytable}}
{| {{prettytable}}
! colspan="2" | File information
! colspan="2" | File information
|-
{{#if:{{{game|}}}| ! Game
{{!}} [[{{{game|}}}]][[Category:{{{game|}}} images]]}}
|-
|-
! Summary
! Summary
Line 6: Line 9:
|-
|-
! Type
! Type
| {{#switch:{{{type|}}} | screenshot=Screenshot | artwork=Artwork | boxart=Box art | texture=Texture | audio=Audio | logo=Logo | map=Map | icon=Icon | sprite=Sprite | wiki=Wiki image}}
| {{#switch:{{{type|}}}
|-
|screenshot=Screenshot [[Category:Screenshots]]
{{#if:{{{game|}}}| ! Game
|artwork=Artwork [[Category:Artwork]]
{{!}} [[{{{game|}}}]][[Category:{{{game|}}} images]]}}
|boxart=Box artwork [[Category:Box artwork]]
|texture=Texture [[Category:Textures]]
|audio=Audio [[Category:Audio]]
|video=Video [[Category:Video]]
|logo=Logo [[Category:Logos]]
|map=Map [[Category:Maps]]
|icon=Icon [[Category:Icons]]
|sprite=Sprite [[Category:Sprites]]
|user=User image [[Category:User images]]  
|wiki=StrategyWiki image [[Category:StrategyWiki images]]
}}
|-
|-
! Source
! Source
Line 15: Line 28:
|-
|-
! License
! License
| {{license | {{#switch:{{{type|}}} | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
| {{license|{{{license|fairuse[[Category:Media with no license specified]]}}}}}
|}<includeonly>{{#if:{{{nocat|}}}||
|}<noinclude>
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | artwork=[[Category:Artwork]] | boxart=[[Category:Box artwork]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | video=[[Category:Video]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]]| sprite=[[Category:Sprites]] | user=[[Category:User images]] | wiki=[[Category:StrategyWiki images]]}}
}}{{#switch:{{{type|}}} | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}</includeonly><noinclude>


==Info==
==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.
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==
==Parameters==
{| {{prettytable}}
{| {{prettytable}}
! Parameter || Mandatory || Default || Purpose || 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]]
|-
|-
! summary
! summary
| '''Yes''' || File summary ||  || A brief explanation of what the image or sound is; what it contains, and what it is used for.
| '''Yes''' || File summary ||  || A brief explanation of what the media displays, what it contains, or what it is used for.
|-
|-
! type
! type
| '''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. Can be one of the following:
* screenshot: Media screenshot.
* screenshot: Media screenshot.
* boxart: Box art.
* boxart: Box art.
* texture: Game texture.
* texture: Game texture.
* audio: Game audio.
* 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
! game
* wiki: StrategyWiki image
| No || Game ||  || ((to be filled))
|-
|-
! source
! 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, formatted or not.
| 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
! 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 {{t|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 {{t|license}}.
|-
|}
|}


Line 55: Line 68:
<pre>
<pre>
{{File
{{File
|game    =
|summary  =  
|summary  =  
|type    =  
|type    =  
|game    =
|source  =  
|source  =  
|license  =  
|license  =  

Revision as of 19:28, 22 May 2021

File information
Summary
Type
Source
License This file is subject to copyright. Copyright is most likely held by the company that published the game or the media portrayed. Turing Complete Wiki's use of this work qualifies as fair use under United States copyright law, or the author's permission is given. It is used on the wiki only in the belief that the information the file portrays is designed to be an accompaniment to playing the game or media, and its use here will not:
  1. Detract from the experience of playing the game or using the media in question.
  2. Harm the author's sales or reputation.

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
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  = 
}}