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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Netoholic
m
imported>Nikkimaria
(rv since associated template change has been reverted)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Uses infobox person}}
+
{{Person infobox header}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
'''{{tl|Infobox artist}}''' may be used to summarise information about a person who is an artist.
 
'''{{tl|Infobox artist}}''' may be used to summarise information about a person who is an artist.
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
 
{{Infobox artist
 
{{Infobox artist
 +
| bgcolour        = #BCD4E6
 
| honorific_prefix = {{{honorific_prefix}}}
 
| honorific_prefix = {{{honorific_prefix}}}
 
| name            = {{{name}}}
 
| name            = {{{name}}}
Line 14: Line 15:
 
| caption          = {{{caption}}}
 
| caption          = {{{caption}}}
 
| native_name      = {{{native_name}}}
 
| native_name      = {{{native_name}}}
| native_name_lang = {{{native_name_lang}}}
+
| native_name_lang =  
 
| birth_name      = {{{birth_name}}}
 
| birth_name      = {{{birth_name}}}
 
| birth_date      = {{{birth_date}}}
 
| birth_date      = {{{birth_date}}}
Line 20: Line 21:
 
| death_date      = {{{death_date}}}
 
| death_date      = {{{death_date}}}
 
| death_place      = {{{death_place}}}
 
| death_place      = {{{death_place}}}
| resting_place    = {{{resting_place}}}
+
| resting_place    = {{br separated entries|{{{resting_place}}}|{{{resting_place_coordinates}}} }}
| resting_place_coordinates = {{{resting_place_coordinates}}}
 
 
| nationality      = {{{nationality}}}
 
| nationality      = {{{nationality}}}
| education        = {{{education}}}
+
| spouse          = {{{spouse}}}
 +
| field            = {{{field}}}
 +
| training        = {{{training}}}
 
| alma_mater      = {{{{alma_mater}}}
 
| alma_mater      = {{{{alma_mater}}}
| known_for        = {{{known_for}}}
 
| notable_works    = {{{notable_works}}}
 
| style            = {{{style}}}
 
 
| movement        = {{{movement}}}
 
| movement        = {{{movement}}}
| spouse          = {{{spouse}}}
+
| works            = {{{works}}}
 +
| patrons          = {{{patrons}}}
 
| awards          = {{{awards}}}
 
| awards          = {{{awards}}}
 +
| memorials        = {{{memorials}}}
 
| elected          = {{{elected}}}
 
| elected          = {{{elected}}}
| patrons          = {{{patrons}}}
 
| memorials        = {{{memorials}}}
 
 
| website          = {{{website}}}
 
| website          = {{{website}}}
 +
| module          = {{{module}}}
 
}}
 
}}
  
Line 42: Line 42:
 
{{Infobox artist
 
{{Infobox artist
 
| honorific_prefix =  
 
| honorific_prefix =  
| name            = <!-- include middle initial, if not specified in birth_name -->
+
| name            =  
 
| honorific_suffix =  
 
| honorific_suffix =  
| image            = <!-- just the pagename, without the File:/Image: prefix or [[brackets]] -->
+
| native_name      =
 +
| native_name_lang =
 +
| image            =  
 
| image_size      =  
 
| image_size      =  
 
| alt              =  
 
| alt              =  
 
| caption          =  
 
| caption          =  
| native_name      =
+
| birth_name      =  
| native_name_lang =
+
| birth_date      = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_name      = <!--only use if different from name-->
 
| birth_date      = <!-- {{Birth date and age|YYYY|MM|DD}} for living artists, {{Birth date|YYYY|MM|DD}} for dead -->
 
 
| birth_place      =  
 
| birth_place      =  
| death_date      =
+
| death_date      = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place      = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
+
| death_place      =
 
| resting_place    =  
 
| resting_place    =  
| resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} -->
+
| resting_place_coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
 
| nationality      =  
 
| nationality      =  
| education        =  
+
| spouse          =
 +
| field            =
 +
| training        =  
 
| alma_mater      =  
 
| alma_mater      =  
| known_for        =
 
| notable_works    =
 
| style            =
 
 
| movement        =  
 
| movement        =  
| spouse          =
+
| works            =  
| awards          = <!-- {{awd|award|year|title|role|name}} (optional) -->
 
| elected          =  
 
 
| patrons          =  
 
| patrons          =  
 +
| awards          =
 
| memorials        =  
 
| memorials        =  
 +
| elected          =
 
| website          = <!-- {{URL|Example.com}} -->
 
| website          = <!-- {{URL|Example.com}} -->
 +
| bgcolour        =
 +
| module          =
 
}}
 
}}
 
</pre>
 
</pre>
Line 111: Line 112:
 
| ''nationality'' || artist's nationality
 
| ''nationality'' || artist's nationality
 
|-
 
|-
| ''education'' || where or with whom the artist trained
+
| ''spouse'' || artist's spouse
 
|-
 
|-
| ''alma_mater'' || The linked name of attended higher education institution(s). See ''[[Alma mater]]''
+
| ''field'' || main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
 
|-
 
|-
| ''known_for'' || main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
+
| ''training'' || where or with whom the artist trained
 
|-
 
|-
| ''notable_works'' || artist's famous/significant/representative works. Works with their own articles should take priority (please limit to 5 at most)
+
| ''alma_mater'' || The linked name of attended higher education institution(s). See ''[[Alma mater]]''
 
|-
 
|-
| ''style'' || artistic style which the artist employs
+
| ''movement'' || artistic movement or school with which artist is associated
 
|-
 
|-
| ''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)
 
|-
 
|-
| ''spouse'' || artist's spouse, if notable
+
| ''patrons'' || patrons of the artist
 
|-
 
|-
 
| ''awards'' || any awards the artist has won. Consider using the template: {{tlx|awd|award|year|title|role|name}}
 
| ''awards'' || any awards the artist has won. Consider using the template: {{tlx|awd|award|year|title|role|name}}
 
|-
 
|-
 
| ''elected'' || bodies to which the artist has been elected member
 
| ''elected'' || bodies to which the artist has been elected member
|-
 
| ''patrons'' || patrons of the artist
 
 
|-
 
|-
 
| ''memorials'' || Monuments, plaques, entities named after the subject, etc.
 
| ''memorials'' || Monuments, plaques, entities named after the subject, etc.
 
|-
 
|-
 
| ''website'' || artist's ''official'' website, if any. Consider using the template: {{tlx|URL|Example.com}}
 
| ''website'' || artist's ''official'' website, if any. Consider using the template: {{tlx|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.
 
|-
 
|-
 
|colspan=2 style="font-size:90%"| * Only used if the {{{image}}} parameter used.
 
|colspan=2 style="font-size:90%"| * Only used if the {{{image}}} parameter used.
Line 230: Line 233:
 
     "resting_place_coordinates": {
 
     "resting_place_coordinates": {
 
       "label": "Resting place",
 
       "label": "Resting place",
       "description": "Coordinates of artist's grave, etc. Use {{Coord|LAT|LONG|type:landmark|display=inline}}",
+
       "description": "Coordinates of artist's grave, etc.",
 
       "type": "string/line",
 
       "type": "string/line",
 
       "required": false
 
       "required": false
Line 240: Line 243:
 
       "required": false
 
       "required": false
 
     },
 
     },
     "education": {
+
     "spouse": {
       "label": "Education",
+
       "label": "Spouse",
       "description": "Where or with whom the artist trained.",
+
       "description": "Artist's spouse.",
 
       "type": "string/line",
 
       "type": "string/line",
 
       "required": false
 
       "required": false
 
     },
 
     },
     "alma_mater": {
+
     "field": {
       "label": "Alma mater",
+
       "label": "Field",
      "description": "The linked name of attended higher education institution(s).",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "known_for": {
 
      "label": "Known for",
 
 
       "description": "Main field(s) in which the artist works or worked (e.g. photography, painting, drawing, etc.).",
 
       "description": "Main field(s) in which the artist works or worked (e.g. photography, painting, drawing, etc.).",
 
       "type": "string/line",
 
       "type": "string/line",
 
       "required": false
 
       "required": false
 
     },
 
     },
     "notable_works": {
+
     "training": {
       "label": "Notable work(s)",
+
       "label": "Training",
       "description": "Artist's famous/significant/representative works. Please limit to five works.",
+
       "description": "Where or with whom the artist trained.",
      "type": "string/line",
 
      "required": false
 
    },
 
    "style": {
 
      "label": "Style",
 
      "description": "Artistic style which the artist employs.",
 
 
       "type": "string/line",
 
       "type": "string/line",
 
       "required": false
 
       "required": false
Line 276: Line 267:
 
       "required": false
 
       "required": false
 
     },
 
     },
     "spouse": {
+
     "works": {
       "label": "Spouse(s)",
+
       "label": "Works",
       "description": "Artist's spouse(s), if notable.",
+
       "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",
 
       "type": "string/line",
 
       "required": false
 
       "required": false
Line 294: Line 292:
 
       "required": false
 
       "required": false
 
     },
 
     },
     "patrons": {
+
     "website": {
       "label": "Patron(s)",
+
       "label": "Official website",
       "description": "Patrons of the artist.",
+
       "description": "Artist's official website. Consider using {{URL}}.",
 
       "type": "string/line",
 
       "type": "string/line",
 
       "required": false
 
       "required": false
 
     },
 
     },
     "memorials": {
+
     "bgcolour": {
       "label": "Memorial(s)",
+
       "label": "Background colour",
       "description": "Monuments, plaques, entities named after the subject, etc.",
+
       "description": "HTML color code of the infobox titlebar, or 'transparent' for a transparent titlebar.",
 
       "type": "string/line",
 
       "type": "string/line",
 +
      "default": "#BCD4E6",
 
       "required": false
 
       "required": false
 
     },
 
     },
     "website": {
+
     "embed": {
      "label": "Official website",
+
            "label": "embed",
      "description": "Artist's official website. Consider using {{URL}}.",
+
            "description": "Whether this template is embedded in another infobox.",
      "type": "string/line",
+
            "type": "string/line",
      "required": false
+
            "required": true
 
     }
 
     }
 
   }
 
   }

Revision as of 03:57, 25 June 2014

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

Usage

{{{honorific_prefix}}}

{{{name}}}

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

{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Resting place{{{resting_place}}}
{{{resting_place_coordinates}}}
Nationality{{{nationality}}}
Education{{{training}}}
Alma mater{{{{alma_mater}}}
Known for{{{field}}}
Notable work
{{{works}}}
Movement{{{movement}}}
Spouse(s){{{spouse}}}
Awards{{{awards}}}
Elected{{{elected}}}
Patron(s){{{patrons}}}
Memorial(s){{{memorials}}}
{{{module}}}
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
| 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). 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 documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox artist

An infobox for artists.

Template parameters

ParameterDescriptionTypeStatus
Honorific prefixhonorific_prefix

title such as 'Sir', 'Lord'

Pageoptional
Namename

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

Default
PAGENAME
Lineoptional
Honorific suffixhonorific_suffix

initials such as 'OBE', 'FRSA'

Pageoptional
Imageimage

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

Pageoptional
Image sizeimage_size imagesize

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

Default
varies
Lineoptional
Alternative textalt

Alternative text for the image.

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.

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.

Lineoptional
Death placedeath_place

Artist's place of death.

Lineoptional
Resting placeresting_place

Artist's grave, etc.

Lineoptional
Resting placeresting_place_coordinates

Coordinates of artist's grave, etc.

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. 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
embedembed

Whether this template is embedded in another infobox.

Linerequired

See also