Information – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add noinclude tags)
m (Text replacement - "\{\{Wikipedia *\| *([a-zA-Z0-9_#':%]+) *\| *([a-zA-Z0-9_#':% ]+) *\}\}" to "{{Link|https://en.wikipedia.org/wiki/$1|$2}}")
 
(8 intermediate revisions by the same user not shown)
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>{{Navbox
! 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 | {{Feature | important | Missing '''description'''}}}}}
| {{Description missing<noinclude>|category=</noinclude>}}
 
}}
| title2 = Source
|- valign="top"
| content2 = {{{source | {{Feature | important | Missing '''source''' - please edit this file description and {{Link|https://en.wikipedia.org/wiki/Wikipedia:Citing_sources#Multimedia|provide a source}}}} {{TemplateCase||[[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 | {{Feature | 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 | {{Feature | important | Missing '''author information'''}} {{TemplateCase||[[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>{{Doc/Template
|- valign="top"
|descr= Shows {{hl|File}} information.
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_aut" | Author
|param1= description
|
|descr1= file description
{{#if: {{{Author|{{{author|}}}}}}
|param2= date
| {{{Author|{{{author}}}}}}
|descr2= format YYYY-MM-DD
| {{Description missing|author information|category=}}<includeonly>[[Category:Images lacking an author]]</includeonly>
|param3= source
}}
|descr3= usually {{hl|Own work}}
|- valign="top"
|param4= author
! 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>
|descr4= e.g {{hl|[<nowiki/>[User:Dwarden{{!}}Dwarden]]}}
|
|param5= permission
{{#if:{{{Permission|{{{permission|}}}}}}
|descr5= e.g {{Template|License}}
| {{{Permission|{{{permission}}}}}}
}}</noinclude>
| 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>

Latest revision as of 00:33, 24 February 2023

Shows File information.

This template is used on these pages.

Usage

{{Information|description|date|source|author|permission}}

  • description: file description
  • date: format YYYY-MM-DD
  • source: usually Own work
  • author: e.g [[User:Dwarden|Dwarden]]
  • permission: e.g {{License}}