Template:Infobox artist: Difference between revisions
meta>Wars + ro |
meta>Pigsonthewing add hcard microformat - see WP:UF |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width:21em; font-size:90%;" cellspacing="5" | {| class="infobox vcard" style="width:21em; font-size:90%;" cellspacing="5" | ||
|- | |- | ||
|colspan="2" style="text-align:center; font-size:larger; background-color:{{{bgcolour|#c0c0c0}}}; color:#000000;"| '''{{{name|{{PAGENAME}}}}}''' | |colspan="2" style="text-align:center; font-size:larger; background-color:{{{bgcolour|#c0c0c0}}}; color:#000000;" class="fn"| '''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
|colspan="2" style="text-align:center; font-size:90%;"| {{#if:{{{image|}}}|<!--then:-->[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|<!--else:-->220px}}| ]]<br/><small>{{{caption|}}}</small> | |colspan="2" style="text-align:center; font-size:90%;"| {{#if:{{{image|}}}|<!--then:-->[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|<!--else:-->220px}}| ]]<br/><small>{{{caption|}}}</small> | ||
}} | }} | ||
{{#if:{{{birthname|}}}|<!--then:--><tr><td style="text-align:right;">'''Birth name'''</td><td>{{{birthname|}}}</td></tr> | {{#if:{{{birthname|}}}|<!--then:--><tr><td style="text-align:right;">'''Birth name'''</td><td class="nickname">{{{birthname|}}}</td></tr> | ||
}} | }} | ||
|- | |- | ||
Line 34: | Line 34: | ||
{{#if:{{{movement|}}} | | {{#if:{{{movement|}}} | | ||
{{!}} align="right" {{!}} '''Movement''' {{!}}{{!}} {{{movement|}}} | {{!}} align="right" {{!}} '''Movement''' {{!}}{{!}} <span class="role">{{{movement|}}}</span> | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{famous works|}}} | | {{#if:{{{famous works|}}} | | ||
{{!}} align="right" {{!}} '''Famous works''' {{!}}{{!}} {{{famous works|}}} | {{!}} align="right" {{!}} '''Famous works''' {{!}}{{!}} <span class="note">{{{famous works|}}}</span> | ||
}} | }} | ||
|- | |- | ||
Line 137: | Line 137: | ||
|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. | ||
|} | |} | ||
===microformat=== | |||
{{UF-hcard-person}} | |||
==See also== | ==See also== |
Revision as of 00:19, 22 April 2007
Infobox artist | |
Born | {{{birthdate}}} |
An Infobox Artist may be used to summarise information about a person who is an artist.
Usage
The infobox may be added by pasting the template as shown below into an article. Only the name and birthdate parameters are required. For an example, see Salvador Dalí.
{{Infobox Artist | bgcolour = | name = | image = | imagesize = | caption = | birthname = | birthdate = | location = | deathdate = | deathplace = | nationality = | field = | training = | movement = | famous works = | patrons = | influenced by = | influenced = | awards = }}
Parameters
Those parameters in bold italics are required.
bgcolour | background colouring (e.g. as used in associated colours/projects). Omit this line to use the default color. |
name | artist's name; usually the article's page name (i.e. the artist's common name) |
image | an image of the artist, in the form: "Example.jpg" |
imagesize * | in the form "Npx", resizes the image to a width of N pixels; default is 220px |
caption * | caption for the image |
birthname | artist's name at birth |
birthdate | artist's date of birth, in the form: Month Date, Year |
location | artist's place of birth |
deathdate | artist's date of death (in form already given) |
deathplace | artist's place of death |
nationality | artist's nationality |
field | main fields in which the artist works (i.e. photography, painting, sculpture, drawing, ceramics, graphic design) |
training | where or with whom the artist trained |
movement | artistic movement or school with which artist is associated |
famous works | artist's most famous works |
patrons | patrons of the artist |
influenced by | artists who have influenced the artist (other than his teachers) |
influenced | artists who have been influenced by the artist |
awards | any awards the artist has won |
* 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.
See also
- {{Artwork}}
- {{ArtCutline}}
- {{Painting}}
- {{Sculpture}}
- {{Image information art}} - for image pages
nl:Sjabloon:Kunstenaar
ro:Format:Infobox Artist
sl:Predloga:Infopolje Umetnik
zh:Template:Infobox Artist
[[Category:People infobox templates|Template:Infobox Artist]]