Template:Infobox dancer: Difference between revisions
Neveselbert (talk | contribs) embed option |
Neveselbert (talk | contribs) m fix |
||
Line 24: | Line 24: | ||
| module = {{#if:{{{current_group|}}}{{{former_groups|}}}{{{groups|}}}{{{dances|}}}| |
| module = {{#if:{{{current_group|}}}{{{former_groups|}}}{{{groups|}}}{{{dances|}}}| |
||
{{Infobox|child=yes|decat=yes |
{{Infobox|child=yes|decat=yes |
||
| title = '''{{#if:{{{embed|}}}| |
| title = '''{{#if:{{{embed|}}}|Dancing career|Career}}''' |
||
| label1 = Current group |
| label1 = Current group |
||
| data1 = {{{current_group|}}} |
| data1 = {{{current_group|}}} |
Revision as of 10:22, 13 March 2023
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
Please note that in 2016, the |religion= and |ethnicity= parameters were removed from Template:Infobox person (and by extension this template) as a result of the RfC: Religion in biographical infoboxes and the RfC: Ethnicity in infoboxes as clarified by this discussion. |
This template uses Lua: |
{{Infobox dancer}} is the standard infobox for dancer articles, and is within the purview of WikiProject Dance.
Usage
This template accepts all parameters that {{Infobox person}} does. For a complete list, see here.
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Nationality | {{{nationality}}} |
Citizenship | {{{citizenship}}} |
Education | {{{education}}} |
Occupation | {{{occupation}}} |
Years active | {{{years_active}}} |
Height | {{{height}}} |
Spouse | {{{spouse}}} |
Partner | {{{partner}}} |
Children | {{{children}}} |
Career | |
Current group | {{{current_group}}} |
Former groups | {{{former_groups}}} |
Dances | {{{dances}}} |
{{{module}}} | |
Website | {{{website}}} |
{{Infobox dancer
| honorific_prefix =
| name = <!-- defaults to article title when left blank -->
| honorific_suffix =
| image =
| alt =
| caption =
| birth_name =
| birth_date = <!-- {{birth date and age|yyyy|mm|dd}} or {{birth date|yyyy|mm|dd}} For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. -->
| birth_place =
| death_date = <!-- {{death date and age|deathyear|mm|dd|birthyear|mm|dd}} -->
| death_place =
| nationality = <!-- use only when necessary per [[WP:INFONAT]] -->
| citizenship = <!-- use only when necessary per [[WP:INFONAT]] -->
| education =
| occupation =
| years_active =
| height =
| spouse =
| partner =
| children =
| website = <!-- {{URL|website}} -->
| current_group =
| former_groups =
| dances =
| module =
}}
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
- Category:Pages using infobox dancer with unknown parameters (0)
- Category:Pages using infobox dancer with conflicting parameters (0)
- Category:No local image but image on Wikidata (9,021) – 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
|nocat_wdimage=yes
to the infobox.
See also
- {{Infobox person}}