Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(I asked, whether this undocumented code was in actual use and nobody came up with any examples. It produces faulty results in some cases, so I now remove the code)
m (99 revisions from commons:Template:Information)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{heavily used template}}</noinclude>{{Information/{{#ifexist:Template:Information/{{int:Lang}}|{{int:Lang}}<!-- We got a localised version -->|en}}
+
<noinclude>{{heavily used template}}</noinclude>{| class="toccolours vevent" style="width: 100%; direction: {{Dir|{{{lang}}}}};" cellpadding="2"
| description = {{{description|}}}{{{Description|}}}
+
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |{{int:wm-license-information-description}}
| source = {{{source|}}}{{{Source|}}}
+
|<span class="summary" style="display:none">{{PAGENAME}}</span>
| date = {{{date|}}}{{{Date|}}}
+
{{ #if: {{{description|{{{Description|}}}}}} | {{{description|{{{Description|}}}}}} | {{Description missing}} }}
| author = {{{author|}}}{{{Author|}}}
+
|- valign="top"
| permission = {{{permission|}}}{{{Permission|}}}
+
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | {{int:wm-license-information-date}}
| other_versions = {{{other_versions|}}}{{{Other_versions|}}}
+
|
| other_fields = {{{other_fields|}}}{{{Other_fields|}}}
+
{{ISOdate|{{{date|{{{Date|}}}}}}}}
}}<noinclude>
+
|- valign="top"
{{Information/lang}}
+
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | {{int:wm-license-information-source}}
 +
|
 +
{{ #if: {{{source|{{{Source|}}}}}} | {{Parse source|{{{source|{{{Source|}}}}}}}} | {{Source missing}} }}
 +
|- valign="top"
 +
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | {{int:wm-license-information-author}}
 +
|
 +
{{ #if: {{{author|{{{Author|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}
 +
|- 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>
 +
|
 +
{{ #if: {{{permission|{{{Permission|}}}}}} | {{{permission|{{{Permission|}}}}}} | {{int:wm-license-information-permission-see-below}} }}{{#switch: {{{other_versions|{{{Other_versions|{{{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">{{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|}}}}}}}}}}}}
 +
|}<noinclude>
  
 
{{documentation}}
 
{{documentation}}

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>

|}