Template:Infobox artist/doc

From Zoophilia Wiki
Revision as of 03:08, 12 December 2013 by meta>Guoguo12 (Add "spouse" to list of parameters)
Jump to navigationJump to search

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

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Born
{{{birth_name}}}

{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Nationality{{{nationality}}}
Education{{{training}}}
Known for{{{field}}}
Notable work{{{works}}}
Movement{{{movement}}}
Spouse{{{spouse}}}
Awards{{{awards}}}
Elected{{{elected}}}
Patron(s){{{patrons}}}
Website{{{website}}}

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
| name          = 
| 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   = 
| nationality   = 
| spouse        = 
| field         = 
| training      = 
| movement      = 
| works         = 
| patrons       = 
| awards        = 
| elected       = 
| website       = <!-- {{URL|Example.com}} -->
| bgcolour      = 
}}

Parameters

name artist's name; usually the article's page name (i.e. the artist's common name)
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
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
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
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
website artist's official website, if any. Consider using the template: {{URL|Example.com}}
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). Be cautious about using these if the person is still living, per WP:DOB.

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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Infobox artist

An infobox for artists.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the artist. If not specified, the PAGENAME is used.

Default
PAGENAME
Lineoptional
Imageimage

Filename for the image (e.g. 'Example.jpg').

Page nameoptional
Image sizeimage_size imagesize

Size of the image (e.g. '220px').

Default
varies
Lineoptional
Alternative textalt

Alternative text for the image. In situations where the image is not available to the reader, the alternative text ensures that no information or functionality is lost.

Lineoptional
Captioncaption

Caption for the image.

Stringoptional
Birth namebirth_name birthname

Artist's name at birth, if different from 'name'.

Stringoptional
Birth datebirth_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.

Lineoptional
Birth placebirth_place

Artist's place of birth.

Lineoptional
Death datedeath_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.

Lineoptional
Death placedeath_place

Artist's place of death.

Lineoptional
Nationalitynationality

Artist's nationality.

Lineoptional
Spousespouse

Artist's spouse.

Lineoptional
Fieldfield

Main field(s) in which the artist works or worked (e.g. photography, painting, drawing, etc.).

Lineoptional
Trainingtraining

Where or with whom the artist trained.

Lineoptional
Movementmovement

Artistic movement or school with which artist is associated.

Lineoptional
Worksworks notable_works

Artist's famous/significant/representative works. Works with their own articles should take priority. Please limit to five works.

Lineoptional
Patronspatrons

Patrons of the artist.

Lineoptional
Awardsawards

Awards won by the artist. Consider using {{awd}}.

Lineoptional
Elected bodieselected

Bodies to which the artist has been elected.

Lineoptional
Official websitewebsite

Artist's official website. Consider using {{URL}}.

Lineoptional
Background colourbgcolour

HTML color code of the infobox titlebar, or 'transparent' for a transparent titlebar.

Default
#BCD4E6
Lineoptional

See also