Template:Infobox file: Difference between revisions

template updated
(one category added)
(template updated)
 
(2 intermediate revisions by the same user not shown)
Line 1:
<includeonly>
<onlyinclude><div style="border:solid 2px #cf8b54; padding:1px; background-color:; font-size:95%; text-align:left; width:auto;">
{|class="wikitable" style="width:100%;"
|-
{{#if:{{{description}}}|{{!}}style="width:3em10em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Description:'''
|{{!}}style="borderpadding-bottomleft:5px; background:#ffffff; paddingvertical-leftalign:5px top;" |colspan="2" {{!}} {1|{{{Description}description}}}}}
|-
{{#if:{{{author}}}|{{!}}style="width:3em9em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Date:Author'''
|{{!}}style="borderpadding-bottomleft:5px; background:#ffffff; paddingvertical-leftalign:5px top;" |colspan="2" {{!}} {2|{{{Date}author}}}}}
|-
{{#if:{{{published_date}}}|{{!}}style="width:3em10em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Source:Published date'''
|{{!}}style="borderpadding-bottomleft:5px; background:#ffffff; paddingvertical-leftalign:5px top;" |colspan="2" {{!}} {3|{{{Source}published_date}}}}}
|-
{{#if:{{{published_by}}}|{{!}}style="width:3em9em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Author:Published by'''
|{{!}}style="borderpadding-bottomleft:5px; background:#ffffff; paddingvertical-leftalign:5px top;" |colspan="2" {{!}} {4|{{{Author}published_by}}}}}
|-
{{#if:{{{source}}}|{{!}}style="width:3em9em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Published:Source'''
|{{!}}style="borderpadding-bottomleft:5px; background:#ffffff; paddingvertical-leftalign:5px top;" |colspan="2" {{!}} {5|{{{Published}source}}}}}
|-
{{#if:{{{catalogue_number}}}|{{!}}style="width:3em9em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Licensing:Catalogue No.'''
|{{!}}style="background:#ffffff; padding-left:5px; vertical-align: top;" |colspan="2" {{!}} {6|{{{Licensing}catalogue_number}}}}}
|}-
{{#if:{{{database_number}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Database No.'''
</div></onlyinclude>
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{database_number}}}}}
 
|-
=== Usage ===
{{#if:{{{permission}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Permission'''
<pre>{{File-infobox
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{permission}}}}}
|Description=
|-
|Date=
{{#if:{{{series}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Series'''
|Source=
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{series}}}}}
|Author=
|-
|Published=
{{#if:{{{subject}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Subject'''
|Licensing=}}</pre>
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{subject}}}}}
 
|-
<noinclude>
{{#if:{{{file_type}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''File type'''
[[Category:Template]]
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{file_type}}}}}
[[Category:Infobox templates]]
|}</includeonly><noinclude>{{doc|{{Infobox file/doc}}}}</noinclude>
</noinclude>