Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(Converted to use the wm-license extension)
m (image -> file)
Line 1: Line 1:
<noinclude>{{heavily used template}}</noinclude>{| summary="{{int:Wm-license-information-table-summary}}" class="toccolours vevent" style="width: 100%; direction: {{Dir|{{{lang}}}}};" cellpadding="2"
+
{| 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"
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |{{int:wm-license-information-description}}
+
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%;" id="fileinfotpl_desc" |Description
|<span class="summary" style="display:none">{{PAGENAME}}</span>
+
| {{{Location|}}}
{{ #if: {{{description|{{{Description|}}}}}} | {{{description|{{{Description|}}}}}} | {{Description missing}} }}
+
{{#if: {{{Description|{{{description|}}}}}}  
 +
| {{{Description|{{{description}}}}}}  
 +
| {{Description missing<noinclude>|category=</noinclude>}}  
 +
}}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | {{int:wm-license-information-date}}
+
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_src" | Source
 
|  
 
|  
{{ISOdate|{{{date|{{{Date|}}}}}}}}
+
{{#if:{{{Source|{{{source|}}}}}}
 +
| {{{Source|{{{source}}}}}}
 +
| <includeonly>[[Category:Wikipedia files with unknown source]]</includeonly> No source specified. Please edit this file description and [[WP:CITE#IMAGE|provide a source]].
 +
}}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | {{int:wm-license-information-source}}
+
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap;" id="fileinfotpl_date" | Date
 
|
 
|
{{ #if: {{{source|{{{Source|}}}}}} | {{Parse source|{{{source|{{{Source|}}}}}}}} | {{Source missing}} }}
+
{{{Date|{{{date}}}}}}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | {{int:wm-license-information-author}}
+
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_aut" | Author
 
|
 
|
{{ #if: {{{author|{{{Author|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}
+
{{#if: {{{Author|{{{author|}}}}}}  
 +
| {{{Author|{{{author}}}}}}  
 +
| {{Description missing|author information|category=}}<includeonly>[[Category:Images lacking an author]]</includeonly>
 +
}}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | {{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small>
+
! 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>
 
|
 
|
{{ #if: {{{permission|{{{Permission|}}}}}} | {{{permission|{{{Permission|}}}}}} | {{int:wm-license-information-permission-see-below}} }}{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}
+
{{#if:{{{Permission|{{{permission|}}}}}}
|  =
+
| {{{Permission|{{{permission}}}}}}
| - =
+
| See below.
| none =
+
}}
| #default = <tr valign="top"><td style="background: #ccf; text-align: right; padding-right: 0.4em; font-weight: bold" id="fileinfotpl_ver">{{int:wm-license-information-other-versions}}</td><td>
+
{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}</td></tr>}}{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}}
+
|  =  
 +
| - =  
 +
| 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>
 
|}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[[Category:Infobox templates| ]]
+
[[Category:Autotranslated templates|Information]]
+
[[Category:Templates generating hCalendars|Information]]
+
 
</noinclude>
 
</noinclude>

Revision as of 16:25, 24 April 2010

Description
Source

No source specified. Please edit this file description and provide a source.

Date

{{{date}}}

Author
Permission
(Reusing this file)

See below.