Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(Add code that allows tools to fetch the content of the information template from the expanded wikitext)
m (99 revisions from commons:Template:Information)
 
(21 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<noinclude>{{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>{| class="toccolours vevent" style="width: 100%; direction: {{Dir|{{{lang}}}}};" cellpadding="2"
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description
+
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |{{int:wm-license-information-description}}
|
+
|<span class="summary" style="display:none">{{PAGENAME}}</span>
{{ #if: {{{Description|}}}{{{description|}}} | {{{Description|}}}{{{description|}}} | {{Description missing}} }}
+
{{ #if: {{{description|{{{Description|}}}}}} | {{{description|{{{Description|}}}}}} | {{Description missing}} }}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source
+
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | {{int:wm-license-information-date}}
|
+
|
{{ #if: {{{Source|}}}{{{source|}}} | {{{Source|}}}{{{source|}}} | {{{category|[[Category:Images without source|{{PAGENAME}}]]}}} <big>'''No source specified. Please edit this image description and provide a source'''</big>.}}
+
{{ISOdate|{{{date|{{{Date|}}}}}}}}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
+
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | {{int:wm-license-information-source}}
 
|
 
|
{{{Date|}}}{{{date|}}}
+
{{ #if: {{{source|{{{Source|}}}}}} | {{Parse source|{{{source|{{{Source|}}}}}}}} | {{Source missing}} }}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
+
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | {{int:wm-license-information-author}}
 
|
 
|
{{ #if: {{{Author|}}}{{{author|}}} | {{{Author|}}}{{{author|}}} | {{Description missing|author information}} }}
+
{{ #if: {{{author|{{{Author|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}
 
|- valign="top"
 
|- 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>
+
! 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>
 
|
 
|
{{ #if: {{{Permission|}}}{{{permission|}}}| {{{Permission|}}}{{{permission|}}} |see below}}
+
{{ #if: {{{permission|{{{Permission|}}}}}} | {{{permission|{{{Permission|}}}}}} | {{int:wm-license-information-permission-see-below}} }}{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}
{{#switch: {{{other_versions|{{{Other_versions|}}}}}}
+
 
|  =
 
|  =
 
| - =
 
| - =
 
| none =
 
| 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>
+
| #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>
{{{other_versions|{{{Other_versions|}}}}}}</td></tr>}}
+
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}</td></tr>}}
{{{other_fields|}}}
+
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}}
|}
+
|}<noinclude>
<!-- Do not remove the following code. It is included for machine readability --><span id="field-description" summary="{{urlencode:{{{Description|}}}{{{description|}}}}}"></span><span id="field-source" summary="{{urlencode:{{{Source|}}}{{{source|}}}}}"></span><span id="field-date" summary="{{urlencode:{{{Date|}}}{{{date|}}}}}"></span><span id="field-author" summary="{{urlencode:{{{Author|}}}{{{author|}}}}}"></span><span id="field-permission" summary="{{urlencode:{{{Permission|}}}{{{permission|}}}}}"></span><span id="field-otherversions" summary="{{urlencode:{{{other_versions|{{{Other_versions|}}}}}}"></span><span id="field-list" summary="description:Description|source:Source|date:Date|author:Author|permission:Permission|otherversions:Other versions|"></span></includeonly><noinclude>
+
  
{{documentation|Template:Information/info}}
+
{{documentation}}
  
[[Category:Infobox templates|{{PAGENAME}}]]
+
[[Category:Infobox templates| ]]
 +
[[Category:Autotranslated templates|Information]]
 +
[[Category:Templates generating hCalendars|Information]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:59, 20 September 2010

Template:Heavily used template{| class="toccolours vevent" style="width: 100%; direction: ltr;" cellpadding="2" ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |<wm-license-information-description> |

|- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | <wm-license-information-date> |

|- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | <wm-license-information-source> | Template:Source missing |- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | <wm-license-information-author> |

|- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | <wm-license-information-permission>
([[<wm-license-information-permission-reusing-link>|<wm-license-information-permission-reusing-text>]]) | <wm-license-information-permission-see-below>

|}