Difference between revisions of "Template:Information"

From Self-sufficiency
Jump to: navigation, search
(standardizing missing data warnings, as discussed on the talk page, the Village Pump and IRC)
m (removing ugly empty paragraph in permission cell)
Line 18: Line 18:
 
! 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>
 
|
 
|
{{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | see below }}
+
{{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | see below }}{{#switch: {{{other_versions|{{{Other_versions|}}}}}}
{{#switch: {{{other_versions|{{{Other_versions|}}}}}}
+
 
|  =
 
|  =
 
| - =
 
| - =
 
| none =
 
| 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>
 
| #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|{{{Other_versions|}}}}}}</td></tr>}}
+
{{{other_versions|{{{Other_versions|}}}}}}</td></tr>}}{{{other_fields|}}}
{{{other_fields|}}}
+
 
|}<!-- Do not remove the following code. It is included for machine readability --><span id="field-description" title="{{urlencode:{{{Description|}}}{{{description|}}}}}"></span><span id="field-source" title="{{urlencode:{{{Source|}}}{{{source|}}}}}"></span><span id="field-date" title="{{urlencode:{{{Date|}}}{{{date|}}}}}"></span><span id="field-author" title="{{urlencode:{{{Author|}}}{{{author|}}}}}"></span><span id="field-permission" title="{{urlencode:{{{Permission|}}}{{{permission|}}}}}"></span><span id="field-otherversions" title="{{urlencode:{{{other_versions|{{{Other_versions|}}}}}}}}"></span></includeonly><noinclude>
 
|}<!-- Do not remove the following code. It is included for machine readability --><span id="field-description" title="{{urlencode:{{{Description|}}}{{{description|}}}}}"></span><span id="field-source" title="{{urlencode:{{{Source|}}}{{{source|}}}}}"></span><span id="field-date" title="{{urlencode:{{{Date|}}}{{{date|}}}}}"></span><span id="field-author" title="{{urlencode:{{{Author|}}}{{{author|}}}}}"></span><span id="field-permission" title="{{urlencode:{{{Permission|}}}{{{permission|}}}}}"></span><span id="field-otherversions" title="{{urlencode:{{{other_versions|{{{Other_versions|}}}}}}}}"></span></includeonly><noinclude>
  

Revision as of 03:15, 27 December 2008

Template:Hidden codeTemplate:Heavily used template