Template:File: Difference between revisions

Template page
w:c:strategywiki>Prod
(make |source mandatory, and some cleanup)
w:c:strategywiki>Trig Jegman
mNo edit summary
Line 17: Line 17:
| {{license | {{#switch:{{{type|}}} | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
| {{license | {{#switch:{{{type|}}} | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||
|}<includeonly>{{#if:{{{nocat|}}}||
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art images]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | video=[[Category:Video]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | user=[[Category:User images]] | wiki=[[Category:StrategyWiki images]]}}
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box artwork]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | video=[[Category:Video]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | user=[[Category:User images]] | wiki=[[Category:StrategyWiki images]]}}
}}{{#switch:{{{type|}}} | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}</includeonly><noinclude>
}}{{#switch:{{{type|}}} | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}</includeonly><noinclude>



Revision as of 23:00, 13 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 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 Default Purpose 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.
  • boxart: Box art.
  • texture: Game texture.
  • audio: Game audio.
  • logo: Logo.
  • map: Map, either in-game or fan-made.
  • icon: Icon.
game No Game ((to be filled))
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.
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}}.

Skeleton

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