Template:Infobox dancer: Difference between revisions
religion and ethnicity parameters were removed from Template:Infobox person in 2016, see note in template documentation |
No edit summary |
||
(17 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox person |
<includeonly>{{#invoke:Template wrapper|wrap|_template=Infobox person |
||
| _alias-map = module:module2 |
|||
| name = {{{name|{{PAGENAMEBASE}}}}} |
|||
| _exclude = current_group,former_groups,groups,dances |
|||
| image = {{{image|}}} |
|||
| template_name = infobox dancer |
|||
| image_size = {{{image_size|}}} |
|||
| |
| module = {{#if:{{{current_group|}}}{{{former_groups|}}}{{{groups|}}}{{{dances|}}}| |
||
{{Infobox|child=yes|decat=yes |
|||
| caption = {{{caption|}}} |
|||
| |
| title = '''{{#if:{{{embed|}}}|Dancing career|Career}}''' |
||
⚫ | |||
| birth_date = {{{birth_date|}}} |
|||
| birth_place = {{{birth_place|}}} |
|||
| death_date = {{{death_date|}}} |
|||
| death_place = {{{death_place|}}} |
|||
| residence = {{{residence|}}} |
|||
| nationality = {{{nationality|}}} |
|||
| citizenship = {{{citizenship|}}} |
|||
| education = {{{education|}}} |
|||
| occupation = {{{occupation|}}} |
|||
| years_active = {{{years_active|}}} |
|||
| home_town = {{{home_town|}}} |
|||
| height = {{{height|}}} |
|||
| spouse = {{{spouse|}}} |
|||
| partner = {{{partner|}}} |
|||
| children = {{{children|}}} |
|||
| module = {{#if:{{{current_group|}}}{{{former_groups|}}}{{{groups|}}}{{{dances|}}}|{{Infobox|child = yes |
|||
⚫ | |||
| data1 = {{{current_group|}}} |
| data1 = {{{current_group|}}} |
||
| label2 = Former |
| label2 = Former groups |
||
| data2 = {{{former_groups|{{{groups| |
| data2 = {{if empty|{{{former_groups|}}}|{{{groups|}}}}} |
||
| label3 = Dances |
| label3 = Dances |
||
| data3 = {{{dances|}}} |
| data3 = {{{dances|}}} |
||
}}}}}}{{#invoke:Check for clobbered parameters|check |
|||
}}}} |
|||
|template=[[Template:Infobox dancer]] |
|||
⚫ | |||
|cat={{main other|[[Category:Pages using infobox dancer with conflicting parameters]]}} |
|||
| website = {{{website|}}} |
|||
|former_groups; groups |
|||
| nocat_wdimage = {{{nocat_wdimage|}}} |
|||
⚫ | |||
}}{{#invoke:Check for unknown parameters | check | ignoreblank = y | unknown = {{Main other|[[Category:Pages using Infobox dancer with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview = Page using [[Template:Infobox dancer]] with unknown parameter "_VALUE_" | name | image | image_size | alt | caption | birth_name | birth_date | birth_place | death_date | death_place | residence | nationality | citizenship | education | occupation | years_active | home_town | height | spouse | partner | children | current_group | former_groups | groups | dances | module | website | nocat_wdimage |
|||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{documentation}}<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |
|||
{{documentation}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 04:19, 8 October 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 (8,971) – 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}}