Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Editing Template:File

From Wars Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{| class="wikitable" style="width:100%"
{| {{File Table}}
! colspan="2" | File information
! colspan="2" | File information
{{#if:{{{game|}}}|
|-
{{!}}-
{{#if:{{{game|}}}| ! Game
! Game
{{!}} [[{{{game|}}}]][[Category:{{{game|}}} images]]}}
{{!}} ''[[{{{game|}}}]]''[[Category:{{{game|}}} images]]}}
|-
|-
! Summary
! Summary
Line 10: Line 9:
|-
|-
! Type
! Type
| <includeonly>{{File type|{{{type|}}}|{{{user|}}}|primary=1}}</includeonly>
| {{#switch:{{{type|}}}
|-
|audio=Audio [[Category:Media]]
{{#if:{{{type2|}}}|! Type 2
|video=Video [[Category:Media]]
{{!}} {{File type|{{{type2|}}}|{{{user|}}}}}
|sprite=Sprite [[Category:Sprites]]
|system=System [[Category:System images]]
|screenshot=Screenshot [[Category:Screenshots]]
|map=Map [[Category:Maps]]
|artwork=Artwork [[Category:Artwork]]
|boxart=Box artwork [[Category:Box artwork]]
|logo=Logo [[Category:Logos]]
|user=User image [[Category:User images]]
|wiki=StrategyWiki image [[Category:Wiki images]]
|rating=Rating icon [[Category:Rating icons]]
|#default=<includeonly>[[Category:Files without type specified]]</includeonly>
}}
}}
|-
|-
! {{!}} Source
! Source
| <includeonly>{{#switch:{{lc:{{{source|}}}}}
| {{#ifeq:{{{source|}}}|self|Image created by the uploader|{{{source|}}}}}
|self=Media created by the uploader
|user=Media created by [[User:{{{user|}}}|{{{user|}}}]]
|fandom=FANDOM image [[Category:FANDOM sourced images]]
|youtube=YouTube image [[Category:YouTube sourced images]]
|presskit=Press kit image [[Category:Non-public press kit images]]
|=<font color=red>''This file is missing a source.''</font>[[Category:Files with no source provided]]
|#default={{{source|}}}}}</includeonly>
|-
|-
! License
! License
| <includeonly>{{license|{{{license|fairuse [[Category:Media with no license specified]]}}}}}</includeonly>
| <includeonly>{{license|{{{license|fairuse [[Category:Media with no license specified]]}}}}}</includeonly>
|-
{{#if:{{{user|}}}
|! User
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }}
|}<noinclude>
|}<noinclude>


Line 38: Line 36:


==Parameters==
==Parameters==
{| class="wikitable" style="width:100%"
{| {{File Table}}
! Parameter || Mandatory || Purpose || Default || Detailed description
! Parameter || Mandatory || Purpose || Default || Detailed description
|-
|-
! game
! game
| No || Game ||  || Game for which the file was uploaded. This will be used to categorize images by game. This section is case-sensitive. If the file is for the series, enter <tt>series</tt>
| No || Game ||  || Game for which the file was uploaded. This will be used to categorize images by game. If the file is for the series, enter <tt>series</tt>
|-
|-
! summary
! summary
Line 48: Line 46:
|-
|-
! type
! type
| '''Yes''' || Content type ||  || What type of content this is. This section is case-sensitive. Can be one of the following:
| '''Yes''' || Content type ||  || What type of content this is. Can be one of the following:
*audio: File is audio only.
* screenshot: Media screenshot.
*video: File is a video, either with or without sound.
* boxart: Box art.
*photo: File is a real world object or concept.
* texture: Game texture.
*sprite: File is of a sprite, texture, or general pixel-based imaging.  
* audio: Game audio.
*screenshot: File is a screen capture of the game.
* video: Game video.
*map: File is a map of a location. This can include in-game or user generated, though in-game is preferred.
* logo: Logo.
*model: File is a 3D rendered model.
* map: Map, either in-game or fan-made.
*artwork: File contains artwork.
* icon: Icon.
*boxart: File is of a game's physical box art, or cover art digitally used to represent the game.
* sprite: Game sprite
*logo: File contains a logo, usually for a game series or company.
* user: User's personal image
*user: User image. Wiki users may have up to five (5) personal files.
* wiki: Wars Wiki image
*wiki: File is dedicated for use on Wiki policy or help pages, or otherwise for the Wiki's benefit.
*rating: File is of an age rating, such as the ESRB or CERO.
|-
|-
! source
! source
| Yes || File source ||  || If this file was created by the user, type "self". If it was uploaded on behalf of another user, use "user" and the parameter below. If it was obtained off a website, type its URL here.
| 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 || 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 [[Template: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 [[Template:License]].
|-
! user
| No || User || || This optional parameter is used for when the file type is user, or when using user for source. It automatically creates a link to the user named in the parameter.
|}
|}


Line 83: Line 76:
}}
}}
</pre>
</pre>
 
[[Category:Licensing]]</noinclude>
[[Category:Meta-templates]]</noinclude>
Please note that all contributions to Wars Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Wars Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template

  [] · [[]] · [[|]] · {{}} · · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
[[Category:]] · [[:File:]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · {{DEFAULTSORT:}}