A Project of the Center for Advanced Study in the Visual Arts, National Gallery of Art
History of Early American Landscape Design

Difference between revisions of "Template:Infobox artwork/doc"

[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
m (1 revision)
 
(No difference)

Latest revision as of 17:31, April 18, 2012

{{#invoke:Fallback | autotranslate

      |base = Documentation subpage
      |lang = 
      |page = Template:Infobox artwork
    }}

Usage

The Potato Eaters
300px
Artist Vincent van Gogh
Year 1885 (1885)
Type Oil on canvas
Dimensions 82 cm × 114 cm (32¼ in × 45 in)
Location Van Gogh Museum, Amsterdam
Owner Made-up Foundation

{{#invoke:Coordinates|coord}}

Fatal error: The format of the coordinate could not be determined. Parsing failed.



{{#invoke:Italic title|main}}

{{Infobox artwork
| image_file = Vincent Van Gogh - The_Potato_Eaters.png
| painting_alignment = right
| image_size         = 300px
| title              = The Potato Eaters
| alt                = Two men and three women eating potatoes.
| type               = [[Oil painting|Oil on canvas]]
| artist             = [[Vincent van Gogh]]
| year               = {{Start date|1885}}
| height_metric      = 82
| width_metric       = 114
| height_imperial    = 32¼
| width_imperial     = 45
| 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}} <!-- Only use for the exact coordinates of the artwork itself (and only where known) and not for the coordinates of the museum. Leave blank if coordinates are not known. -->
| owner              = Made-up Foundation
}}

Empty template

{{Infobox artwork
| image_file         = 
| caption            = 
| painting_alignment = 
| image_size         = 
| title              = 
| alt                = 
| other_language_1   = 
| other_title_1      = 
| other_language_2   = 
| other_title_2      = 
| artist             = 
| year               = {{start date|YYYY}} <!--remove date template if before 1583 CE -->
| type               = 
| material           = 
| height_metric      = 
| width_metric       = 
| length_metric      = 
| height_imperial    = 
| width_imperial     = 
| length_imperial    = 
| diameter_metric    = 
| diameter_imperial  = 
| dimensions         = 
| metric_unit        = cm<!--don't leave this parameter blank—either don't include it, or include the default cm. Not including it will default it to cm.-->
| imperial_unit      = in<!--don't leave this parameter blank—either don't include it, or include the default in. Not including it will default it to in.-->
| city               = 
| museum             = 
| coordinates        = <!-- Only use for the exact coordinates of the artwork itself (and only where known) and not for the coordinates of the museum. Leave blank if coordinates are not known. -->
| owner              = 
}}

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, and diameter_imperial define the respective values for Imperial or US customary units like the foot or inch.
  • height_metric, width_metric, length_metric, and diameter_metric define the respective values for SI (metric) units like the metre or centimetre (or, in U.S. spelling, the meter and 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.

Microformat

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCalendar uses HTML classes including:

  • 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


Retrieved from "https://heald.nga.gov/mediawiki/index.php?title=Template:Infobox_artwork/doc&oldid=1170"

History of Early American Landscape Design contributors, "Template:Infobox artwork/doc," History of Early American Landscape Design, , https://heald.nga.gov/mediawiki/index.php?title=Template:Infobox_artwork/doc&oldid=1170 (accessed April 16, 2024).

A Project of the Center for Advanced Study in the Visual Arts

National Gallery of Art, Washington