Template:Infobox musical artist/doc

From TwentyOneWiki
Revision as of 22:36, 29 January 2024 by Buburka Rinderbuy (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Pp-vandalism

[[Category:Template documentation pages{{#translation:}}]]

Template:Person infobox header

Template:Auto short description

{{Infobox musical artist}} is the standard infobox for musician articles, and is within the purview of WikiProject Musicians.

This template may also be used as a module (or sub-template) of {{Infobox person}}; see WikiProject Infoboxes/embed for guidance on such usage.

See also WikiProject Musicians/Infobox for more information.

Usage

One of the following two alternatives (one for individuals, one for groups) should be placed in an article at the top of the page, before the introduction.

For articles about individuals

Template:Parameter names example

{{Infobox musical artist
| background        = person
| honorific_prefix  = 
| name              = 
| honorific_suffix  = 
| image             = 
| image_upright     = 
| image_size        = 
| landscape         = <!-- yes, if wide image, otherwise leave blank -->
| alt               = 
| caption           = 
| native_name       = 
| native_name_lang  = 
| birth_name        = <!-- leave empty if the same "name" -->
| alias             = 
| birth_date        = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]] -->
| birth_place       = 
| origin            = 
| death_date        = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date first) -->
| death_place       = 
| genre             = 
| occupation        = 
| instrument        = 
| discography       = 
| years_active      = <!-- YYYY–YYYY (or –present) -->
| label             = 
| current_member_of = 
| past_member_of    = 
| spouse            = <!-- Use article title or common name -->
| partner           = <!-- (unmarried long-term partner) -->
| website           = <!-- {{URL|example.com}} or {{Official URL}} -->
| module            = 
| module2           = 
| module3           = 
}}

For articles about musical groups

Template:Parameter names example

{{Infobox musical artist
| background      = group_or_band
| name            = 
| image           = 
| image_size      = 
| image_upright   = 
| landscape       = <!-- yes, if wide image, otherwise leave blank -->
| alt             = 
| caption         = 
| alias           = 
| origin          = 
| genre           = 
| discography     =
| years_active    = <!-- {{Start date|YYYY}}–{{End date|YYYY}} (or –present) -->
| label           = 
| spinoffs        = 
| spinoff_of      = 
| current_members = 
| past_members    = 
| website         = <!-- {{URL|example.com}} or {{Official URL}} -->
| module          = 
| module2         = 
| module3         = 
}}

Parameters

  • Most fields are optional and the row will simply be omitted if no data is supplied.
  • See WikiProject Musicians for more information about this template.

background

Currently only used to track if it's a single person or a group that is required for hCard microformat. Use value person or group_or_band.

honorific_prefix

Titles or styles such as "The Right Honourable"

name

The name of the group or artist ("the act") in plain text only. Logos and other graphics are to be avoided in this field in accordance with WP:ACCESS, WP:FAIR, and in particular WP:LOGO. This field is mandatory.

honorific_suffix

Honours such as "CBE", "OBE" (e.g. Cilla Black OBE)

image

An image of the act, sufficiently clear for display at 220 pixels' width. Set to only the image name (e.g. Example.png) not File:Example.png or [[File:Example.png|200px|abc]].

image_size

The image size should only be specified if the image is smaller than 220 pixels width. Enter the width in pixels without "px", for example 150.

image_upright

Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).

landscape

Set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels.

alt

Alt text for the image, for visually impaired and other readers who cannot see the image. See WP:ALT.

caption

Caption for the image to be displayed.

native_name

This field is only relevant for individuals. The artist's name in their own language. For Chinese-language individuals, use {{Infobox Chinese}} for |module= instead. For Korean-language individuals, use {{Infobox Korean name}} for |module= instead.

native_name_lang

This field is only relevant for individuals. ISO 639-2 code ("fre" or "fra" for French). If more than one, use {{lang}} for |native_name= instead

birth_name

This field is only relevant for individuals. The person's name at birth, if different

alias

For listing official stage names for the act or solo artist other than the name in the |name= parameter. Also for the solo artist's legal name(s), or other officially authorized names that differ from their birth name. This field is not for nicknames such as "The Godfather of Soul" (James Brown) or "Nippy" (Whitney Houston), which are not the artists' official names.

birth_date

This field is only relevant for individuals. The artist's date of birth; it is preferable to use {{Birth date and age}} (for example {{Birth date and age|1949|12|31}}) to display current age. If the artist's age is verified, but the date is not known, then use {{Birth based on age as of date}} (for example {{Birth based on age as of date|63|2012|08|30}}). For dead people, use {{Birth date}} (for example {{Birth date|1949|12|31}}). Also list the place of birth using the birth_place parameter (below).

{{Birth date and age|Year|Month|Day}}

birth_place

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." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See NotesTemplate:R for details. Do not add a flag icon. (see field "origin" below).

[[City]], State/Province, Country

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." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See NotesTemplate:R for details. Do not add a flag icon. Omit the country if it does not differ from that specified at the field "birth_place".

[[City]], State/Province, Country

death_date

This field is only relevant for individuals. The artist's date of death (same format as birth_date; but use {{Death date and age}}).

death_place

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." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See NotesTemplate:R 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. [[Hip hop music|Hip hop]] rather than [[East Coast hip hop]]) and preferably use two to four. Genres should be separated by using commas, {{Flatlist}} or {{Hlist}}.Template:R Genres should be wikilinked. Use piped links where needed, for example: [[Pop music|Pop]], [[Rock music|rock]]. 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 <!-- genres listed here are sourced in the article text --> can also be used to this end.

occupation

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, {{Flatlist}} or {{Hlist}}.Template:R

instrument

This field is only relevant for individuals. General class(es) of instrument(s) played by the artist (e.g. guitar or violin). Include singing, rapping, beatboxing or scat singing if relevant. Separate multiple entries by using commas, {{Flatlist}} or {{Hlist}}.Template:R Instruments listed in the infobox should be limited to only those that the artist is primarily known for using. The instruments infobox parameter is 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.

years_active

Period(s) during which the act was or has been active. Only calendar year ranges or a single calendar year should be listed; for example, do not distinguish between the period Paul McCartney was in the Beatles and his solo career. Use commas, {{Flatlist}}, or {{Hlist}}}.Template:R to separate non-consecutive periods, and denote ranges with an unspaced en dash (e.g. 1993–2004, 2005–present). See WP:DATE#Longer periods and WP:MOS#En dashes.

label

The record label or labels to which the act has been signed. Omit parenthetical dates; save that information for the main article as this degree of detail is better discussed in prose. Pipe out "Records", "Entertainment", "Music" or similar words from the end of any label's name. For example, use [[Universal Records|Universal]] rather than [[Universal Records]]. Separate multiple entries by using commas, {{Flatlist}}, or {{Hlist}}.Template:R Start with the oldest first.

current_member_of

The groups/bands of which the artist is currently part of. Name of the groups/bands should be separated by using commas, {{Flatlist}}, or {{Hlist}}.Template:R

past_member_of

The groups/bands of which the artist is previously part of. Name of the groups/bands should be separated by using commas, {{Flatlist}}, or {{Hlist}}.Template:R

spinoffs

Groups which have spun off from this group. For example, sub-units. Name of the groups/bands should be separated by using commas, {{Flatlist}}, or {{Hlist}}.Template:R

spinoff_of

A group from which this group has spun off.

spouse

This field is only relevant for individuals. The confirmed spouse(s) of the individual. Names of the spouses should be separated by using commas, {{Flatlist}}, {{Hlist}}, or {{Unbulleted list}}. {{Marriage}} may be used to indicate the date at which the marriage(s) started and ended where known. Template:R

partner

This field is only relevant for individuals. As for spouse or spouses, but the confirmed long term unmarried partner(s) of the individual.

current_members

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 * list markup. For example,

| current_members =
* Member 1
* Member 2
* Member 3

past_members

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. Separate multiple entries using * list markup. For example,

| past_members = 
* Member 1
* Member 2
* Member 3

website

The single web address for the act's primary official website. Use {{URL}} as {{URL|example.com}} . {{Official URL}} can be used to automatically fetch the web address from Wikidata.

embed

Set to 'yes' if embedded in another infobox template.

module, module2, module3

Used for embedding other infoboxes into this one.

Use as a child template

The embed parameter is used when embedding this infobox into another.

Template:Infobox person module documentation

Embedding other templates

The module parameters (module, module2, module3) are used for embedding other templates into this infobox.

{{Infobox musical artist
| name       =  
| <!-- etc. -->
| module     = {{Infobox ABC
| embed      = yes <!-- or child=yes / subbox=yes -->
| <!-- etc. -->
}}
}}

Examples

For individual musicians

Mariah Carey
Young woman singing into a hand mic with her eyes closed and a big smile
Carey performing in 1998
Background information
Born (1970-03-27) March 27, 1970 (age 54)
Huntington, New York, U.S.
OriginNew York City
Genres
Occupation(s)Singer-songwriter, record producer
DiscographyAlbums
Singles
Years active1990–present
Labels
Spouse(s)
  • (m. 1993; div. Expression error: Unrecognized punctuation character "[".)
  • (m. 2008; div. Expression error: Unrecognized punctuation character "[".)
Websitemariahcarey.com
{{Infobox musical artist
| name            = Mariah Carey
| image           = Mariah Carey13 Edwards Dec 1998.jpg
| image_upright   =
| alt             = Young woman singing into a hand mic 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.
| origin          = New York City
| genre           = {{hlist|
* [[Pop music|Pop]]
* [[Contemporary R&B|R&B]]
* [[dance-pop]]
}}
| discography     = [[Mariah Carey albums discography|Albums]]<br />[[Mariah Carey singles discography|Singles]]
| occupations     = Singer-songwriter, record producer
| years_active    = 1990–present
| spouse          = {{Unbulleted list|{{marriage|[[Tommy Mottola]]|1993|1998|end=divorced}}|{{marriage|[[Nick Cannon]]|2008|2016|end=divorced}}}}
| label           = {{Flatlist|
* [[Columbia Records|Columbia]]
* [[Virgin Records|Virgin]]
* [[MonarC]]/[[Island Records|Island]]
}}
| website         = {{URL|mariahcarey.com}}
}}

For groups or bands

Audioslave
Four-man rock group performing on stage, spotlit, with row of darkened fans in the foreground
From left to right: Tim Commerford, Chris Cornell, Brad Wilk and Tom Morello in 2005
Background information
OriginLos Angeles, California, U.S.
Genres
DiscographyAudioslave discography
Years active2001–2007
Labels
Past members
Websiteaudioslave.com
{{Infobox musical artist
| name            = Audioslave
| image           = Audioslave 2005.jpg
| landscape       = yes
| 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.
| genre           = {{Flatlist|
* [[Hard rock]]
* [[alternative rock]]
* [[post-grunge]]
}}
| discography     = [[Audioslave discography]]
| years_active    = 2001–2007
| label           = {{Flatlist|
* [[Epic Records|Epic]]
* [[Interscope Records|Interscope]]
}}
| current_members = 
| past_members    = 
* [[Chris Cornell]]
* [[Tom Morello]]
* [[Tim Commerford]]
* [[Brad Wilk]]
| website         = {{URL|audioslave.com}}
}}

Examples of the template in use can be found at:

Tracking categories

Hidden maintenance/tracking categories which may be added to articles using this infobox:

See also

Supporting templates

Similate templates

Notes

Template:Reflist

Microformat

Template:UF-hcard-person

The determination between class="fn" (for individuals) and class="fn org" (for groups) and is made by {{Infobox musical artist/hCard class}} using |background=.

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox musical artist in articles based on its TemplateData.

TemplateData for Infobox musical artist

<templatedata> { "description": "An infobox for musical artists/groups.", "params": { "honorific_prefix": { "label": "Honorific prefix", "description": "Titles such as Sir.", "type": "string", "required": false }, "name": { "label": "Name", "description": "Name of group/artist, plain text only.", "type": "string", "default": "The page name" }, "honorific_suffix": { "label": "Honorific suffix", "description": "Honours such as CBE, OBE.", "type": "string", "required": false }, "image": { "label": "Image", "description": "Image to use in infobox Set to only the image name.", "type": "wiki-file-name", "required": false, "example": "ABBA - TopPop 1974 5.png" }, "image_size": { "label": "Image size", "description": "Should only be specified if the image is smaller than 220 pixels width. Enter the width in pixels without 'px'.", "type": "string", "required": false, "example": "150", "deprecated": "image_upright should be used instead" }, "image_upright": { "label": "Image upright", "description": "Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).", "type": "string", "required": false }, "landscape": { "label": "Landscape", "description": "Set to yes when using wide, short images.", "type": "line", "required": false, "autovalue": "yes", "suggestedvalues": [ "yes" ] }, "alt": { "label": "Image alt text", "description": "Alt text for the image, for visually impaired and other readers who cannot see the image.", "type": "string", "required": false }, "caption": { "label": "Image caption", "description": "Caption for the image.", "type": "string", "required": false }, "native_name": { "label": "Native name", "description": "The artist's name in their own language.", "type": "string", "required": false }, "native_name_lang": { "label": "Native name language (code)", "description": "ISO 639-2 code e.g. 'fra' for French. If more than one, use [undefined] Error: {{Lang}}: no text (help) for native_name instead", "type": "line", "required": false, "example": "fra" }, "birth_name": { "label": "Birth name", "description": "The person's name at birth.", "type": "string", "required": false }, "alias": { "label": "Alias", "description": "Official stage names, legal names, or other officially authorized names. Not for nicknames.", "type": "string", "required": false }, "birth_date": { "label": "Birth date", "description": "The artist's date of birth; it is preferable to use Error: Need valid birth date: year, month, day.", "type": "string", "required": false, "example": " (1949-12-31) December 31, 1949 (age 74)", "autovalue": "" }, "birth_place": { "label": "Birth place", "description": "The artist's place of birth. e.g. 'Lubbock, Texas, U.S.'.", "type": "string", "required": false }, "origin": { "label": "Origin", "description": "The city from which the singer or group originated.", "type": "string", "required": false, "example": "Aston, Birmingham, England" }, "death_date": { "label": "Death date", "description": "The artist's date of death use Template:Death date and age", "type": "string", "required": false, "autovalue": "Template:Death date and age" }, "death_place": { "label": "Death place", "description": "Place of death.", "type": "string", "required": false }, "genre": { "label": "Genre", "description": "The genre or genres of music performed by the act. Genres should be wikilinked and separated by using commas, {{flatlist}} or {{hlist}}", "type": "string", "required": false, "example": "{{hlist|Rock|synth-pop|[[house music|house}}" }, "discography": { "label": "Discography", "description": "Link to an article or articles about the musician's or group's discography", "type": "string", "required": false, "example": "ABBA discography" }, "years_active": { "label": "Years active", "description": "Years artist/group was active.", "type": "string", "required": false, "example": "1993–2004, 2005–present" }, "label": { "label": "Record label", "description": "The record label or labels to which the act has been signed, as a comma- or {{flatlist}}-separated list. Omit dates.", "type": "string", "required": false, "example": "Universal" }, "current_member_of": { "label": "Current member of", "description": "The groups/bands of which the artist is currently part of. Name of the groups/bands should be separated by using commas, {{Flatlist}}, or {{Hlist}}.Template:R", "type": "string" }, "past_member_of": { "label": "Past member of", "description": "The groups/bands of which the artist is formerly part of. Name of the groups/bands should be separated by using commas, {{Flatlist}}, or {{Hlist}}.Template:R", "type": "string" }, "spinoffs": { "label": "Spinoffs", "description": "Groups which have spun off from this group. For example, sub-units. Name of the groups/bands should be separated by using commas, {{Flatlist}}, or {{Hlist}}.Template:R", "type": "string" }, "spinoff_of": { "label": "Spinoff of", "description": "A group from which this group has spun off.", "type": "string" }, "spouse": { "label": "Spouse(s)", "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.

(before Template:Wdib)
may be used.",

"type": "string", "required": false }, "partner": { "label": "Partner(s)", "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", "required": false }, "website": { "label": "Website", "description": "The single web address for the act's primary official website, example.com or Template:Official URL", "type": "string", "required": false, "example": "blacksabbath.com" }, "current_members": { "label": "Current members", "description": "Name of current members of the group, listed in order of joining. Separate multiple entries using * list markup, one per line.", "type": "string", "required": false }, "past_members": { "label": "Past members", "description": "Past members of the group, listed in order of joining. Separate multiple entries using * list markup, one per line. If a group is inactive, all members should be listed here, and none in the 'current_members' field.", "type": "string", "required": false }, "embed": { "label": "Embedded", "description": "Set to 'yes' if embedded in another infobox template.", "type": "line", "required": false, "autovalue": "yes", "suggestedvalues": [ "yes" ] }, "module": { "label": "Module", "description": "Used for embedding other infoboxes into this one.", "type": "string", "required": false }, "module2": { "label": "Module 2", "description": "Used for embedding other infoboxes into this one.", "type": "string", "required": false }, "module3": { "label": "Module 3", "description": "Used for embedding other infoboxes into this one.", "type": "string", "required": false }, "background": { "label": "Background", "description": "Currently only used to track if it's a single person or a group for hCard microformat.", "example": "person", "type": "line", "suggestedvalues": [ "person", "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, {{flatlist}} or {{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": "Template:\n\n", "paramOrder": [ "honorific_prefix", "background", "name", "honorific_suffix", "image", "image_size", "image_upright", "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", "spinoffs", "spinoff_of", "spouse", "partner", "current_members", "past_members", "website", "embed", "module", "module2", "module3", "occupations", "instruments", "associated_acts" ] } </templatedata>