This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Information: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Gmaxwell
Remove extraneous white space, make permission optional, add high traffic template. Go work queue go!
imported>Gmaxwell
Additional line break above {{{Permission}}} to resolve the issue with included templates not working. Move info to a subpage.
Line 13: Line 13:
|-
|-
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" id="fileinfotpl_perm" | Permission
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" id="fileinfotpl_perm" | Permission
|{{{Permission|''see below''}}}{{#switch: {{{other_versions|}}}
|
{{{Permission|''see below''}}}{{#switch: {{{other_versions|}}}
|  =
|  =
| - =
| - =
Line 19: Line 20:
| #default = <tr><td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; font-weight: bold" id="fileinfotpl_ver">Other versions</td><td>{{{other_versions}}}</td></tr>}}
| #default = <tr><td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; font-weight: bold" id="fileinfotpl_ver">Other versions</td><td>{{{other_versions}}}</td></tr>}}
|}<noinclude>
|}<noinclude>
==Brief syntax description ==
{{Information/info}}
For usage full description of the the template see [[Commons:First steps/Quality and description]].
 
<pre><nowiki>
{{Information
|Description=
|Source=
|Date=
|Author=
|Permission= (optional, returns "see below" if nothing is filled in)
|other_versions= (optional variable, can be left out)
}}
</nowiki></pre>
 
''e.g. the source code of the description of [[:Image:Anders-Celsius-Head.jpg]]:''
 
<pre><nowiki>
{{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)
}}
</nowiki></pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 03:20, 18 February 2007

Template:Heavily used template{| 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: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description |{{{Description}}} |- ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" id="fileinfotpl_src" | Source |{{{Source}}} |- ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date |{{{Date}}} |- ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" id="fileinfotpl_aut" | Author |{{{Author}}} |- ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em" id="fileinfotpl_perm" | Permission | see below |} Template:Information/info