Permanently protected template

Template:Infobox artwork

From Wikipedia, the free encyclopedia
  (Redirected from Template:Artwork)
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]
{{{title}}}
[[File:{{{image_file}}}|{{{image_size}}}
|alt={{{alt}}}|upright=1.36|{{{alt}}}]]
{{{caption}}}
Artist {{{artist}}}
Year {{{year}}}
Catalogue {{{catalogue}}}
Type {{{type}}}
Material {{{material}}}
Subject {{{subject}}}
Dimensions {{{height_metric}}} cm × {{{width_metric}}} cm × {{{length_metric}}} cm ({{{height_imperial}}} in × {{{width_imperial}}} in × {{{length_imperial}}} in); {{{diameter_metric}}} cm diameter ({{{diameter_imperial}}} in); {{{dimensions}}}‍{{{dimensions_ref}}}
Condition {{{condition}}}
Coordinates {{{coordinates}}}
Owner {{{owner}}}
Accession {{{accession}}}
URL {{{url}}}

Blank syntax

 {{Infobox artwork
 | title = 
 | painting_alignment = 
 | other_language_1 = 
 | other_title_1 = 
 | other_language_2 = 
 | other_title_2 = 
 | image_file = 
 | image_size = 
 | alt = 
 | caption = 
 | artist = 
 | catalogue = 
 | year =               <!-- If after 1583 CE, use {{start date|YYYY}} -->
 | completion_date =    <!-- For a more specific date (post-1583): {{start date|YYYY|MM|DD|df=y}} -->
 | type = 
 | material = 
 | subject = 
 | height_metric =      <!-- (i.e. in metric units) -->
 | width_metric = 
 | length_metric = 
 | diameter_metric = 
 | height_imperial =    <!-- (i.e. in imperial units) -->
 | width_imperial = 
 | length_imperial = 
 | diameter_imperial = 
 | dimensions = 
 | dimensions_ref = 
 | metric_unit = cm     <!-- Note: this parameter must either use the value given or not be included -->
 | imperial_unit = in   <!-- Note: this parameter must either use the value given or not be included -->
 | condition = 
 | city = 
 | museum = 
 | accession = 
 | coordinates =        <!-- Only use for the coordinates (when known) of the artwork itself, i.e. not for the site, building, structure, etc where it is kept, otherwise leave blank (or omit): {{coord|LAT|LON|type:landmark|display=inline,title}} -->
 | owner = 
 | url =                <!-- Official webpage/site only: {{URL|example.com}} -->
 }}

Parameters

title 
painting_alignment 
image_file 
image_size 
alt 
caption 
other_language_1 
other_title_1 
other_language_2 
other_title_2 
artist 
catalogue 
Reference in a catalogue raisonné.
year 
Use {{start date}} unless before 1583 CE.
completion_date 
Use {{start date}}; alternative to |year=.
type 
material 
subject 
condition 
city 
museum 
accession 
Accession or similar reference in the museum's database.
coordinates 
Use {{coord}}, but only for the exact coordinates (when known) of the artwork's own location, i.e. not coordinates for the site, building, structure, etc where it is kept; leave blank otherwise.
owner 
url 
Use {{URL}}, but only for an official webpage or website.

Dimensional data

This template includes code that allows input of dimensional information: any of height, width, length, and diameter, as well as a freeform parameter for adding nonstandard information.

There are 11 parameters, of which most fall into two groups of unit types:

  • height_imperial
  • width_imperial
  • length_imperial
  • diameter_imperial
These define the respective values for Imperial or US customary units such as the foot or inch. If the imperial unit is set to feet, inch specification can be added with height_inch, width_inch, length_inch, otherwise these _inch-suffixed parameters should not be used.
  • height_metric
  • width_metric
  • length_metric
  • diameter_metric
These define the respective values for SI (metric) units such as the metre (meter) or centimetre (centimeter).

Once raw numerical values are established in the above parameters, the units are set in the imperial_unit and metric_unit parameters, which default to inches and centimetres respectively.

If information is provided in only one unit system, it is automatically converted to the other using the unit that is defined for that system. In general, this should be used, as for most pieces of artwork measurements will only be taken in one unit system.

Users should take care to avoid false precision: measurements should be provided in the same unit, and with the same number of significant digits, as when they were taken. ("1 metre" is far less precise than "1000.00 millimetres", even though they are, in theory, the same length!)

If additional dimensional data is needed, the dimensions parameter can be used to add freeform information to the end of the rendered string. This parameter accepts raw wikitext and is not subject to any automatic conversion or modification ({{convert}} would have to be used manually).

References concerning artwork dimensions can be appended to the dimensional data by placing them in the optional dimensions_ref parameter.

Map and coordinates

It's usually not necessary to use the coordinates= parameter.

  • The latitude and longitude of the sculpture may be specified:
    • in decimal degrees, using latitude= and longitude= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To display coordinates at the top of the page, set coordinates_display= to any non-blank value. Otherwise coordinates will appear in the infobox only.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can be specified using the iso_region= parameter.

One advantage of omitting the coordinates= parameter is that you can display a {{Location map}} without duplicating coordinates.

{{Infobox artwork
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
| iso_region = 
| coordinates_format = 
| coordinates_display = <!-- non-blank to display coordinates at the top of the page. -->
| iso_region          = <!-- To override any automatically determined region code. -->
| pushpin_map_alt     = <!-- Location name used for Template:Location map -->
| map_alt             = <!-- Alternative text for map image, see WP:ALT for details -->
| pushpin_label_position =
| map_dot_label       = 
| map_size            = 
| pushpin_map_caption = <!-- Text to be displayed below map; for no caption enter "pushpin_map_caption="; 
...
}}
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox artwork
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
...
}}
Parameters to specify coordinates in decimal degrees:
{{Infobox artwork
...
| latitude  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| longitude = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 
...
}}

Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:

  • Incorrect: | longitude = - 123.45
  • Correct: | longitude = -123.45

Examples

The Potato Eaters
Two men and three women eating potatoes
Artist Vincent van Gogh
Year 1885 (1885)
Catalogue F123
Type Oil on canvas
Dimensions 82 cm × 114 cm (3214 in × 45 in)
Condition lost
Coordinates 52°21′30.30″N 4°52′51.90″E / 52.3584167°N 4.8810833°E / 52.3584167; 4.8810833
Owner Made-up Foundation
Accession 1903-1234
URL example.com
{{Infobox artwork
| title = The Potato Eaters
| painting_alignment = right
| image_file = Vincent Van Gogh - The_Potato_Eaters.png
| alt = Two men and three women eating potatoes
| caption = 
| image_size = 300px
| other_language_1 = [[Dutch language|Dutch]]
| other_title_1 = De Aardappeleters
| type = [[Oil painting|Oil on canvas]]
| artist = [[Vincent van Gogh]]
| year = {{start date|1885}}
| catalogue = F123
| height_metric = 82
| width_metric = 114
| height_imperial = 32{{1/4}}
| width_imperial = 45
| condition = lost
| city = [[Amsterdam]]
| museum = [[Van Gogh Museum]]
| coordinates = {{coord|52|21|30.30|N|4|52|51.90|E|region:NL_type:landmark|display=inline<!--,title-->}}
| owner = Made-up Foundation
| accession = 1903-1234
| url = {{URL|example.com}}
}}
Manneken Pis
Bruxelles Manneken Pis.jpg
Manneken Pis is located in Brussels
Manneken Pis
Manneken Pis
Artist Jerome Duquesnoy
Year 1388: original version
1619 (1619): current version
Type Bronze
Dimensions 61 cm (24 in)
Coordinates 50°50′42″N 4°21′00″E / 50.84499°N 4.34998°E / 50.84499; 4.34998
{{Infobox artwork
 | image  = Bruxelles Manneken Pis.jpg{{!}}border
 | image_size=250px
 | title  = ''Manneken Pis''
 | artist = Jerome Duquesnoy
 | year   = 1388: original version<br />{{Start date|1619}}: current version
 | type   = Bronze
 | height_metric = 61
 | city   = [[Brussels]]
 | latitude = 50.84499
 | longitude = 4.34998
 | iso_region = BE
 | coordinates_format=dms
 | pushpin_map = Belgium Brussels
 | map_size = 250
}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Infobox artwork

An infobox for artwork

Template parameters
Parameter Description Type Status
Title title

The title of the artwork. Defaults to the page name.

Default
empty
Example
empty
Auto value
empty
string optional
Image file image_file

The name of the image file to display, without the "File:" prefix

Default
empty
Example
empty
Auto value
empty
string optional
Image size image_size

The size of the image in pixels, optionally suffixed by "px"

Default
empty
Example
empty
Auto value
empty
number optional
Image alternative text alt

A description of the image that can be displayed instead of the image and/or read by the blind

Default
empty
Example
empty
Auto value
empty
string optional
Caption caption

A caption to be displayed under the image

Default
empty
Example
empty
Auto value
empty
string optional
Infobox alignment painting_alignment

The alignment of the infobox. It should almost always be "right", but can also be "left". Defaults to right-alignment.

Default
empty
Example
empty
Auto value
empty
string optional
Secondary title language other_language_1

The language of a secondary title

Default
empty
Example
empty
Auto value
empty
string optional
Secondary title other_title_1

A secondary title.

Default
empty
Example
empty
Auto value
empty
string optional
Tertiary title language other_language_2

The language of a tertiary title

Default
empty
Example
empty
Auto value
empty
string optional
Tertiary title other_title_2

A tertiary title.

Default
empty
Example
empty
Auto value
empty
string optional
Artist name artist

The name of the artist(s) who created the piece

Default
empty
Example
empty
Auto value
empty
string optional
Year year

The year the artwork was created

Default
empty
Example
empty
Auto value
empty
string optional
Completion date completion_date

The date the artwork was completed. Appears only if the year parameter is undefined.

Default
empty
Example
empty
Auto value
empty
string optional
Catalogue number catalogue

The number of the artwork in a catalogue raisonné, e.g. "F454"

Default
empty
Example
empty
Auto value
empty
string optional
Type type

The type of the artwork, e.g. "Fresco"

Default
empty
Example
empty
Auto value
empty
string optional
Material material

The material(s) of the artwork, e.g. "Marble"

Default
empty
Example
empty
Auto value
empty
string optional
Subject subject

The subject(s) of the artwork

Default
empty
Example
empty
Auto value
empty
string optional
Height (metric) height_metric

The height of the artwork in metres, centimetres, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Width (metric) width_metric

The width of the artwork in metres, centimetres, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Length (metric) length_metric

The length of the artwork in metres, centimetres, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Height (imperial) height_imperial

The height of the artwork in feet, inches, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Height (inch addition) height_inch

If the imperial unit is set to feet, this allows inch precision to be added to the height

Default
empty
Example
empty
Auto value
empty
number optional
Width (imperial) width_imperial

The width of the artwork in feet, inches, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Width (inch addition) width_inch

If the imperial unit is set to feet, this allows inch precision to be added to the width

Default
empty
Example
empty
Auto value
empty
number optional
Length (imperial) length_imperial

The length of the artwork in feet, inches, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Length (inch addition) length_inch

If the imperial unit is set to feet, this allows inch precision to be added to the length, without unit

Default
empty
Example
empty
Auto value
empty
number optional
Diameter (metric) diameter_metric

The diameter of the artwork in metres, centimetres, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Diameter (imperial) diameter_imperial

The diameter of the artwork in feet, inches, etc., without unit

Default
empty
Example
empty
Auto value
empty
number optional
Metric unit metric_unit

The unit to use as the metric unit, e.g. "m" or "cm"

Default
cm
Example
empty
Auto value
empty
string optional
Imperial unit imperial_unit

The unit to use as the imperial or US customary unit, e.g. "in" or "ft"

Default
in
Example
empty
Auto value
empty
string optional
Dimensions dimensions

Additional or nonstandard dimensional data can be placed here as raw wikitext.

Default
empty
Example
empty
Auto value
empty
string optional
Dimensions reference(s) dimensions_ref

Any references concerning the artwork's dimensions can be placed here as raw wikitext (including "ref" tags).

Default
empty
Example
empty
Auto value
empty
string optional
Weight weight

The weight of the artwork

Default
empty
Example
empty
Auto value
empty
string optional
Condition condition

The condition of the artwork

Default
empty
Example
empty
Auto value
empty
string optional
Owner owner

The current owner of the artwork

Default
empty
Example
empty
Auto value
empty
string optional
Accession number accession

The accession number(s) for the artwork

Default
empty
Example
empty
Auto value
empty
string optional
Museum museum

The museum that currently houses the artwork

Default
empty
Example
empty
Auto value
empty
string optional
City city

The city in which the artwork is currently located

Default
empty
Example
empty
Auto value
empty
string optional
Coordinates coordinates

Coordinates for the artwork, input as a coordinate template

Default
empty
Example
empty
Auto value
empty
string optional
URL url

A URL for the artwork, input as a URL template

Default
empty
Example
empty
Auto value
empty
string optional

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
Classes used

The HTML classes this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also