[go: nahoru, domu]

Jump to content

Template:Information: Difference between revisions

From Wikibooks, open books for an open world
[unreviewed revision][unreviewed revision]
Content deleted Content added
This isn't working. Reverting to last version by Pigsonthewing.
mNo edit summary
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%; color: #000000;" cellpadding="2"
{| class="toccolours" style="width: 100%; margin: 0.5em auto;"
! style="background: #CCF; text-align: right; padding-right: 0.4em; width: 15%;" | Description
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
|
|
{{{Description}}}
{{{Author}}}
|-
|-
! style="background: #CCF; padding-right: 0.4em; text-align: right;" | Source
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
|
{{#if:{{{Source|}}}|{{{Source}}}|[[Category:Images without source<noinclude>|*</noinclude>]] No source specified. Please edit this image description and provide a source.}}
|-
! style="background: #CCF; padding-right: 0.4em; text-align: right;" | Date
|
|
{{{Date}}}
{{{Date}}}
{{#if: {{{Location | }}} | <tr><th style="background: #CCF; padding-right: 0.4em; text-align: right;">'''Location'''</th><td><p>
{{{Location}}}</p></td></tr>}}
|-
|-
! style="background: #CCF; padding-right: 0.4em; text-align: right;" | Author
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source
|
|
{{{Author}}}
{{{Source}}}
|-
|-
! style="background: #CCF; padding-right: 0.4em; text-align: right;" | Permission
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission
|
|
{{#if:{{{Permission|}}}|{{{Permission}}}|see below}}
{{#if:{{{Permission|}}}|{{{Permission}}}|see below}}
{{#switch: {{{other_versions|}}}
{{#if: {{{other_versions | }}} | <tr><th style="background: #CCF; padding-right: 0.4em; text-align: right;">'''Other versions'''</th><td><p>
| =
{{{other_versions}}}</p></td></tr>}}
| - =
| none =
| #default = <tr><td style="background: #ccf; text-align: right; padding-right: 0.4em; font-weight: bold" id="fileinfotpl_ver">Other versions</td><td>
{{{other_versions}}}</td></tr>}}
|-
! style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" | Description
|
{{{Description}}}
|}<noinclude>
|}<noinclude>

{{Template doc}}</noinclude>
===Usage===
See [[Wikibooks:Template messages/Image namespace]].
<pre><nowiki>
{{Information
|Author =
|Date =
|Source =
|Permission = (optional, returns "see below" if nothing is filled in)
|other_versions = (optional variable, can be left out)
|Description =
}}
</nowiki></pre>
[[Category:Infobox templates]]</noinclude>

Revision as of 23:45, 20 September 2007

Author

{{{Author}}}

Date

{{{Date}}}

Source

{{{Source}}}

Permission

see below

Description

{{{Description}}}

Usage

See Wikibooks:Template messages/Image namespace.

{{Information
|Author      =
|Date        =
|Source      =
|Permission  = (optional, returns "see below" if nothing is filled in)
|other_versions = (optional variable, can be left out)
|Description =
}}