Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(Created page with '{| 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="t…')
 
(Converted to use the wm-license extension)
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"
+
<noinclude>{{heavily used template}}</noinclude>{| summary="{{int:Wm-license-information-table-summary}}" 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}}
| {{{Location|}}}
+
|<span class="summary" style="display:none">{{PAGENAME}}</span>
{{#if: {{{Description|{{{description|}}}}}}  
+
{{ #if: {{{description|{{{Description|}}}}}} | {{{description|{{{Description|}}}}}} | {{Description missing}} }}
| {{{Description|{{{description}}}}}}  
+
| {{Description missing<noinclude>|category=</noinclude>}}  
+
}}
+
 
|- 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|}}}}}}
+
{{ISOdate|{{{date|{{{Date|}}}}}}}}
| {{{Source|{{{source}}}}}}
+
| <includeonly>[[Category:Wikipedia files with unknown source|{{PAGENAME}}]]</includeonly> No source specified. Please edit this image description and [[WP:CITE#IMAGE|provide a source]].
+
}}
+
 
|- 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|}}}}}}  
+
{{ #if: {{{author|{{{Author|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}
| {{{Author|{{{author}}}}}}  
+
| {{Description missing|author information|category=}}<includeonly>[[Category:Images lacking an author|{{PAGENAME}}]]</includeonly>
+
}}
+
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em;" id="fileinfotpl_perm" | Permission<br /><small>([[Commons: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|}}}}}}
+
{{ #if: {{{permission|{{{Permission|}}}}}} | {{{permission|{{{Permission|}}}}}} | {{int:wm-license-information-permission-see-below}} }}{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}
| {{{Permission|{{{permission}}}}}}
+
|  =
| See below.
+
| - =
}}
+
| none =
{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}
+
| #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|{{{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>
  
{{pp-template}}
 
 
{{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 14:12, 6 March 2010

Template:Heavily used template{| summary="<Wm-license-information-table-summary>" 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> |}