Difference between revisions of "Template:Infobox artist"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Visor
m (fix)
imported>Jonesey95
(add death_cause=)
 
(140 intermediate revisions by 57 users not shown)
Line 1: Line 1:
{| class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%;" cellspacing="5"
+
{{Infobox person
|-
+
| honorific_prefix          = {{{honorific_prefix|}}}
|colspan="2" style="text-align:center; font-size:larger; background-color:{{{bgcolour|#6495ED}}}; color:#000000;" class="fn"| '''{{{name|{{PAGENAME}}}}}'''
+
| name                      = {{{name|{{PAGENAMEBASE}}}}}
|-
+
| honorific_suffix          = {{{honorific_suffix|}}}
|colspan="2" style="text-align:center; font-size:90%;" {{image class|{{{image}}}}}| {{#if:{{{image<includeonly>|</includeonly>}}} |<!--then:-->
+
| native_name              = {{{native_name|}}}
[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|<!--else:-->220px}}| ]]<br/><small>{{{caption<includeonly>|</includeonly>}}}</small>
+
| native_name_lang          = {{{native_name_lang|}}}
}}
+
| image                    = {{{image|}}}
{{#if:{{{birthname<includeonly>|</includeonly>}}} |<!--then:-->
+
| image_size                = {{{image_size|}}}
<tr><td style="text-align:right;">'''Birth name'''</td><td class="nickname">{{{birthname}}}</td></tr>
+
| alt                      = {{{alt|}}}
}}
+
| caption                  = {{{caption|}}}
|-
+
| birth_name                = {{{birth_name|}}}
 
+
| birth_date                = {{{birth_date|}}} <!-- {{Birth date and age|YYYY|MM|DD}} for living philosophers, {{Birth date|YYYY|MM|DD}} for dead -->
|width="85px" align="right" | '''Born'''
+
| birth_place              = {{{birth_place|}}}
| {{{birthdate}}}<br/> {{{location<includeonly>|</includeonly>}}}
+
| home_town                = {{{home_town|}}}
|-
+
| death_date                = {{{death_date|}}} <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
 
+
| death_place              = {{{death_place|}}}
{{#if:{{{deathdate<includeonly>|</includeonly>}}} |
+
| death_cause              = {{{death_cause|}}}
{{!}} align="right" {{!}} '''Died''' {{!}}{{!}} {{{deathdate}}}<br/>{{{deathplace<includeonly>|</includeonly>}}}
+
| resting_place            = {{{resting_place|}}}
}}
+
| resting_place_coordinates = {{{resting_place_coordinates|}}} <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
|-
+
| other_names              = {{{other_names|}}}
 
+
| nationality              = {{{nationality|}}}
{{#if:{{{nationality<includeonly>|</includeonly>}}} |
+
| residence                = {{{residence|}}}
{{!}} align="right" {{!}} '''Nationality''' {{!}}{{!}} {{{nationality}}}  
+
| spouse                    = {{{spouse|}}}
}}
+
| partner                  = {{{partner|}}}
|-
+
| movement                  = {{{movement|}}}
 
+
| style                    = {{{style|}}}
{{#if:{{{field<includeonly>|</includeonly>}}} |
+
| known_for                = {{{known_for|{{{field|}}}}}}  <!-- 'field' is deprecated, but supported -->
{{!}} align="right" {{!}} '''Field''' {{!}}{{!}} {{{field}}}
+
| education                = {{{education|{{{training|}}}}}} <!-- 'training' is deprecated, but supported -->
}}
+
| alma_mater                = {{{alma_mater|}}}
|-
+
| notable_works            = {{{notable_works|{{{works|}}}}}} <!-- 'works' is deprecated, but supported -->
 
+
| awards                    = {{{awards|}}} <!-- {{awd|award|year|title|role|name}} (optional) -->
{{#if:{{{training<includeonly>|</includeonly>}}} |
+
| website                  = {{{website|}}}
{{!}} align="right" {{!}} '''Training''' {{!}}{{!}} {{{training}}}
+
| nocat_wdimage            = {{{nocat_wdimage|}}}
}}
+
| module                    = {{#if:{{{patrons|}}}{{{memorials|}}}{{{elected|}}}|
|-
+
                                {{ infobox
 
+
                                | child    = yes
{{#if:{{{movement<includeonly>|</includeonly>}}} |
+
                                | decat    = yes <!-- remove from template:infobox tracking categories -->
{{!}} align="right" {{!}} '''Movement''' {{!}}{{!}} <span class="role">{{{movement}}}</span>
+
                                | title    =
}}
+
                                | label1    = Elected
|-
+
                                | data1    = {{{elected|}}}
 
+
                                | class1    = org
{{#if:{{{famous works<includeonly>|</includeonly>}}} |
+
                                | label2    = <span style="white-space:nowrap;">Patron(s)</span>
{{!}} align="right" {{!}} '''Famous works''' {{!}}{{!}} <span class="note">{{{famous works}}}</span>
+
                                | data2    = {{{patron|{{{patrons|}}}}}}
}}
+
                                | label3    = <span style="white-space:nowrap;">Memorial(s)</span>
|-
+
                                | data3    = {{{memorial|{{{memorials|}}}}}}
 
+
                                | rowclass3 = note
{{#if:{{{patrons<includeonly>|</includeonly>}}} |
+
                                }}
{{!}} align="right" {{!}} '''Patrons'''{{!}}{{!}} {{{patrons}}}
+
                              }}
}}
+
| module2                  = {{{module|}}}
|-
+
}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox artist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox artist]] with unknown parameter "_VALUE_"|ignoreblank=y| alma_mater | alt | awards | birth_date | birth_name | birth_place | caption | death_cause | death_date | death_place | education | elected | field | home_town | honorific_prefix | honorific_suffix | image | image_size | known_for | memorial | memorials | module | movement | name | nationality | native_name | native_name_lang | nocat_wdimage | notable_works | other_names | partner | patron | patrons | pronunciation | residence | resting_place | resting_place_coordinates | spouse | style | training | website | works }}<noinclude>
 
+
{{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE AND INTERWIKIS TO Wikidata -->
{{#if:{{{influenced by<includeonly>|</includeonly>}}} |
 
{{!}} align="right" {{!}} '''Influenced by'''{{!}}{{!}} {{{influenced by}}}
 
}}
 
|-
 
 
 
{{#if:{{{influenced<includeonly>|</includeonly>}}} |
 
{{!}} align="right" {{!}} '''Influenced'''{{!}}{{!}} {{{influenced}}}
 
}}
 
|-
 
 
 
{{#if:{{{awards<includeonly>|</includeonly>}}} |
 
{{!}} align="right" {{!}} '''Awards''' {{!}}{{!}} {{{awards}}}
 
}}
 
|-
 
 
 
|}<noinclude>
 
{{template doc}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 05:56, 3 November 2019

Infobox artist
Template documentation[view] [edit] [history] [purge]

{{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