Template:Infobox artwork/doc
This is a documentation subpage for Template:Infobox artwork. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
File:Information icon4.svg | This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force . |
File:Lua-Logo.svg | This template uses Lua: |
Usage
{{{title}}} | |
---|---|
{{{other_language_1}}}: {{{other_title_1}}}, {{{other_language_2}}}: {{{other_title_2}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Lua error in Module:Location_map at line 408: Malformed coordinates value. | |
Artist | {{{artist}}} |
Year | {{{year}}} |
Catalogue | {{{catalogue}}} |
Medium | {{{medium}}} |
Movement | {{{movement}}} |
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}}} |
Weight | {{{weight}}} |
Designation | {{{designation}}} |
Condition | {{{condition}}} |
Location | {{{museum}}}, {{{city}}} |
Lua error: callParserFunction: function "#coordinates" was not found. | |
Owner | {{{owner}}} |
Accession | {{{accession}}} |
Preceded by | {{{preceded_by}}} |
Followed by | {{{followed_by}}} |
{{{module}}} | |
Website | {{{website}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto"> </syntaxhighlight>
Parameters
- title
- The title of the artwork. Defaults to the page name.
- painting_alignment
- The alignment of the infobox. Defaults to right-alignment. It should almost always be "right", but can also be "left".
- other_language_1
- Language of secondary title
- other_title_1
- Secondary title. Italicized unless
|italic other_title_1=no
. - other_language_2
- Language of tertiary title
- other_title_2
- Tertiary title. Italicized unless
|italic other_title_2=no
. - wikidata
- QID of the specific Wikidata item
- image
- The name of the image file to display, without the "File:" prefix
- image_upright
- Image scaling factor; see WP:IMGSIZE for the image size policy
- alt
- Alternative text for image
- caption
- Caption for image
- artist
- Name of the artist(s) who created the piece
- year
- Use {{start date}} unless before 1583 CE.
- completion_date
- Use {{start date}}; alternative to
|year=
. - catalogue
- Reference in a catalogue raisonné.
- type
- Deprecated due to ambiguity. Use medium and movement instead.
- medium
- Material used by the artist or designer to create the work of art. Examples: "Oil on canvas", "Bronze sculpture", "Ceramic tile"
- movement
- Art movement, or movements, typically associated with work of art or time during artist's career when work of art was created. Must be verifiable through sources. Examples: "Post-Impressionism", "Pop art"
- subject
- Subject(s) of the artwork
- dimensions
- See #Dimensional parameters section below
- weight
- Weight of the artwork ()
- designation
- Legal protection granted to the artwork
- condition
- Condition of the artwork
- museum
- Museum that currently houses the artwork
- city
- City in which the artwork is currently located
- 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
- Current owner of the artwork
- accession
- Accession or similar reference in the museum's database.
- preceded_by
- Preceding work by the same artist
- followed_by
- Next work by the same artist
- module
- an embedded template
- website
- Use {{URL}}, but only for an official webpage or website.
Dimensional parameters
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. Do not use a comma as decimal indicator for metric units (as used in some European and other countries) since the conversion does not recognize commas and the imperial measurement will be calculated incorrectly (e.g. use 30.8 not 30,8).
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
The coordinates=
parameter is used to display coordinates in the infobox, and optionally at the top of the page; use the {{coord}} template.
Two types of maps are available: pushpin maps (static) or mapframe maps (dynamic).
Pushpin maps
<syntaxhighlight lang="wikitext" style="overflow:auto"> {{Infobox artwork ... | coordinates = | pushpin_map = | pushpin_map_alt = | pushpin_relief = | pushpin_label_position = | map_dot_label = | map_size = | pushpin_map_caption = ... }} </syntaxhighlight>
Mapframe maps
A Mapframe map is automatically included if:
- It has been turned on by setting
|mapframe=yes
- There are coordinates specified in
|coord=
, or if the Wikidata item for the page (or as specified in|qid=
) has a value for Lua error in Module:Wd at line 616: attempt to index field 'wikibase' (a nil value). (P625) - No pushpin map has been specified
The following optional parameters can then be used to adjust the map Template:Infobox mapframe/doc/parameters
Map type
A list of modules containing maps that may be used can be found at:
Examples
Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24". <syntaxhighlight lang="wikitext" style="overflow:auto;"> Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24". </syntaxhighlight>
Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24". <syntaxhighlight lang="wikitext" style="overflow:auto"> Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".
</syntaxhighlight>
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Click here to see a monthly parameter usage report for this template based on this TemplateData.
Lua error: Internal error: The interpreter has terminated with signal "24".
TemplateData for Infobox artwork An infobox for artwork
|
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 of this microformat include:
- Lua error: Internal error: The interpreter has terminated with signal "24".
nor collapse nested elements which use them.
Tracking categories
- [[:Category:Lua error: Internal error: The interpreter has terminated with signal "24".|Category:Lua error: Internal error: The interpreter has terminated with signal "24".]] (0)
- [[:Category:Lua error: Internal error: The interpreter has terminated with signal "24".|Category:Lua error: Internal error: The interpreter has terminated with signal "24".]] (0) (can be safely removed or ignored)
- [[:Category:Lua error: Internal error: The interpreter has terminated with signal "24".|Category:Lua error: Internal error: The interpreter has terminated with signal "24".]] (0) (can be replaced with
|medium=
) - [[:Category:Lua error: Internal error: The interpreter has terminated with signal "24".|Category:Lua error: Internal error: The interpreter has terminated with signal "24".]] (0) (for potential linking)
See also
- {{Infobox artwork/wikidata}}
- {{Infobox artist}}
- {{Image information art}}, for image pages.
Lua error: Internal error: The interpreter has terminated with signal "24".