Difference between revisions of "Template:Information"
From Self-sufficiency
m (rv myself -- that wasn't the problem) |
(optional variable switched to flexible switch as many people also entered - or none for empty variable, changed aling to top, see talk page, removed one | that is now unecessary) |
||
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" style="width: 100%" 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" style="width: 100%" cellpadding="2" | ||
− | ! style="background: #ccf; text-align: right; vertical-align: | + | ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" |Description |
| | | | ||
{{{Description}}} | {{{Description}}} | ||
|- | |- | ||
− | ! style="background: #ccf; text-align: right; vertical-align: | + | ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" | Source |
| | | | ||
{{{Source}}} | {{{Source}}} | ||
|- | |- | ||
− | ! style="background: #ccf; text-align: right; vertical-align: | + | ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; white-space: nowrap" | Date |
| | | | ||
{{{Date}}} | {{{Date}}} | ||
|- | |- | ||
− | ! style="background: #ccf; text-align: right; vertical-align: | + | ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" | Author |
| | | | ||
{{{Author}}} | {{{Author}}} | ||
|- | |- | ||
− | ! style="background: #ccf; text-align: right; vertical-align: | + | ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" | Permission |
| | | | ||
{{{Permission}}} | {{{Permission}}} | ||
− | {{# | + | {{#switch: {{{other_versions|}}} |
+ | | = | ||
+ | | - = | ||
+ | | none = | ||
+ | | #default = <tr><td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; font-weight: bold">Other versions</td><td> | ||
{{{other_versions}}}</td></tr>}} | {{{other_versions}}}</td></tr>}} | ||
|}<noinclude> | |}<noinclude> | ||
Line 26: | Line 30: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Information | + | {{Information |
|Description= | |Description= | ||
|Source= | |Source= | ||
Line 39: | Line 43: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Information | + | {{Information |
|Description = | |Description = | ||
{{en|Part of an oil painting of Anders Celsius. Painting by Olof Arenius (1701 - 1766). | {{en|Part of an oil painting of Anders Celsius. Painting by Olof Arenius (1701 - 1766). |
Revision as of 14:36, 9 September 2006
Description |
{{{Description}}} |
---|---|
Source |
{{{Source}}} |
Date |
{{{Date}}} |
Author |
{{{Author}}} |
Permission |
{{{Permission}}} |
Brief syntax description
For usage full description of the the template see Commons:First steps/Quality and description.
{{Information |Description= |Source= |Date= |Author= |Permission= |other_versions= (optional variable, can be left out) }}
e.g. the source code of the description of Image:Anders-Celsius-Head.jpg:
{{Information |Description = {{en|Part of an oil painting of Anders Celsius. Painting by Olof Arenius (1701 - 1766). The original painting is placed in the astronomical observatory of Uppsala University.}} {{de|Teil eines Ölgemälde von Anders Celsius, das von Olof Arenius (1701-1766) gemalt wurde. Das Originalgemälde befindet sich im astronomischen Observatorium der Universität Uppsala.}} {{nds|Deel vun en Schilleraats, dat Anders Celsius wiest. Maalt vun Olof Arenius (1701-1766). Dat Original hangt in’t astronoomsche Observatorium bi de Universität Uppsala.}} |Source = Astronomical observatory of Uppsala University * http://www.astro.uu.se/history/Celsius_eng.html * http://www.astro.uu.se/history/images/celsius3.jpg |Date = between 1701 - 1766 |Author = Olof Arenius |Permission = Copyright expired as artist died more than 70 years ago |other_versions = [[:Image:Anders-Celsius.jpeg]] (full image) }}