Difference between revisions of "Template:Information"

From FamilySearch Wiki
Jump to: navigation, search
(add style border: 1px solid #AAA; background-color: #F9F9F9; padding: 5px; font-size: 95%;)
(add default message if no source provided)
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
{{ #if: {{{Description|{{{description|}}}}}} | {{{Description|{{{description}}}}}} | {{Description missing<noinclude>|category=</noinclude>}} }}
 
{{ #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; vertical-align:top; padding-right: 0.4em" id="fileinfotpl_src" | Source
 
|
 
|
{{#if:{{{Source|{{{source|}}}}}}|{{{Source|{{{source}}}}}}|<includeonly>[[Category:Files with unknown source|{{PAGENAME}}]]</includeonly> No source specified. Please edit this image description and [[FamilySearch Wiki:Verifiable|provide a source]].}}
+
{{#if:{{{Source|{{{source|}}}}}}|{{{Source|{{{source}}}}}}|<includeonly>[[Category:Files with unknown source|{{PAGENAME}}]]</includeonly> {{Description missing|source information|category=}}}}  
 
|- 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 12: Line 12:
 
{{{Date|{{{date}}}}}}
 
{{{Date|{{{date}}}}}}
 
|- valign="top"
 
|- valign="top"
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
+
! style="background: #ccf; text-align: right; vertical-align:top; padding-right: 0.4em" id="fileinfotpl_aut" | Author
 
|
 
|
 
{{ #if: {{{Author|{{{author|}}}}}} | {{{Author|{{{author}}}}}} | {{Description missing|author information|category=}}<includeonly>[[Category:Images lacking an author|{{PAGENAME}}]]</includeonly> }}
 
{{ #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 /><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this image]])</small>
+
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission<br />
 
|
 
|
{{#if:{{{Permission|{{{permission|}}}}}}|{{{Permission|{{{permission}}}}}}|See below.}}
+
{{#if:{{{Permission|{{{permission|}}}}}}|{{{Permission|{{{permission}}}}}}|See license tag below.}}
 
{{#switch: {{{other_versions|}}}
 
{{#switch: {{{other_versions|}}}
 
|  =
 
|  =

Revision as of 17:07, 6 June 2012

Description
Source
Date

{{{date}}}

Author
Permission

See license tag below.

[view] [edit] [history] [purge] Documentation icon Template documentation