Template:File info: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{| class="wikitable" style="margin:1em auto"
<includeonly>{| class="wikitable" style="margin:1em auto"
! colspan="2" | File information
! colspan="2" | File information
|-
|-
Line 29: Line 29:
|user=[[Help:Files#User images|User image]]
|user=[[Help:Files#User images|User image]]
|wiki=Wiki image
|wiki=Wiki image
|#default=<span style="color:red">'''Error:''' Please enter a valid <code>type</code> parameter from [[Template:File info#Parameters|the list]].</span>
}}
}}
|-
|-
Line 45: Line 46:
!License
!License
| {{license | {{#if:{{{license|}}}|{{{license}}}|game}} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
| {{license | {{#if:{{{license|}}}|{{{license}}}|game}} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||
|}{{#if:{{{nocat|}}}||
 
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
|screenshot=[[Category:Screenshots]]
|screenshot=[[Category:Screenshots]]
Line 75: Line 77:


==Info==
==Info==
This template should be used for all files on the "File:" 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 "File" namespace. It presents some information about the file, both in terms of content and metadata. It also automatically categorizes the image.


==Parameters==
==Parameters==