Template:Infobox file: Difference between revisions

template updated
(table updated, using different class)
(template updated)
 
(One intermediate revision by the same user not shown)
Line 1:
<includeonly>
<onlyinclude>
{|class="rohtablewikitable" style="width:100%;"
|-
{{#if:{{{description}}}|{{!}}style="width:9em10em; background:#50ab8a; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''Description'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{description}}}}}
|{{{1|{{{Description}}}}}}
|-
{{#if:{{{author}}}|{{!}}style="width:9em; background:#50ab8a; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''DateAuthor'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{author}}}}}
|{{{2|{{{Date}}}}}}
|-
{{#if:{{{published_date}}}|{{!}}style="width:9em10em; background:#50ab8a; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''SourcePublished date'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{published_date}}}}}
|{{{3|{{{Source}}}}}}
|-
{{#if:{{{published_by}}}|{{!}}style="width:9em; background:#50ab8a; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''AuthorPublished by'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{published_by}}}}}
|{{{4|{{{Author}}}}}}
|-
{{#if:{{{source}}}|{{!}}style="width:9em; background:#50ab8a; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''PublishedSource'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{source}}}}}
|{{{5|{{{Published}}}}}}
|-
{{#if:{{{catalogue_number}}}|{{!}}style="width:9em; background:#50ab8a; text-align:right; padding-right:5px; color:white#50ab8a;" |{{!}} '''LicensingCatalogue No.'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{catalogue_number}}}}}
|{{{6|{{{Licensing}}}}}}
|-
|}</onlyinclude>
{{#if:{{{database_number}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Database No.'''
=== Usage ===
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{database_number}}}}}
<pre>{{File-infobox
|-
|Description=
{{#if:{{{permission}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Permission'''
|Date=
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{permission}}}}}
|Source=
|-
|Author=
{{#if:{{{series}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Series'''
|Published=
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{series}}}}}
|Licensing=}}</pre>
|-
 
{{#if:{{{subject}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Subject'''
<noinclude>
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{subject}}}}}
[[Category:Template]]
|-
[[Category:Infobox templates]]
{{#if:{{{file_type}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''File type'''
</noinclude>
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{file_type}}}}}
|}</includeonly><noinclude>{{doc|{{Infobox file/doc}}}}</noinclude>