Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox file: Difference between revisions

Template page
Content added Content deleted
(template created)
 
(template updated)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<onlyinclude><div style="border:solid 2px #cf8b54; padding:1px; background-color:; font-size:95%; text-align:left; width:auto;">
{|style="width:100%;"
{|class="wikitable" style="width:100%;"
|-
|-
|style="width:3em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white;" | '''Description:'''
{{#if:{{{description}}}|{{!}}style="width:10em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Description'''
|style="border-bottom:; background:#ffffff; padding-left:5px;" | {{{1|{{{Description}}}}}}
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{description}}}}}
|-
|-
|style="width:3em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white;" | '''Date:'''
{{#if:{{{author}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Author'''
|style="border-bottom:; background:#ffffff; padding-left:5px;" | {{{2|{{{Date}}}}}}
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{author}}}}}
|-
|-
|style="width:3em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white;" | '''Source:'''
{{#if:{{{published_date}}}|{{!}}style="width:10em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Published date'''
|style="border-bottom:; background:#ffffff; padding-left:5px;" | {{{3|{{{Source}}}}}}
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{published_date}}}}}
|-
|-
|style="width:3em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white;" | '''Author:'''
{{#if:{{{published_by}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Published by'''
|style="border-bottom:; background:#ffffff; padding-left:5px;" | {{{4|{{{Author}}}}}}
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{published_by}}}}}
|-
|-
|style="width:3em; background:#cf8b54; padding-left:5px; text-align:right; padding-right:5px; color:white;" | '''Licensing:'''
{{#if:{{{source}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Source'''
|style="background:#ffffff; padding-left:5px;" | {{{5|{{{Licensing}}}}}}
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{source}}}}}
|}
|-
{{#if:{{{catalogue_number}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Catalogue No.'''
</div></onlyinclude>
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{catalogue_number}}}}}

|-
=== Usage ===
{{#if:{{{database_number}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Database No.'''
<pre>{{File-infobox
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{database_number}}}}}
|Description=
|-
|Date=
{{#if:{{{permission}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Permission'''
|Source=
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{permission}}}}}
|Author=
|-
|Licensing=}}</pre>
{{#if:{{{series}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''Series'''

{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{series}}}}}
<noinclude>
|-
[[Category:Template]]
{{#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}}}}}
|-
{{#if:{{{file_type}}}|{{!}}style="width:9em; background:#; text-align:; padding-right:5px; color:#50ab8a;" {{!}} '''File type'''
{{!}}style="padding-left:5px; vertical-align: top;" colspan="2" {{!}} {{{file_type}}}}}
|}</includeonly><noinclude>{{doc|{{Infobox file/doc}}}}</noinclude>

Latest revision as of 10:55, 30 April 2024

Template documentation

Usage

This infobox template should always be used to provide additional information relating to the uploaded file on individual file pages. Unused parameters will be hidden. Copy and paste the following into the summary section on the file page and fill out as many parameters as necessary. Licensing should be included for all files uploaded below this template.

{{Infobox file
 |description      =
 |author           =
 |published_date   =
 |published_by     =
 |source           = 
 |catalogue_number =
 |database_number  =
 |permission       =
 |series           =
 |subject          =
 |file_type        =
}}

Example

Below is how it looks with most of the parameters filled in.

Description Men of the Lonsdale Battalion involved with bayonet training.
Author Various authors and illustrators.
Published date 1915
Source The Lonsdale Battalion Border Regiment, September 1914 to June 1915.
Permission This publication is in the Public Domain. It is no longer in copyright in the United Kingdom and the United States of America.
Subject Military
File type Photograph
The above documentation is transcluded from Template:Infobox file/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.