Template:Infobox musical artist/doc: Difference between revisions

Content deleted Content added
unannotated versions, ready to copy and use
 
(26 intermediate revisions by 15 users not shown)
Line 1:
<noinclude>{{pp-vandalism|small=yes}}</noinclude>{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
{{High-use}}
{{#ifeq:{{SUBPAGENAME}}|sandbox||}}
{{Person infobox header}}
{{Music infobox header}}
Line 19:
* For dancers, use {{tl|Infobox dancer}} instead.
 
{{Parameter names example | honorific_prefix| name| honorific_suffix| image| image_upright| image_size| landscape| alt| caption| native_name| native_name_lang| birth_name| alias| birth_date| birth_place| origin| death_date| death_place| genre| occupations| instruments| discography| years_active| label| current_member_of| past_member_of| spouse| partner| website| module| module2| module3 }}
 
<presyntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">
{{Infobox musical artist
| background = person
Line 43:
| death_place =
| genre =
| occupationsoccupation =
| instrumentsinstrument =
| discography =
| years_active = <!-- YYYY–YYYY (or –present) -->
| label =
Line 56 ⟶ 57:
| module3 =
}}
</syntaxhighlight>
</pre>
 
<syntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">
{{Infobox musical artist
| background =
| honorific_prefix =
| name =
| honorific_suffix =
| image =
| image_upright =
| image_size =
| landscape =
| alt =
| caption =
| native_name =
| native_name_lang =
| birth_name =
| alias =
| birth_date =
| birth_place =
| origin =
| death_date =
| death_place =
| genre =
| occupation =
| instrument =
| discography =
| years_active =
| label =
| current_member_of =
| past_member_of =
| spouse =
| partner =
| website =
| module =
| module2 =
| module3 =
}}
</syntaxhighlight>
 
=== For articles about musical groups ===
* Some types of musical groups have their own dedicated infobox, which should be used instead: {{tl|Infobox choir}}, {{tl|Infobox orchestra}}, {{tl|Infobox marching band}}
 
{{Parameter names example | name | image | image_size | image_upright | landscape | alt | caption | alias | origin | genre | discography | years_active | label | website | current_members | past_members | spinoffs | spinoff_of | module | module2 | module3 }}
 
<presyntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">
{{Infobox musical artist
| background = group_or_band
Line 76 ⟶ 115:
| origin =
| genre =
| discography =
| years_active = <!-- {{Start date|YYYY}}–{{End date|YYYY}} (or –present) -->
| label =
Line 87 ⟶ 127:
| module3 =
}}
</syntaxhighlight>
</pre>
 
<syntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">
{{Infobox musical artist
| background =
| name =
| image =
| image_size =
| image_upright =
| landscape =
| alt =
| caption =
| alias =
| origin =
| genre =
| discography =
| years_active =
| label =
| spinoffs =
| spinoff_of =
| current_members =
| past_members =
| website =
| module =
| module2 =
| module3 =
}}
</syntaxhighlight>
 
== Parameters ==
Line 94 ⟶ 161:
 
=== background ===
 
Currently only used to track if it's a single person or a group that is required for [[Wikipedia:WikiProject Microformats/hcard|hCard microformat]]. Use value <code>person</code> or <code>group_or_band</code>.
Required to distinguish if the subject is a single person or a group that is required for the template's embedded [[Wikipedia:WikiProject Microformats/hcard|hCard microformat]]. Use either <code>person</code> or <code>group_or_band</code> as the value.
 
=== honorific_prefix ===
Line 137 ⟶ 205:
=== birth_date ===
{{Em|This field is only relevant for individuals.}} The artist's date of birth; it is preferable to use {{tl|Birth date and age}} (for example <code><nowiki>{{Birth date and age|1949|12|31}}</nowiki></code>) to display current age. If the artist's age is verified, but the date is not known, then use {{tl|Birth based on age as of date}} (for example <code><nowiki>{{Birth based on age as of date|63|2012|08|30}}</nowiki></code>). For dead people, use {{tl|Birth date}} (for example <code><nowiki>{{Birth date|1949|12|31}}</nowiki></code>). Also list the place of birth using the birth_place parameter (below).
<presyntaxhighlight lang="wikitext">{{Birth date and age|Year|Month|Day}}</presyntaxhighlight>
 
=== birth_place ===
{{Em|This field is only relevant for individuals.}} The artist's place of birth. For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S.US" and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes{{r|location}} for details. Do not add a flag icon. (see field "[[Template:Infobox musical artist/doc#origin|origin]]" below).
<presyntaxhighlight lang="wikitext">[[City]], State/Province, Country</presyntaxhighlight>
 
=== origin ===
The town, city etc., from which the group or musician originated (that is, the place where the group was founded, or where the individual performer started their career, should it not match the location of their birth). If the place is not known, specify at least the country. For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S.US" and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes{{r|location}} for details. Do not add a flag icon. Omit the country if it does not differ from that specified at the field "birth_place".
<presyntaxhighlight lang="wikitext">[[City]], State/Province, Country</presyntaxhighlight>
 
=== death_date ===
Line 152 ⟶ 220:
=== death_place ===
{{Em|This field is only relevant for individuals.}}
The artist's place of death (same format as birth_place). For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S.US" and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes{{r|location}} for details. Do not add a flag icon. Omit the country if it does not differ from that specified at the field "birth_place".
 
=== genre ===
The genre or genres of music performed by the act. Aim for generality (e.g. <code><nowiki>[[Hip hop music|Hip hop]]</nowiki></code> rather than <code><nowiki>[[East Coast hip hop]]</nowiki></code>) and preferably use two to four. Genres should be separated by using commas, {{tl|Flatlist}} or {{tl|Hlist}}.{{r|lists}} Genres should be wikilinked. Use piped links where needed, for example: <code><nowiki>[[Pop music|Pop]], [[Rock music|rock]]</nowiki></code>. Most genres are not proper nouns and should not be capitalized. However, the first word in a list of multiple genres should be capitalized. Genres that are sourced in the article itself do not require a source in the infobox, but sometimes it can be useful to have the source listed again anyway, to help prevent edit warring. A hidden comment such as <code><nowiki><!-- genres listed here are sourced in the article text --></nowiki></code> can also be used to this end.
 
=== occupationsoccupation ===
{{Em|This field is only relevant for individuals.}} Roles the artist has fulfilled (e.g. musician, songwriter, producer). For artists who have participated in forms of entertainment outside of music (such as acting), these occupations can be included if notable. Please observe sentence case and capitalise only the first letter of the first item (e.g. Musician, actor, singer-songwriter). Multiple occupations should be ordered according to importance and separated by commas, {{tl|Flatlist}} or {{tl|Hlist}}.{{r|lists}}
 
=== instrumentsinstrument ===
{{Em|This field is only relevant for individuals.}} General class(es) of instrument(s) played by the artist (e.g. <code><nowiki>guitar</nowiki></code> or <code><nowiki>violin</nowiki></code>). Include <code><nowiki>singing</nowiki></code>, <code><nowiki>rapping</nowiki></code>, <code><nowiki>beatboxing</nowiki></code> or <code><nowiki>scat singing</nowiki></code> if relevant. Separate multiple entries by using commas, {{tl|Flatlist}} or {{tl|Hlist}}.{{r|lists}} Instruments listed in the infobox should be limited to {{em|only}} those that the artist is primarily known for using. The instruments infobox parameter is {{em|not}} intended as a [[WP:COATRACK]] for every instrument the subject has ever used.
 
=== discography ===
Link to an article about the musician's or group's [[discography]]. This field should not be displayed on printable version.
 
=== years_active ===
Line 189 ⟶ 260:
=== current_members ===
{{Em|This field is only relevant for active groups.}} Current members of the group, listed in order of joining with no other notation than names. For multiple members joining concurrently (such as the formation of the band), list them according to alphabetical order. Separate multiple entries using [[Help:list|<nowiki>*</nowiki> list markup]]. For example,
<presyntaxhighlight lang="wikitext" style="overflow:auto">
| current_members =
* Member 1
* Member 2
* Member 3
</syntaxhighlight>
</pre>
 
=== past_members ===
{{Em|This field is only relevant for groups.}} Past members of the group, listed in order of joining with no other notation than names. If a group is inactive, all members should be listed here, and none in the "current_members" field. If membership of the group has varied over time, it should not be noted here, but may be discussed in the article body. Can also be given as {{para|former_members}}. Separate multiple entries using [[Help:list|<nowiki>*</nowiki> list markup]]. For example,
<presyntaxhighlight lang="wikitext" style="overflow:auto">
| past_members =
* Member 1
* Member 2
* Member 3
</syntaxhighlight>
</pre>
 
=== website ===
Line 222 ⟶ 293:
The '''module''' parameters (module, module2, module3) are used for embedding other templates into this infobox.
 
<presyntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;">
{{Infobox musical artist
| name =
Line 231 ⟶ 302:
}}
}}
</syntaxhighlight>
</pre>
 
== Examples ==
Line 240 ⟶ 311:
| image = Mariah Carey13 Edwards Dec 1998.jpg
| image_upright =
| alt = Young woman singing into a hand mikemic with her eyes closed and a big smile
| caption = Carey performing in 1998
| birth_name = <!-- leave empty if the same "name" -->
| birth_date = {{Birth date and age|1970|3|27}}
| birth_place = [[Huntington, New York]], U.S.US
| origin = New York City
| genre = {{Flatlist|
Line 251 ⟶ 322:
* [[dance-pop]]
}}
| discography = [[Mariah Carey albums discography|Albums]]<br />[[Mariah Carey singles discography|Singles]]
| occupations = Singer-songwriter, record producer
| occupation = Singer-songwriter, record producer
| years_active = 1990–present
| spousesspouse = {{Unbulleted list|{{marriage|[[Tommy Mottola]]|1993|1998|end=divorced}}|{{marriage|[[Nick Cannon]]|2008|2016|end=divorced}}}}
| label = {{Flatlist|
* [[Columbia Records|Columbia]]
Line 262 ⟶ 334:
}}
 
<presyntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">
{{Infobox musical artist
| name = Mariah Carey
| image = Mariah Carey13 Edwards Dec 1998.jpg
| image_upright =
| alt = Young woman singing into a hand mikemic with her eyes closed and a big smile
| caption = Carey performing in 1998
| birth_name = <!-- leave empty if the same "name" -->
| birth_date = {{Birth date and age|1970|3|27}}
| birth_place = [[Huntington, New York]], U.S.US
| origin = New York City
| genre = {{hlist|
Line 278 ⟶ 350:
* [[dance-pop]]
}}
| discography = [[Mariah Carey albums discography|Albums]]<br />[[Mariah Carey singles discography|Singles]]
| occupations = Singer-songwriter, record producer
| years_active = 1990–present
| spousesspouse = {{Unbulleted list|{{marriage|[[Tommy Mottola]]|1993|1998|end=divorced}}|{{marriage|[[Nick Cannon]]|2008|2016|end=divorced}}}}
| label = {{Flatlist|
* [[Columbia Records|Columbia]]
Line 288 ⟶ 361:
| website = {{URL|mariahcarey.com}}
}}
</syntaxhighlight>
</pre>
 
{{Clear}}
Line 299 ⟶ 372:
| alt = Four-man rock group performing on stage, spotlit, with row of darkened fans in the foreground
| caption = From left to right: [[Tim Commerford]], [[Chris Cornell]], [[Brad Wilk]] and [[Tom Morello]] in 2005
| origin = [[Los Angeles]], California, U.S.US
| genre = {{Flatlist|
* [[Hard rock]]
Line 305 ⟶ 378:
* [[post-grunge]]
}}
| discography = [[Audioslave discography]]
| years_active = 2001–2007
| label = {{Flatlist|
Line 319 ⟶ 393:
}}
 
<presyntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">
{{Infobox musical artist
| name = Audioslave
Line 326 ⟶ 400:
| alt = Four-man rock group performing on stage, spotlit, with row of darkened fans in the foreground
| caption = From left to right: [[Tim Commerford]], [[Chris Cornell]], [[Brad Wilk]] and [[Tom Morello]] in 2005
| origin = [[Los Angeles]], California, U.S.US
| genre = {{Flatlist|
* [[Hard rock]]
Line 332 ⟶ 406:
* [[post-grunge]]
}}
| discography = [[Audioslave discography]]
| years_active = 2001–2007
| label = {{Flatlist|
Line 345 ⟶ 420:
| website = {{URL|audioslave.com}}
}}
</syntaxhighlight>
</pre>
 
Examples of the template in use can be found at:
Line 354 ⟶ 429:
== Tracking categories ==
Hidden maintenance/tracking categories which may be added to articles using this infobox:
* {{Category link with count|Pages using Template:Infobox musical artist with unknown parameters|pages}} – any articles using this infobox with unknown parameter names
* {{clc|Pages using infobox musical artist with associated acts|pages}} - all articles where this deprecated param has been used
* {{Category link with count|Articles with hCards|pages}} – all articles using this infobox
 
Line 368 ⟶ 443:
{{Reflist|refs=
<ref name="lists">For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of {{tl|Flatlist}} or {{tl|Hlist}} is preferred as they offer a benefit to users of screen readers. Vertical lists should always be implemented by {{tl|Plainlist}} or {{tl|Unbulleted list}} and never by {{tag|br|s}} tags for reasons of [[Wikipedia:Manual of Style/Accessibility#Vertical lists|accessibility]].</ref>
<ref name="location">As per RfC "Naming countries in infoboxes": When identifying a location, city or region in the United States or United Kingdom, the preferred approach is to use the country abbreviations allowed by [[MOS:ACRO]], such as "Portsmouth, New Hampshire, U.S.US" and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. {{xt|New Hampshire}} rather than {{!xt|NH}}, {{xt|New South Wales}} rather than {{!xt|NSW}}, or {{xt|British Columbia}} rather than {{!xt|BC}} (see [[MOS:POSTABBR]]). Cities such as New York City and London may be rendered as "New York City, U.S.US" and "London, UK" or simply "New York City" and "London". Also, these should not be linked when the context makes it clear (see [[MOS:OVERLINK]]). If only the country name is included, it may be written out in full.
</ref>
}}
Line 428 ⟶ 503:
"type": "line",
"required": false,
"autovalue": "yes",
"suggestedvalues": [
"yes"
]
},
"alt": {
Line 477 ⟶ 555:
"birth_place": {
"label": "Birth place",
"description": "The artist's place of birth. e.g. '[[Lubbock, Texas]], U.S.US'.",
"type": "string",
"required": false
Line 508 ⟶ 586:
"example": "{{hlist|[[Rock music|Rock]]|[[synth-pop]]|[[house music|house}}"
},
"occupationsdiscography": {
"label": "OccupationsDiscography",
"description": "Link to an article or articles about the musician's or group's discography",
"type": "string",
"required": false,
"description": "Roles the artist has fulfilled (e.g. musician, songwriter, producer, etc). For artists who have participated in forms of entertainment outside of music (such as acting), these occupations can be included if notable."
"example": "[[ABBA discography]]"
},
"instruments": {
"label": "Instruments",
"description": "General classes of instruments played by the artist, e.g. guitar or violin. Include singing, rapping, beatboxing and/or scat singing if relevant. Separate multiple entries by using commas, {{tl|flatlist}} or {{tl|hlist}}. Instruments listed in the infobox should be limited to only those that the artist is primarily known for using.",
"type": "string"
},
"years_active": {
Line 556 ⟶ 631:
"description": "Name of spouse(s), followed by years of marriage. Use the format Name (married 1950–present) for a current spouse, and Name (married 1970–1999) for former spouse(s). Separate entries using Template:Plainlist or Template:Unbulleted list. For deceased persons still married at time of death, do not include an end year. {{Marriage}} may be used.",
"type": "string",
"aliases": [
"spouses"
],
"required": false
},
Line 565 ⟶ 637:
"description": "For unmarried life partners in a domestic partnership (of any gender or sexual orientation), not business partners. Use the format Name (1950–present) for current partner and Name (1970–1999) for former partner(s).",
"type": "string",
"aliases": [
"partners"
],
"required": false
},
Line 594 ⟶ 663:
"type": "line",
"required": false,
"autovalue": "yes",
"suggestedvalues": [
"yes"
]
},
"module": {
Line 623 ⟶ 695:
"group_or_band"
]
},
"occupation": {
"label": "Occupation(s)",
"description": "Roles the artist has fulfilled (e.g. musician, songwriter, producer, etc). For artists who have participated in forms of entertainment outside of music (such as acting), these occupations can be included if notable.",
"type": "string"
},
"occupations": {
"deprecated": true
},
"instruments": {
"deprecated": true
},
"instrument": {
"label": "Instrument(s)",
"description": "General classes of instruments played by the artist, e.g. guitar or violin. Include singing, rapping, beatboxing and/or scat singing if relevant. Separate multiple entries by using commas, {{tl|flatlist}} or {{tl|hlist}}. Instruments listed in the infobox should be limited to only those that the artist is primarily known for using.",
"type": "string"
},
"associated_acts": {
"deprecated": "Replace with (1) current_member_of / past_member_of for persons or (2) spinoffs / spinoff_of for groups"
}
},
"format": "{{_\n| _________________________________ = _\n}}\n",
"paramOrder": [
"honorific_prefix",
Line 647 ⟶ 738:
"death_place",
"genre",
"occupationsoccupation",
"instrumentsinstrument",
"discography",
"years_active",
"label",
Line 663 ⟶ 755:
"module",
"module2",
"module3",
"occupations",
"instruments",
"associated_acts"
]
}
Line 677 ⟶ 772:
[[Category:WikiProject Musicians templates|Infobox Musical Artist]]
[[Category:Templates that add a tracking category]]<!--sort by PAGENAME-->
 
}}</includeonly>