Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(reformat reuse link)
(if para description and/or author are not used, add {{description missing}} to increase chances of information actually being added)
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
 
|
 
|
{{{Description}}}
+
{{ #if: {{{Description|}}} | {{{Description}}} | {{Description missing}} }}
 
|- 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
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}}}
+
{{ #if: {{{Author|}}} | {{{Author}}} | {{Description missing|author information}} }}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission<br /><small>([[Commons:Reusing content outside Wikimedia|Reusing this image]])</small>
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission<br /><small>([[Commons:Reusing content outside Wikimedia|Reusing this image]])</small>

Revision as of 00:29, 17 September 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 |

|- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source | No source specified. Please edit this image description and provide a source. |- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date | {{{Date}}} |- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author |

|- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission
(Reusing this image) | See below.

|} Template:Information/info