Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:File: Difference between revisions

From Wars Wiki
235 bytes added ,  8 July 2023
no edit summary
mNo edit summary
No edit summary
Tag: Manual revert
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" style="width:100%"
{| class="wikitable" style="width:100%"
! colspan="2" | File information
! colspan="2" | File information
|-
{{#if:{{{game|}}}|
{{#if:{{{game|}}}| ! Game
{{!}}-
{{!}} [[{{#ifeq:{{{game|}}}|Advance Wars|Advance Wars (game){{!}}Advance Wars|{{{game|}}}}}]][[Category:{{{game|}}} images]]}}
! Game
{{!}} ''[[{{{game|}}}]]''[[Category:{{{game|}}} images]]}}
|-
|-
! Summary
! Summary
Line 9: Line 10:
|-
|-
! Type
! Type
| {{#switch:{{{type|}}}
| <includeonly>{{File type|{{{type|}}}|{{{user|}}}|primary=1}}</includeonly>
|audio=Audio [[Category:Media]]
|-
|video=Video [[Category:Media]]
{{#if:{{{type2|}}}|! Type 2
|photo=Photograph [[Category:Photos]]
{{!}} {{File type|{{{type2|}}}|{{{user|}}}}}
|sprite=Sprite [[Category:Sprites]]
|screenshot=Screenshot [[Category:Screenshots]]
|map=Map [[Category:Maps]]
|model=Model [[Category:Models]]
|artwork=Artwork [[Category:Artwork]]
|boxart=Box artwork [[Category:Box artwork]]
|logo=Logo [[Category:Logos]]
|user=User image [[Category:User images]]
|wiki=Wars Wiki image [[Category:Wiki images]]
|rating=Rating icon [[Category:Rating icons]]
|#default=<includeonly>[[Category:Files without type specified]]</includeonly>
}}
}}
|-
|-
! Source
! {{!}} Source
| {{#ifeq:{{{source|}}}|self|Image created by the uploader|{{{source|}}}}}
| <includeonly>{{#switch:{{lc:{{{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 63: Line 64:
|-
|-
! 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.
| 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.
|-
|-
! 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 80: Line 84:
</pre>
</pre>


[[Category:Licensing]]</noinclude>
[[Category:Meta-templates]]</noinclude>
patroller
1,981

edits