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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Zyxw
(update documentation for module parameter)
imported>Mvolz
(fix incorrect type)
 
(36 intermediate revisions by 18 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Person infobox header}}
 
{{Uses Infobox person}}
 
{{Uses Infobox person}}
{{tl|Infobox artist}} may be used to summarise information about a person who is an artist.
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
 +
 
 +
{{tl|Infobox artist}} may be used in an article about a person who is an [[artist]].
  
 
== Usage ==
 
== Usage ==
  
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í]].
+
The infobox may be added by pasting the template as shown below into an article.
  
{{Generic template demo |honorific_prefix |name |honorific_suffix |image |image_size={{{image_size}}}<br/> |alt |caption |native_name |native_name_lang |birth_name |birth_date |birth_place |death_date |death_place |resting_place |resting_place_coordinates |nationality |education |alma_mater |known_for |notable_works |style |movement |spouse |awards |elected |patrons |memorials |website |module}}
+
{{Parameter names example |honorific_prefix |name |honorific_suffix |image |image_size={{{image_size}}}<br/> |alt |caption |native_name |native_name_lang |birth_name |birth_date |birth_place |death_date |death_place |resting_place |resting_place_coordinates |nationality |residence |education |alma_mater |known_for |notable_works |style |home_town |movement |spouse |partner |awards |elected | patrons |memorials |website |module}}
  
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
Line 15: Line 19:
 
| name            = <!-- include middle initial, if not specified in birth_name -->
 
| name            = <!-- include middle initial, if not specified in birth_name -->
 
| honorific_suffix =  
 
| honorific_suffix =  
| image            = <!-- just the pagename, without the File:/Image: prefix or [[brackets]] -->
+
| image            = <!-- use the image's pagename; do not include the "File:" or "Image:" prefix, and do not use brackets-->
 
| image_size      =  
 
| image_size      =  
 
| alt              =  
 
| alt              =  
Line 21: Line 25:
 
| native_name      =  
 
| native_name      =  
 
| native_name_lang =  
 
| native_name_lang =  
| birth_name      = <!--only use if different from name-->
+
| 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_date      = <!-- {{Birth date and age|YYYY|MM|DD}} for living artists, {{Birth date|YYYY|MM|DD}} for dead. For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. Treat such cases as if only the year is known, so use {{birth year and age|YYYY}} or a similar option. -->
 
| birth_place      =  
 
| birth_place      =  
 
| death_date      = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->  
 
| death_date      = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->  
| death_place      =
+
| death_place      =  
 
| resting_place    =  
 
| resting_place    =  
 
| resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} -->
 
| resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} -->
 
| nationality      =  
 
| nationality      =  
 +
| residence        =
 
| education        =  
 
| education        =  
 
| alma_mater      =  
 
| alma_mater      =  
Line 34: Line 39:
 
| notable_works    =  
 
| notable_works    =  
 
| style            =  
 
| style            =  
 +
| home_town        =
 
| movement        =  
 
| movement        =  
 
| spouse          =  
 
| spouse          =  
 +
| partner          =
 
| awards          = <!-- {{awd|award|year|title|role|name}} (optional) -->
 
| awards          = <!-- {{awd|award|year|title|role|name}} (optional) -->
 
| elected          =  
 
| elected          =  
Line 41: Line 48:
 
| memorials        =  
 
| memorials        =  
 
| website          = <!-- {{URL|Example.com}} -->
 
| website          = <!-- {{URL|Example.com}} -->
| module          =
+
| module          =  
 
}}
 
}}
 
</pre>
 
</pre>
 
{{clear}}
 
{{clear}}
  
== Parameters ==
+
=== Parameters ===
{| class="wikitable"
+
{{Aligned table
|-
+
| class = wikitable
|width="110px"| ''honorific_prefix'' || Title, e.g. "Sir", "Lord"
+
| row1header = y
|-
+
| cols = 2
| ''name'' || artist's name; usually the article's page name (i.e. the artist's common name)
+
| col1style = font-style:italic;padding-right:1.0em;
|-
+
| {{noitalic|Parameter}} | Description
| ''honorific_suffix'' || initials like "OBE", "FRSA"
+
| honorific_prefix
|-
+
|  Displayed on the line above the person's name (title, e.g. "Sir", "Lord")
| ''image'' || an image of (or, if not available, by) the artist, in the form: "Example.jpg"
+
| name
|-
+
| Commonly-known name of person (defaults to article name, without disambiguation)
| ''image_size''&nbsp;* || in the form "''N''px", resizes the image to a width of ''N'' pixels; default is 220px
+
| honorific_suffix
|-
+
| Displayed on the line below the person's name (initials like "OBE", "FRSA")
| ''alt''&nbsp;* || alt text for the image, for visually impaired readers (see [[WP:ALT]])
+
| image&nbsp;*
|-
+
| A picture of or including the person. Use file name only, without the [[bracket]]s and File: or Image: prefix (abc.jpg, xyz.png, etc.)
| ''caption''&nbsp;* || caption for the image
+
| image_size&nbsp;*
|-
+
| Size to display image: ''200px'' (set width), ''x300px'' (set height), or ''200x300px'' (max width & max height). This defaults to ''frameless'' (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set.
| ''native_name'' || name in local language. If more than one, separate using {{tl|Plain list}}
+
| alt&nbsp;*
|-
+
|   Alternative text for image, for visually impaired readers (see [[WP:ALT]])
| ''native_name_lang'' || ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead
+
| caption&nbsp;*
|-
+
|   Caption to accompany image. If a (portrait) photograph of the person, try to include date of photo and photographer's name.
| ''birth_name'' || artist's name at birth, <!--or christening?--> if different than ''name''
+
| native_name
|-
+
| Name in the person's [[native language]]. If more than one, separate using {{tl|plainlist}}.
| ''birth_date'' || artist's date of birth, use {{tl|birth date and age}} (for living artists) or {{tl|birth date}} for the deceased. Use plain text for partial dates.
+
| native_name_lang
|-
+
| [[ISO 639-1]] two-letter code for person's native language (e.g. "fr" for French). If more than one, use {{tl|lang}} in {{para|native_name}} instead.
| ''birth_place'' || artist's place of birth
+
| birth_name
|-
+
| Name at birth, <!--or christening?--> if different from ''name''
| ''death_date'' || artist's date of death, use {{tl|death date and age}}. Use {{tl|death date}} if birth date unknown or incomplete. Use plain text for partial dates.
+
| birth_date
|-
+
| Date of birth. If the person is living, use {{tl|Birth date and age}}, {{tl|Birth-date and age}}, or {{tl|Birth year and age}}. If deceased, use {{tl|Birth date}} or {{tl|Birth-date}}. Use plain text for partial dates. <br />Example: <nowiki>{{Birth date and age|1950|8|26}}</nowiki> if born August 26, 1950 <br />Example: <nowiki>{{Birth date and age|df=yes|1950|8|26}}</nowiki> to display birth date as 26 August 1950
| ''death_place'' || artist's place of death
+
| birth_place
|-
+
| Place of birth (town/city, state/province, country)
| ''resting_place'' || place of burial, ash-scattering, etc.
+
| death_date
|-
+
| Date of death. If the date of birth is known, use {{tl|Death date and age}}, {{tl|Death-date and age}}, or {{tl|Death year and age}}. Otherwise, use {{tl|Death date}} or {{tl|Death-date}}. Use plain text for partial dates. <br />Example: <nowiki>{{Death date and age|1993|2|24|1950|8|26}}</nowiki> if died February 24, 1993 and born August 26, 1950 <br />Example: <nowiki>{{Death date and age|df=yes|1993|2|24|1941|4|12}}</nowiki> to display death date as 24 February 1993
| ''resting_place_coordinates'' || precise coordinates for place of burial, ash-scattering etc. Use {{tl|coord}} template.
+
| death_place
|-
+
| Place of death (town/city, state/province, country)
| ''nationality'' || artist's nationality
+
| death_cause
|-
+
| Cause of death. Should be clearly defined and sourced, and should only be included when the cause of death has significance for the subject's notability, e.g. [[James Dean]], [[John Lennon]].
| ''education'' || where or with whom the artist trained
+
| resting_place
|-
+
| Place of burial, ash-scattering, etc.
| ''alma_mater'' || The linked name of attended higher education institution(s). See ''[[Alma mater]]''
+
| resting_place_coordinates
|-
+
| Precise coordinates for place of burial, ash-scattering etc. Use {{tl|coord}} template.
| ''known_for'' || main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
+
| nationality
|-
+
| Nationality of the person. [[Wikipedia:Manual of Style (icons)#Biographical use|Do not use a flag template]].
| ''notable_works'' || artist's famous/significant/representative works. Works with their own articles should take priority (please limit to 5 at most)
+
| residence
|-
+
| Place(s) where the person has lived for a significant period.
| ''style'' || artistic style which the artist employs
+
| education
|-
+
| Where or with whom the artist trained
| ''movement'' || artistic movement or school with which artist is associated.
+
| alma_mater
|-
+
| The linked name of attended higher education institution(s). See ''[[Alma mater]]''
| ''spouse'' || artist's spouse, if notable
+
| known_for
|-
+
| Main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
| ''awards'' || any awards the artist has won. Consider using the template: {{tlx|awd|award|year|title|role|name}}
+
| notable_works
|-
+
| Famous/significant/representative works. Works with their own articles should take priority (please limit to 5 at most)
| ''elected'' || bodies to which the artist has been elected member
+
| style
|-
+
| Artistic style which the artist employs
| ''patrons'' || patrons of the artist
+
| movement
|-
+
| Artistic movement or school with which artist is associated.
| ''memorials'' || Monuments, plaques, entities named after the subject, etc.
+
| spouse
|-
+
| Name of spouse, if notable
| ''website'' || artist's ''official'' website, if any. Consider using the template: {{tlx|URL|Example.com}}
+
| partner
|-
+
| Name of unmarried domestic partner, if notable
| ''module'' || Used for embedding other templates into this infobox. Examples of embeddable templates include {{dl|Designation list}} and {{dl|Infobox NRHP}}.
+
| awards
|-
+
| Any awards the artist has won. Consider using the template: {{tlx|awd|award|year|title|role|name}}
|colspan=2 style="font-size:90%"| * Only used if the {{{image}}} parameter used.
+
| elected
|}
+
| Bodies to which the artist has been elected member
 +
| patrons
 +
| Patrons of the artist
 +
| memorials
 +
| Monuments, plaques, entities named after the subject, etc.
 +
| website
 +
| Official website only. Unofficial websites should be placed under <nowiki>==External links==</nowiki> in the body of the article. Use {{tl|URL}} as in <nowiki>{{URL|Example.com}}</nowiki>. Do not include the <code>www.</code> part unless the server requires it. Use [[camel case]] capitalization to make multiword domain names easier to read.
 +
| module
 +
| Used for embedding other templates into this infobox (see [[#module|below]] for more details).
 +
}}
 +
<nowiki>*</nowiki> Only used if the {{{image}}} parameter used.
 +
 
 +
{{Anchor|module}}
  
== Embedding other templates ==
+
=== Embedding other templates via ''module'' parameter===  
The ''module'' parameter is used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]).
+
The ''module'' parameter is used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]] and [[:Category:Biographical templates usable as a module]]).
  
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
Line 125: Line 144:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
{{Infobox artist
 +
| name            = Salvador Dalí
 +
| image            = Salvador Dalí 1939.jpg
 +
| caption          = Dalí in 1939 (photo by [[Carl Van Vechten]])
 +
| birth_name      = Salvador Domingo Felipe Jacinto Dalí i Domènech
 +
| birth_date      = {{birth date|1904|5|11}}
 +
| birth_place      = [[Figueres]], [[Catalonia]], Spain
 +
| death_date      = {{death date and age|1989|01|23|1904|05|11}}
 +
| death_place      = Figueres, Catalonia, Spain
 +
| resting_place    = Crypt at [[Dalí Theatre and Museum]], Figueres, Spain
 +
| nationality      = Spanish
 +
| education        = [[Real Academia de Bellas Artes de San Fernando|San Fernando School of Fine Arts]], [[Madrid]], Spain
 +
| known_for        = Painting, drawing, photography, sculpture, writing, film
 +
| notable_works    = {{unbulleted list
 +
  | ''[[The Persistence of Memory]]'' (1931)
 +
  | ''[[Soft Construction with Boiled Beans (Premonition of Civil War)]]'' (1936)
 +
  | ''[[Swans Reflecting Elephants]]'' (1937)
 +
  | ''[[Dream Caused by the Flight of a Bee Around a Pomegranate a Second Before Awakening]]'' (1944)
 +
  | ''[[The Temptation of St. Anthony (Dalí)|The Temptation of St. Anthony]]'' (1946)
 +
  }}
 +
| movement        = [[Cubism]], [[Dada]], [[Surrealism]]
 +
| spouse          = [[Gala Dalí]] (Elena Ivanovna Diakonova)
 +
}}
 +
<pre style="overflow:auto;">
 +
{{Infobox artist
 +
| name            = Salvador Dalí
 +
| image            = Salvador Dalí 1939.jpg
 +
| caption          = Dalí in 1939 (photo by [[Carl Van Vechten]])
 +
| birth_name      = Salvador Domingo Felipe Jacinto Dalí i Domènech
 +
| birth_date      = {{birth date|1904|5|11}}
 +
| birth_place      = [[Figueres]], [[Catalonia]], Spain
 +
| death_date      = {{death date and age|1989|01|23|1904|05|11}}
 +
| death_place      = Figueres, Catalonia, Spain
 +
| resting_place    = Crypt at [[Dalí Theatre and Museum]], Figueres, Spain
 +
| nationality      = Spanish
 +
| education        = [[Real Academia de Bellas Artes de San Fernando|San Fernando School of Fine Arts]], [[Madrid]], Spain
 +
| known_for        = Painting, drawing, photography, sculpture, writing, film
 +
| notable_works    = {{unbulleted list
 +
  | ''[[The Persistence of Memory]]'' (1931)
 +
  | ''[[Soft Construction with Boiled Beans (Premonition of Civil War)]]'' (1936)
 +
  | ''[[Swans Reflecting Elephants]]'' (1937)
 +
  | ''[[Dream Caused by the Flight of a Bee Around a Pomegranate a Second Before Awakening]]'' (1944)
 +
  | ''[[The Temptation of St. Anthony (Dalí)|The Temptation of St. Anthony]]'' (1946)
 +
  }}
 +
| movement        = [[Cubism]], [[Dada]], [[Surrealism]]
 +
| spouse          = [[Gala Dalí]] (Elena Ivanovna Diakonova)
 +
}}
 +
</pre>
 +
{{clear}}
  
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
  
== TemplateData==
+
== Tracking categories ==
{{TemplateDataHeader}}
+
* {{clc|Pages using infobox artist with unknown parameters}}
<templatedata>{
+
* {{clc|Biography template using pronunciation}}
  "description": "An infobox for artists.",
+
* {{clc|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}.
  "params": {
+
* {{clc|No local image but image on Wikidata}} – Used by [[Template:Wikidata image]] to track articles where an infobox has no image but [[Wikidata]] has an image name. To exclude articles from this category, add an image or {{para|nocat_wdimage|yes}} to the infobox.
    "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 {{birth date and age}} (for living artists) or {{birth date}} 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 {{death date and age}}. Use {{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. Use {{Coord|LAT|LONG|type:landmark|display=inline}}",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "nationality": {
 
      "label": "Nationality",
 
      "description": "Artist's nationality.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "education": {
 
      "label": "Education",
 
      "description": "Where or with whom the artist trained.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "alma_mater": {
 
      "label": "Alma mater",
 
      "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.).",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "notable_works": {
 
      "label": "Notable work(s)",
 
      "description": "Artist's famous/significant/representative works. Please limit to five works.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "style": {
 
      "label": "Style",
 
      "description": "Artistic style which the artist employs.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "movement": {
 
      "label": "Movement",
 
      "description": "Artistic movement or school with which artist is associated.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "spouse": {
 
      "label": "Spouse(s)",
 
      "description": "Artist's spouse(s), if notable.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "awards": {
 
      "label": "Awards",
 
      "description": "Awards won by the artist. Consider using {{awd}}.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "elected": {
 
      "label": "Elected bodies",
 
      "description": "Bodies to which the artist has been elected.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "patrons": {
 
      "label": "Patron(s)",
 
      "description": "Patrons of the artist.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "memorials": {
 
      "label": "Memorial(s)",
 
      "description": "Monuments, plaques, entities named after the subject, etc.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "website": {
 
      "label": "Official website",
 
      "description": "Artist's official website. Consider using {{URL}}.",
 
      "type": "string/line",
 
      "required": false
 
    },
 
    "module": {
 
      "label": "Module",
 
      "description": "Artist's official website. Consider using {{URL}}.",
 
      "type": "string",
 
      "required": false
 
    }
 
  }
 
}</templatedata>
 
  
 
== See also ==
 
== See also ==
 +
* {{tl|Infobox person}}
 
* {{tl|Infobox musical artist}}
 
* {{tl|Infobox musical artist}}
 
* {{tl|Infobox artwork}}
 
* {{tl|Infobox artwork}}
* {{tl|Image information art}} - for image pages
+
* {{tl|Image information art}} for image pages
  
<includeonly>
+
== TemplateData==
 +
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
 +
{{TemplateData header|noheader=1}}
 +
<templatedata>
 +
{
 +
"description": "An infobox for artists.",
 +
"params": {
 +
"honorific_prefix": {
 +
"label": "Honorific prefix",
 +
"description": "Title such as 'Sir', 'Lord'",
 +
"type": "wiki-page-name",
 +
"required": false
 +
},
 +
"name": {
 +
"label": "Name",
 +
"description": "Commonly-known name of person (defaults to article name, without disambiguation)",
 +
"type": "string/line",
 +
"default": "PAGENAME",
 +
"required": false
 +
},
 +
"honorific_suffix": {
 +
"label": "Honorific suffix",
 +
"description": "Initials such as 'OBE', 'FRSA'",
 +
"type": "wiki-page-name",
 +
"required": false
 +
},
 +
"image": {
 +
"label": "Image",
 +
"description": "Filename for the image (e.g. 'Example.jpg').",
 +
"type": "wiki-file-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": "Name at birth, if different from 'name'.",
 +
"type": "string",
 +
"required": false,
 +
"aliases": [
 +
"birthname"
 +
]
 +
},
 +
"birth_date": {
 +
"label": "Birth date",
 +
"description": "Date of birth. Use {{birth date and age}} (for living artists) or {{birth date}} for the deceased.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"birth_place": {
 +
"label": "Birth place",
 +
"description": "Place of birth.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"death_date": {
 +
"label": "Death date",
 +
"description": "Date of death. Use {{death date and age}}. Use {{death date}} if birth date unknown or incomplete.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"death_place": {
 +
"label": "Death place",
 +
"description": "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 grave, etc. Use {{Coord|LAT|LONG|type:landmark|display=inline}}",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"nationality": {
 +
"label": "Nationality",
 +
"description": "Nationality.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"residence": {
 +
"label": "Residence",
 +
"description": "Residence.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"education": {
 +
"label": "Education",
 +
"description": "Where or with whom the artist trained.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"alma_mater": {
 +
"label": "Alma mater",
 +
"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.).",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"notable_works": {
 +
"label": "Notable work(s)",
 +
"description": "Famous/significant/representative works. Please limit to five works.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"style": {
 +
"label": "Style",
 +
"description": "Artistic style which the artist employs.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"movement": {
 +
"label": "Movement",
 +
"description": "Artistic movement or school with which artist is associated.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"spouse": {
 +
"label": "Spouse(s)",
 +
"description": "Spouse(s), if notable.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"partner": {
 +
"label": "Partner(s)",
 +
"description": "Domestic partner(s), if notable.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"awards": {
 +
"label": "Awards",
 +
"description": "Awards won by the artist. Consider using {{awd}}.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"elected": {
 +
"label": "Elected bodies",
 +
"description": "Bodies to which the artist has been elected.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"patrons": {
 +
"label": "Patron(s)",
 +
"description": "Patrons of the artist.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"memorials": {
 +
"label": "Memorial(s)",
 +
"description": "Monuments, plaques, entities named after the subject, etc.",
 +
"type": "string/line",
 +
"required": false
 +
},
 +
"website": {
 +
"label": "Official website",
 +
"description": "Artist's official website. Consider using {{URL}}.",
 +
"type": "string/line",
 +
"required": false
 +
}
 +
},
 +
"format": "block"
 +
}
 +
</templatedata>
 +
{{collapse bottom}}<includeonly>
 
{{Basepage subpage|
 
{{Basepage subpage|
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:People infobox templates|Artist]]
+
{{DEFAULTSORT:Artist}}
[[Category:Arts and culture infobox templates|Artist]]
+
[[Category:People and person infobox templates]]
[[Category:Biographical templates usable as a module|Artist]]
+
[[Category:Arts and culture infobox templates]]
[[Category:Infobox templates with module parameter|Artist]]
+
[[Category:Infobox templates with module parameter]]
 +
[[Category:Templates calling Infobox person]]
 +
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 01:01, 25 January 2020

{{Infobox artist}} may be used in an article about a person who is an artist.

Usage

The infobox may be added by pasting the template as shown below into an article.

{{{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{{{education}}}
Alma mater{{{alma_mater}}}
Known for{{{known_for}}}
Notable work
{{{notable_works}}}
Style{{{style}}}
Home town{{{home_town}}}
Movement{{{movement}}}
Spouse(s){{{spouse}}}
Partner(s){{{partner}}}
Awards{{{awards}}}
Elected{{{elected}}}
Patron(s){{{patrons}}}
Memorial(s){{{memorials}}}
{{{module}}}
Website{{{website}}}
{{Infobox artist
| honorific_prefix = 
| name             = <!-- include middle initial, if not specified in birth_name -->
| honorific_suffix = 
| image            = <!-- use the image's pagename; do not include the "File:" or "Image:" prefix, and do not use brackets-->
| image_size       = 
| alt              = 
| caption          = 
| native_name      = 
| native_name_lang = 
| 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. For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. Treat such cases as if only the year is known, so use {{birth year and age|YYYY}} or a similar option. -->
| birth_place      = 
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> 
| death_place      = 
| resting_place    = 
| resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} -->
| nationality      = 
| residence        = 
| education        = 
| alma_mater       = 
| known_for        = 
| notable_works    = 
| style            = 
| home_town        = 
| movement         = 
| spouse           = 
| partner          = 
| awards           = <!-- {{awd|award|year|title|role|name}} (optional) -->
| elected          = 
| patrons          = 
| memorials        = 
| website          = <!-- {{URL|Example.com}} -->
| module           = 
}}

Parameters

Parameter Description
honorific_prefix Displayed on the line above the person's name (title, e.g. "Sir", "Lord")
name Commonly-known name of person (defaults to article name, without disambiguation)
honorific_suffix Displayed on the line below the person's name (initials like "OBE", "FRSA")
image * A picture of or including the person. Use file name only, without the brackets and File: or Image: prefix (abc.jpg, xyz.png, etc.)
image_size * Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set.
alt * Alternative text for image, for visually impaired readers (see WP:ALT)
caption * Caption to accompany image. If a (portrait) photograph of the person, try to include date of photo and photographer's name.
native_name Name in the person's native language. If more than one, separate using {{plainlist}}.
native_name_lang ISO 639-1 two-letter code for person's native language (e.g. "fr" for French). If more than one, use {{lang}} in |native_name= instead.
birth_name Name at birth, if different from name
birth_date Date of birth. If the person is living, use {{Birth date and age}}, {{Birth-date and age}}, or {{Birth year and age}}. If deceased, use {{Birth date}} or {{Birth-date}}. Use plain text for partial dates.
Example: {{Birth date and age|1950|8|26}} if born August 26, 1950
Example: {{Birth date and age|df=yes|1950|8|26}} to display birth date as 26 August 1950
birth_place Place of birth (town/city, state/province, country)
death_date Date of death. If the date of birth is known, use {{Death date and age}}, {{Death-date and age}}, or {{Death year and age}}. Otherwise, use {{Death date}} or {{Death-date}}. Use plain text for partial dates.
Example: {{Death date and age|1993|2|24|1950|8|26}} if died February 24, 1993 and born August 26, 1950
Example: {{Death date and age|df=yes|1993|2|24|1941|4|12}} to display death date as 24 February 1993
death_place Place of death (town/city, state/province, country)
death_cause Cause of death. Should be clearly defined and sourced, and should only be included when the cause of death has significance for the subject's notability, e.g. James Dean, John Lennon.
resting_place Place of burial, ash-scattering, etc.
resting_place_coordinates Precise coordinates for place of burial, ash-scattering etc. Use {{coord}} template.
nationality Nationality of the person. Do not use a flag template.
residence Place(s) where the person has lived for a significant period.
education Where or with whom the artist trained
alma_mater The linked name of attended higher education institution(s). See Alma mater
known_for Main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design)
notable_works Famous/significant/representative works. Works with their own articles should take priority (please limit to 5 at most)
style Artistic style which the artist employs
movement Artistic movement or school with which artist is associated.
spouse Name of spouse, if notable
partner Name of unmarried domestic partner, if notable
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
patrons Patrons of the artist
memorials Monuments, plaques, entities named after the subject, etc.
website Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.
module Used for embedding other templates into this infobox (see below for more details).

* Only used if the {{{image}}} parameter used.

Embedding other templates via module parameter

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules and Category:Biographical templates usable as a module).

{{Infobox artist
| name = 
| <!-- etc. -->
| module = 
  {{Infobox football biography | embed = yes
  | <!-- etc. -->
  }}
}}

Example

Salvador Dalí
Salvador Dalí 1939.jpg
Dalí in 1939 (photo by Carl Van Vechten)
Born
Salvador Domingo Felipe Jacinto Dalí i Domènech

(1904-05-11)May 11, 1904
DiedJanuary 23, 1989(1989-01-23) (aged 84)
Figueres, Catalonia, Spain
Resting placeCrypt at Dalí Theatre and Museum, Figueres, Spain
NationalitySpanish
EducationSan Fernando School of Fine Arts, Madrid, Spain
Known forPainting, drawing, photography, sculpture, writing, film
Notable work
MovementCubism, Dada, Surrealism
Spouse(s)Gala Dalí (Elena Ivanovna Diakonova)
{{Infobox artist
| name             = Salvador Dalí
| image            = Salvador Dalí 1939.jpg
| caption          = Dalí in 1939 (photo by [[Carl Van Vechten]])
| birth_name       = Salvador Domingo Felipe Jacinto Dalí i Domènech
| birth_date       = {{birth date|1904|5|11}}
| birth_place      = [[Figueres]], [[Catalonia]], Spain
| death_date       = {{death date and age|1989|01|23|1904|05|11}}
| death_place      = Figueres, Catalonia, Spain
| resting_place    = Crypt at [[Dalí Theatre and Museum]], Figueres, Spain
| nationality      = Spanish
| education        = [[Real Academia de Bellas Artes de San Fernando|San Fernando School of Fine Arts]], [[Madrid]], Spain
| known_for        = Painting, drawing, photography, sculpture, writing, film
| notable_works    = {{unbulleted list
  | ''[[The Persistence of Memory]]'' (1931)
  | ''[[Soft Construction with Boiled Beans (Premonition of Civil War)]]'' (1936)
  | ''[[Swans Reflecting Elephants]]'' (1937)
  | ''[[Dream Caused by the Flight of a Bee Around a Pomegranate a Second Before Awakening]]'' (1944)
  | ''[[The Temptation of St. Anthony (Dalí)|The Temptation of St. Anthony]]'' (1946)
  }}
| movement         = [[Cubism]], [[Dada]], [[Surrealism]]
| spouse           = [[Gala Dalí]] (Elena Ivanovna Diakonova)
}}

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.

Tracking categories

See also

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly error report for this template.

TemplateData for Infobox artist

An infobox for artists.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Honorific prefixhonorific_prefix

Title such as 'Sir', 'Lord'

Pageoptional
Namename

Commonly-known name of person (defaults to article name, without disambiguation)

Default
PAGENAME
Lineoptional
Honorific suffixhonorific_suffix

Initials such as 'OBE', 'FRSA'

Pageoptional
Imageimage

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

Fileoptional
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

Name at birth, if different from 'name'.

Stringoptional
Birth datebirth_date

Date of birth. Use {{birth date and age}} (for living artists) or {{birth date}} for the deceased.

Lineoptional
Birth placebirth_place

Place of birth.

Lineoptional
Death datedeath_date

Date of death. Use {{death date and age}}. Use {{death date}} if birth date unknown or incomplete.

Lineoptional
Death placedeath_place

Place of death.

Lineoptional
Resting placeresting_place

Artist's grave, etc.

Lineoptional
Resting placeresting_place_coordinates

Coordinates of grave, etc. Use {{Coord|LAT|LONG|type:landmark|display=inline}}

Lineoptional
Nationalitynationality

Nationality.

Lineoptional
Residenceresidence

Residence.

Lineoptional
Educationeducation

Where or with whom the artist trained.

Lineoptional
Alma materalma_mater

The linked name of attended higher education institution(s).

Lineoptional
Known forknown_for

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

Lineoptional
Notable work(s)notable_works

Famous/significant/representative works. Please limit to five works.

Lineoptional
Stylestyle

Artistic style which the artist employs.

Lineoptional
Movementmovement

Artistic movement or school with which artist is associated.

Lineoptional
Spouse(s)spouse

Spouse(s), if notable.

Lineoptional
Partner(s)partner

Domestic partner(s), if notable.

Lineoptional
Awardsawards

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

Lineoptional
Elected bodieselected

Bodies to which the artist has been elected.

Lineoptional
Patron(s)patrons

Patrons of the artist.

Lineoptional
Memorial(s)memorials

Monuments, plaques, entities named after the subject, etc.

Lineoptional
Official websitewebsite

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

Lineoptional