Difference between revisions of "Template:Information"

From Cunnan
Jump to navigationJump to search
Line 2: Line 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" |Description
 
| {{{Location|}}}
 
| {{{Location|}}}
{{{Description|{{{description|}}}}}}
+
{{ #if: {{{Description|{{{description|}}}}}} | {{{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" id="fileinfotpl_src" | Source
 
|
 
|
{{{Source|{{{source|}}}}}}
+
{{#if:{{{Source|{{{source|}}}}}}|{{{Source|{{{source}}}}}}|<includeonly>[[Category:Images 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; white-space: nowrap" id="fileinfotpl_date" | Date
Line 14: Line 14:
 
! 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" | Author
 
|
 
|
{{{Author|{{{author|}}}}}}
+
{{ #if: {{{Author|{{{author|}}}}}} | {{{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 />
+
! 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>
 
|
 
|
{{{Permission|{{{permission|}}}}}}
+
{{#if:{{{Permission|{{{permission|}}}}}}|{{{Permission|{{{permission}}}}}}|See below.}}
 +
{{#switch: {{{other_versions|}}}
 +
|  =
 +
| - =
 +
| none =
 +
| #default = <tr valign="top"><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>}}
 +
|}<noinclude>
 +
{{Documentation}}</noinclude>

Revision as of 09:28, 28 September 2008

}}
Description

{{ #if: | {{{description}}} | Template:Imbox{{#ifeq:|μ|}} }}

Source

{{#if:|{{{source}}}| No source specified. Please edit this image description and provide a source.}}

Date

{{{date}}}

Author

{{ #if: | {{{author}}} | Template:Imbox{{#ifeq:|μ|}} }}

Permission
(Reusing this image)

{{#if:|{{{permission}}}|See below.}} {{#switch:

= - = none = #default =
Other versions {{{other_versions}}}
{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: 
   |[[Template:Fullurl: edit]]
   |[[Template:Fullurl: create]]
  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist: | {{ }} }}}}