Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(Undo revision 17187257 by ChrisiPK (Talk). Breaks some templates)
(Autotranslated version from Template:Information/autotranslate)
Line 1: Line 1:
<noinclude>{{hidden code}}{{heavily used template}}</noinclude><includeonly>{| 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" style="width: 100%" cellpadding="2"
+
<noinclude>{{heavily used template}}</noinclude>{{Information/{{#ifexist:Template:Information/{{int:Lang}}|{{int:Lang}}<!-- We got a localised version -->|en}}
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description
+
| description = {{{description|}}}{{{Description|}}}
|
+
| source = {{{source|}}}{{{Source|}}}
{{ #if: {{{Description|}}}{{{description|}}} | {{{Description|}}}{{{description|}}} | {{Description missing}} }}
+
| date = {{{date|}}}{{{Date|}}}
|- valign="top"
+
| author = {{{author|}}}{{{Author|}}}
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source
+
| permission = {{{permission|}}}{{{Permission|}}}
|
+
| other_versions = {{{other_versions|}}}{{{Other_versions|}}}
{{ #if: {{{Source|}}}{{{source|}}} | {{{Source|}}}{{{source|}}} | {{Source missing}} }}
+
| other_fields = {{{other_fields|}}}{{{Other_fields|}}}
|- valign="top"
+
}}<includeonly><!-- Do not remove the following code. It is included for machine readability --><span id="field-description" title="{{urlencode:{{{description|}}}{{{Description|}}}}}"></span><span id="field-source" title="{{urlencode:{{{source|}}}{{{Source|}}}}}"></span><span id="field-date" title="{{urlencode:{{{date|}}}{{{Date|}}}}}"></span><span id="field-author" title="{{urlencode:{{{author|}}}{{{Author|}}}}}"></span><span id="field-permission" title="{{urlencode:{{{permission|}}}{{{Permission|}}}}}"></span><span id="field-otherversions" title="{{urlencode:{{{other_versions|}}}{{{Other_versions|}}}}}"></span></includeonly><noinclude>
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
+
{{Information/lang}}
|
+
{{{Date|}}}{{{date|}}}
+
|- valign="top"
+
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
+
|
+
{{ #if: {{{Author|}}}{{{author|}}} | {{{Author|}}}{{{author|}}} | {{Author missing}} }}
+
|- valign="top"
+
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission<br /><small>([[Commons:Reusing content outside Wikimedia|Reusing this image]])</small>
+
|
+
{{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | see below }}
+
{{#switch: {{{other_versions|{{{Other_versions|}}}}}}
+
|   =
+
| - =
+
| none =
+
| #default = <tr valign="top"><td style="background: #ccf; text-align: right; padding-right: 0.4em; font-weight: bold" id="fileinfotpl_ver">Other versions</td><td>
+
{{{other_versions|{{{Other_versions|}}}}}}</td></tr>}}
+
{{{other_fields|}}}
+
|}<!-- Do not remove the following code. It is included for machine readability --><span id="field-description" title="{{urlencode:{{{Description|}}}{{{description|}}}}}"></span><span id="field-source" title="{{urlencode:{{{Source|}}}{{{source|}}}}}"></span><span id="field-date" title="{{urlencode:{{{Date|}}}{{{date|}}}}}"></span><span id="field-author" title="{{urlencode:{{{Author|}}}{{{author|}}}}}"></span><span id="field-permission" title="{{urlencode:{{{Permission|}}}{{{permission|}}}}}"></span><span id="field-otherversions" title="{{urlencode:{{{other_versions|{{{Other_versions|}}}}}}}}"></span></includeonly><noinclude>
+
  
 
{{documentation|Template:Information/info}}
 
{{documentation|Template:Information/info}}
  
 
[[Category:Infobox templates| ]]
 
[[Category:Infobox templates| ]]
 +
[[Category:Autotranslated templates|Information]]
 
</noinclude>
 
</noinclude>

Revision as of 16:14, 2 January 2009

Template:Heavily used templateTemplate:Information/en Template:Information/lang