Information – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add noinclude tags)
(Template refresh)
Line 1: Line 1:
{| summary="A standardized table providing complete information about the file, including description of what it shows and how it was made, copyright status and source." class="toccolours mbox-inside" style="width: 100%;" cellpadding="2"
<includeonly>{{NavboxWiki
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%;" id="fileinfotpl_desc" |Description
| title = File Information
| {{{Location|}}}
 
{{#if: {{{Description|{{{description|}}}}}}
| title1 = Description
| {{{Description|{{{description}}}}}}  
| content1 = {{{description | {{Important | Missing '''description'''}}}}}
| {{Description missing<noinclude>|category=</noinclude>}}
 
}}
| title2 = Source
|- valign="top"
| content2 = {{{source | {{Important | Missing '''source''' - please edit this file description and [http://en.wikipedia.org/wiki/Wikipedia:Citing_sources#Multimedia provide a source]}} [[Category:Files without source]]}}}
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_src" | Source
 
|  
| title3 = Date
{{#if:{{{Source|{{{source|}}}}}}
| content3 = {{{date | {{Important | Missing '''date'''}}}}}
| {{{Source|{{{source}}}}}}
 
| <includeonly>[[Category:Wikipedia files with unknown source]]</includeonly> No source specified. Please edit this file description and [[http://en.wikipedia.org/wiki/Wikipedia:Citing_sources#Multimedia provide a source]].
| title4 = Author
}}
| content4 = {{{author | {{Important | Missing '''author information'''}} [[Category:Files without author]]}}}
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap;" id="fileinfotpl_date" | Date
| title5 = Permission<br><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this file]])</small>
|
| content5 = {{{permission | See below.}}}
{{{Date|{{{date}}}}}}
}}</includeonly><noinclude>
|- valign="top"
Shows <tt>File</tt> information.
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_aut" | Author
 
|
== Usage ==
{{#if: {{{Author|{{{author|}}}}}}
{{<nowiki/>Information|''all '''named''' arguments below''}}
| {{{Author|{{{author}}}}}}
* description: file description
| {{Description missing|author information|category=}}<includeonly>[[Category:Images lacking an author]]</includeonly>
* date: format YYYY-MM-DD
}}
* source: can be {{Template|own}}
|- valign="top"
* author: e.g <tt>[<nowiki/>[User:Dwarden|Dwarden]]</tt>
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_perm" | Permission<br /><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this file]])</small>
* permission: e.g {{Template|self}}
|
 
{{#if:{{{Permission|{{{permission|}}}}}}
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
| {{{Permission|{{{permission}}}}}}
| See below.
}}
{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}
=  
| - =  
| none =  
| #default =  
<tr valign="top">
<th style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_ver"> Other versions </th>
<td> {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} </td>
</tr>
}}
|}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:46, 30 December 2020

Shows File information.

Usage

{{Information|all named arguments below}}

  • description: file description
  • date: format YYYY-MM-DD
  • source: can be {{own}}
  • author: e.g [[User:Dwarden|Dwarden]]
  • permission: e.g {{self}}