Template:Infobox artist/doc: Difference between revisions
meta>Nikkimaria rv since associated template change has been reverted |
meta>Netoholic change has been implemented |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{ | {{Uses infobox person}} | ||
<!-- 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 | ||
| honorific_prefix = {{{honorific_prefix}}} | | honorific_prefix = {{{honorific_prefix}}} | ||
| name = {{{name}}} | | name = {{{name}}} | ||
Line 15: | Line 14: | ||
| 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 21: | Line 20: | ||
| death_date = {{{death_date}}} | | death_date = {{{death_date}}} | ||
| death_place = {{{death_place}}} | | death_place = {{{death_place}}} | ||
| resting_place = | | resting_place = {{{resting_place}}} | ||
| resting_place_coordinates = {{{resting_place_coordinates}}} | |||
| nationality = {{{nationality}}} | | nationality = {{{nationality}}} | ||
| | | education = {{{education}}} | ||
| alma_mater = {{{{alma_mater}}} | | alma_mater = {{{{alma_mater}}} | ||
| known_for = {{{known_for}}} | |||
| notable_works = {{{notable_works}}} | |||
| style = {{{style}}} | |||
| movement = {{{movement}}} | | movement = {{{movement}}} | ||
| | | spouse = {{{spouse}}} | ||
| awards = {{{awards}}} | |||
| elected = {{{elected}}} | |||
| patrons = {{{patrons}}} | | patrons = {{{patrons}}} | ||
| memorials = {{{memorials}}} | | memorials = {{{memorials}}} | ||
| website = {{{website}}} | | website = {{{website}}} | ||
}} | }} | ||
Line 42: | Line 42: | ||
{{Infobox artist | {{Infobox artist | ||
| honorific_prefix = | | honorific_prefix = | ||
| 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 = | |||
| image_size = | | image_size = | ||
| alt = | | alt = | ||
| caption = | | caption = | ||
| birth_name = | | native_name = | ||
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | | 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 --> | |||
| birth_place = | | birth_place = | ||
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | | death_date = | ||
| death_place = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | |||
| resting_place = | | resting_place = | ||
| resting_place_coordinates = <!-- {{Coord|LAT| | | resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} --> | ||
| nationality = | | nationality = | ||
| | | education = | ||
| alma_mater = | | alma_mater = | ||
| known_for = | |||
| notable_works = | |||
| style = | |||
| movement = | | movement = | ||
| | | spouse = | ||
| awards = <!-- {{awd|award|year|title|role|name}} (optional) --> | |||
| elected = | |||
| patrons = | | patrons = | ||
| memorials = | | memorials = | ||
| website = <!-- {{URL|Example.com}} --> | | website = <!-- {{URL|Example.com}} --> | ||
}} | }} | ||
</pre> | </pre> | ||
Line 112: | Line 111: | ||
| ''nationality'' || artist's nationality | | ''nationality'' || artist's nationality | ||
|- | |- | ||
| '' | | ''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'' || artist's 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'' || artist's spouse, if notable | ||
|- | |- | ||
| ''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}} | ||
|- | |- | ||
|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 233: | Line 230: | ||
"resting_place_coordinates": { | "resting_place_coordinates": { | ||
"label": "Resting place", | "label": "Resting place", | ||
"description": "Coordinates of artist's grave, etc.", | "description": "Coordinates of artist's grave, etc. Use {{Coord|LAT|LONG|type:landmark|display=inline}}", | ||
"type": "string/line", | "type": "string/line", | ||
"required": false | "required": false | ||
Line 243: | Line 240: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "education": { | ||
"label": " | "label": "Education", | ||
"description": " | "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", | "type": "string/line", | ||
"required": false | "required": false | ||
}, | }, | ||
" | "known_for": { | ||
"label": " | "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": { | ||
"label": " | "label": "Notable work(s)", | ||
"description": " | "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", | "type": "string/line", | ||
"required": false | "required": false | ||
Line 267: | Line 276: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "spouse": { | ||
"label": " | "label": "Spouse(s)", | ||
"description": "Artist's | "description": "Artist's spouse(s), if notable.", | ||
"type": "string/line", | "type": "string/line", | ||
"required": false | "required": false | ||
Line 292: | Line 294: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "patrons": { | ||
"label": " | "label": "Patron(s)", | ||
"description": " | "description": "Patrons of the artist.", | ||
"type": "string/line", | "type": "string/line", | ||
"required": false | "required": false | ||
}, | }, | ||
" | "memorials": { | ||
"label": " | "label": "Memorial(s)", | ||
"description": " | "description": "Monuments, plaques, entities named after the subject, etc.", | ||
"type": "string/line", | "type": "string/line", | ||
"required": false | "required": false | ||
}, | }, | ||
" | "website": { | ||
"label": "Official website", | |||
"description": "Artist's official website. Consider using {{URL}}.", | |||
"type": "string/line", | |||
"required": false | |||
} | } | ||
} | } |
Revision as of 19:19, 30 June 2014
This is a documentation subpage for Template:Infobox artist. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
{{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]] | |
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}}} |
Movement | {{{movement}}} |
Spouse | {{{spouse}}} |
Awards | {{{awards}}} |
Elected | {{{elected}}} |
Patron(s) | {{{patrons}}} |
Memorial(s) | {{{memorials}}} |
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 = <!-- include middle initial, if not specified in birth_name --> | honorific_suffix = | image = <!-- just the pagename, without the File:/Image: prefix or [[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 --> | birth_place = | death_date = | death_place = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | resting_place = | resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} --> | nationality = | education = | alma_mater = | known_for = | notable_works = | style = | movement = | spouse = | awards = <!-- {{awd|award|year|title|role|name}} (optional) --> | elected = | patrons = | memorials = | website = <!-- {{URL|Example.com}} --> }}
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 |
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 | artist's 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 | artist's spouse, 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 | artist's official website, if any. Consider using the template: {{URL|Example.com}}
|
* 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
TemplateData for Infobox artist
An infobox for artists.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Honorific prefix | honorific_prefix | title such as 'Sir', 'Lord' | Page name | optional |
Name | name | Name of the artist. If not specified, the PAGENAME is used.
| Line | optional |
Honorific suffix | honorific_suffix | initials such as 'OBE', 'FRSA' | Page name | optional |
Image | image | Filename for the image (e.g. 'Example.jpg'). | Page name | optional |
Image size | image_size imagesize | Size of the image (e.g. '220px').
| Line | optional |
Alternative text | alt | Alternative text for the image. | Line | optional |
Caption | caption | Caption for the image. | String | optional |
Birth name | birth_name birthname | Artist's name at birth, if different from 'name'. | String | optional |
Birth date | birth_date | Artist's date of birth. Use {{birth date and age}} (for living artists) or {{birth date}} for the deceased. | Line | optional |
Birth place | birth_place | Artist's place of birth. | Line | optional |
Death date | death_date | Artist's date of death. Use {{death date and age}}. Use {{death date}} if birth date unknown or incomplete. | Line | optional |
Death place | death_place | Artist's place of death. | Line | optional |
Resting place | resting_place | Artist's grave, etc. | Line | optional |
Resting place | resting_place_coordinates | Coordinates of artist's grave, etc. Use {{Coord|LAT|LONG|type:landmark|display=inline}} | Line | optional |
Nationality | nationality | Artist's nationality. | Line | optional |
Education | education | Where or with whom the artist trained. | Line | optional |
Alma mater | alma_mater | The linked name of attended higher education institution(s). | Line | optional |
Known for | known_for | Main field(s) in which the artist works or worked (e.g. photography, painting, drawing, etc.). | Line | optional |
Notable work(s) | notable_works | Artist's famous/significant/representative works. Please limit to five works. | Line | optional |
Style | style | Artistic style which the artist employs. | Line | optional |
Movement | movement | Artistic movement or school with which artist is associated. | Line | optional |
Spouse(s) | spouse | Artist's spouse(s), if notable. | Line | optional |
Awards | awards | Awards won by the artist. Consider using {{awd}}. | Line | optional |
Elected bodies | elected | Bodies to which the artist has been elected. | Line | optional |
Patron(s) | patrons | Patrons of the artist. | Line | optional |
Memorial(s) | memorials | Monuments, plaques, entities named after the subject, etc. | Line | optional |
Official website | website | Artist's official website. Consider using {{URL}}. | Line | optional |
See also
- {{Infobox musical artist}}
- {{Infobox artwork}}
- {{Image information art}} - for image pages