close
Sayahna Sayahna
Search

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


m (typo: honorific_suxfix → honorific_suffix)
 
m (1 revision)
 
(No difference)

Latest revision as of 03:31, 22 March 2014

{{Infobox artist}} may be used to summarise information about a person who is an artist.

Usage

{{{honorific_prefix}}}
{{{name}}}
{{{honorific_suffix}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
Native name {{{native_name}}}
Birth name {{{birth_name}}}
Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Resting place {{{resting_place}}}
{{{resting_place_coordinates}}}
Spouse {{{spouse}}}
Nationality {{{nationality}}}
Field {{{field}}}
Training {{{training}}}
Alma mater {{{{alma_mater}}}
Movement {{{movement}}}
Works {{{works}}}
Patrons {{{patrons}}}
Awards {{{awards}}}
Elected {{{elected}}}
Memorials {{{memorials}}}
Website {{{website}}}
{{{module}}}

The infobox may be added by pasting the template as shown below into an article. Only the name parameter is required. For an example, see Salvador Dalí.

{{Infobox artist
| honorific_prefix = 
| name             = 
| honorific_suffix = 
| native_name      = 
| native_name_lang = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| birth_name       = 
| birth_date       = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place      = 
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place      = 
| resting_place    = 
| resting_place_coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
| nationality      = 
| spouse           = 
| field            = 
| training         = 
| alma_mater       = 
| movement         = 
| works            = 
| patrons          = 
| awards           = 
| memorials        = 
| elected          = 
| website          = <!-- {{URL|Example.com}} -->
| bgcolour         = 
| module           = 
}}

Parameters

honorific_prefix Title, e.g. "Sir", "Lord"
name artist's name; usually the article's page name (i.e. the artist's common name)
honorific_suffix initials like "OBE", "FRSA"
image an image of (or, if not available, by) the artist, in the form: "Example.jpg"
image_size * in the form "Npx", resizes the image to a width of N pixels; default is 220px
alt * alt text for the image, for visually impaired readers (see WP:ALT)
caption * caption for the image
native_name name in local language. If more than one, separate using {{Plain list}}
native_name_lang ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
birth_name artist's name at birth, if different than name
birth_date artist's date of birth, use {{birth date and age}} (for living artists) or {{birth date}} for the deceased. Use plain text for partial dates.
birth_place artist's place of birth
death_date artist's date of death, use {{death date and age}}. Use {{death date}} if birth date unknown or incomplete. Use plain text for partial dates.
death_place artist's place of death
resting_place place of burial, ash-scattering, etc.
resting_place_coordinates precise coordinates for place of burial, ash-scattering etc. Use {{coord}} template.
nationality artist's nationality
spouse artist's spouse
field main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
training where or with whom the artist trained
alma_mater The linked name of attended higher education institution(s). See Alma mater
movement artistic movement or school with which artist is associated
works artist's famous/significant/representative works. Works with their own articles should take priority (please limit to 5 at most)
patrons patrons of the artist
awards any awards the artist has won. Consider using the template: {{awd|award|year|title|role|name}}
elected bodies to which the artist has been elected member
memorials Monuments, plaques, entities named after the subject, etc.
website artist's official website, if any. Consider using the template: {{URL|Example.com}}
module an embedded template
bgcolour titlebar colour, in the form "#RRGGBB", where "RR", "GG" and "BB" are the red, green and blue components of the colour, in hexadecimal, e.g. "#FF00FF" = yellow. Set this field to transparent for no colouring. If the field is omitted entirely, a default value of #BCD4E6 (light blue) will be used.
* Only used if the {{{image}}} parameter used.

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

TemplateData

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

Infobox artist

<templatedata>{

 "description": "An infobox for artists.",
 "params": {
   "honorific_prefix": {
     "label": "Honorific prefix",
     "description": "title such as 'Sir', 'Lord'",
     "type": "string/wiki-page-name",
     "required": false
   },
   "name": {
     "label": "Name",
     "description": "Name of the artist. If not specified, the PAGENAME is used.",
     "type": "string/line",
     "default": "PAGENAME",
     "required": false
   },
   "honorific_suffix": {
     "label": "Honorific suffix",
     "description": "initials such as 'OBE', 'FRSA'",
     "type": "string/wiki-page-name",
     "required": false
   },
   "image": {
     "label": "Image",
     "description": "Filename for the image (e.g. 'Example.jpg').",
     "type": "string/wiki-page-name",
     "required": false
   },
   "image_size": {
     "label": "Image size",
     "description": "Size of the image (e.g. '220px').",
     "type": "string/line",
     "default": "varies",
     "required": false,
     "aliases": [ "imagesize" ]
   },
   "alt": {
     "label": "Alternative text",
     "description": "Alternative text for the image.",
     "type": "string/line",
     "required": false
   },
   "caption": {
     "label": "Caption",
     "description": "Caption for the image.",
     "type": "string",
     "required": false
   },
   "birth_name": {
     "label": "Birth name",
     "description": "Artist's name at birth, if different from 'name'.",
     "type": "string",
     "required": false,
     "aliases": [ "birthname" ]
   },
   "birth_date": {
     "label": "Birth date",
     "description": "Artist's date of birth. Use  ({{{year}}}-{{{month}}}-{{{day}}}) Expression error: Unrecognized punctuation character "{"., {{{year}}} (വയസ്സ് Expression error: Unrecognized punctuation character "{".) (for living artists) or ({{{year}}}-Expression error: Unrecognized punctuation character "{".-{{{day}}})Expression error: Unrecognized punctuation character "{"., Expression error: Unrecognized punctuation character "{". for the deceased.",
     "type": "string/line",
     "required": false
   },
   "birth_place": {
     "label": "Birth place",
     "description": "Artist's place of birth.",
     "type": "string/line",
     "required": false
   },
   "death_date": {
     "label": "Death date",
     "description": "Artist's date of death. Use Expression error: Unrecognized punctuation character "{"., {{{1}}}({{{1}}}-Expression error: Unrecognized punctuation character "{".-{{{3}}}) (വയസ്സ് Expression error: Unrecognized punctuation character "{".). Use Template:Death date if birth date unknown or incomplete.",
     "type": "string/line",
     "required": false
   },
   "death_place": {
     "label": "Death place",
     "description": "Artist's place of death.",
     "type": "string/line",
     "required": false
   },
   "resting_place": {
     "label": "Resting place",
     "description": "Artist's grave, etc.",
     "type": "string/line",
     "required": false
   },
   "resting_place_coordinates": {
     "label": "Resting place",
     "description": "Coordinates of artist's grave, etc.",
     "type": "string/line",
     "required": false
   },
   "nationality": {
     "label": "Nationality",
     "description": "Artist's nationality.",
     "type": "string/line",
     "required": false
   },
   "spouse": {
     "label": "Spouse",
     "description": "Artist's spouse.",
     "type": "string/line",
     "required": false
   },
   "field": {
     "label": "Field",
     "description": "Main field(s) in which the artist works or worked (e.g. photography, painting, drawing, etc.).",
     "type": "string/line",
     "required": false
   },
   "training": {
     "label": "Training",
     "description": "Where or with whom the artist trained.",
     "type": "string/line",
     "required": false
   },
   "movement": {
     "label": "Movement",
     "description": "Artistic movement or school with which artist is associated.",
     "type": "string/line",
     "required": false
   },
   "works": {
     "label": "Works",
     "description": "Artist's famous/significant/representative works. Please limit to five works.",
     "type": "string/line",
     "required": false,
     "aliases": [ "notable_works" ]
   },
   "patrons": {
     "label": "Patrons",
     "description": "Patrons of the artist.",
     "type": "string/line",
     "required": false
   },
   "awards": {
     "label": "Awards",
     "description": "Awards won by the artist. Consider using Template:Awd.",
     "type": "string/line",
     "required": false
   },
   "elected": {
     "label": "Elected bodies",
     "description": "Bodies to which the artist has been elected.",
     "type": "string/line",
     "required": false
   },
   "website": {
     "label": "Official website",
     "description": "Artist's official website. Consider using {{URL|example.com|optional display text}}.",
     "type": "string/line",
     "required": false
   },
   "bgcolour": {
     "label": "Background colour",
     "description": "HTML color code of the infobox titlebar, or 'transparent' for a transparent titlebar.",
     "type": "string/line",
     "default": "#BCD4E6",
     "required": false
   },
   "embed": {
           "label": "embed",
           "description": "Whether this template is embedded in another infobox.",
           "type": "string/line",
           "required": true
   }
 }

}</templatedata>

See also