Template:Infobox musical artist/doc

From The Democratikan Wiki
Revision as of 14:41, 31 August 2023 by wikipedia>Paine Ellsworth (→‎For groups or bands: further example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Pp-vandalism

{{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

{{{honorific_prefix}}}
{{{name}}}
{{{native_name}}}
{{{honorific_suffix}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
Background information
Birth name{{{birth_name}}}
Also known as{{{alias}}}
Born{{{birth_date}}}
{{{birth_place}}}
Origin{{{origin}}}
Died{{{death_date}}}
{{{death_place}}}
Genres{{{genre}}}
Occupations{{{occupations}}}
Instruments{{{instruments}}}
Discography{{{discography}}}
Years active{{{years_active}}}
Labels{{{label}}}
Member of{{{current_member_of}}}
Formerly of{{{past_member_of}}}
Spouse(s){{{spouse}}}
Partner(s){{{partner}}}
Website{{{website}}}
{{{module}}}
{{{module2}}}
{{{module3}}}

<syntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">

Infobox musical artist

</syntaxhighlight>

For articles about musical groups

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
Background information
Also known as{{{alias}}}
Origin{{{origin}}}
Genres{{{genre}}}
Discography{{{discography}}}
Years active{{{years_active}}}
Labels{{{label}}}
Spinoffs{{{spinoffs}}}
Spinoff of{{{spinoff_of}}}
Members{{{current_members}}}
Past members{{{past_members}}}
Website{{{website}}}
{{{module}}}
{{{module2}}}
{{{module3}}}

<syntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">

Infobox musical artist

</syntaxhighlight>

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). <syntaxhighlight lang="wikitext">Error: Need valid birth date: year, month, day</syntaxhighlight>

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 Notes<ref name="location" group=""></ref> for details. Do not add a flag icon. (see field "origin" below). <syntaxhighlight lang="wikitext">City, State/Province, Country</syntaxhighlight>

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 Notes<ref name="location" group=""></ref> for details. Do not add a flag icon. Omit the country if it does not differ from that specified at the field "birth_place". <syntaxhighlight lang="wikitext">City, State/Province, Country</syntaxhighlight>

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 Notes<ref name="location" group=""></ref> 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}}.<ref name="lists" group=""></ref> 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}}.<ref name="lists" group=""></ref>

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}}.<ref name="lists" group=""></ref> 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}}}.<ref name="lists" group=""></ref> 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}}.<ref name="lists" group=""></ref> 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}}.<ref name="lists" group=""></ref>

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}}.<ref name="lists" group=""></ref>

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}}.<ref name="lists" group=""></ref>

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. <ref name="lists" group=""></ref>

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, <syntaxhighlight lang="wikitext" style="overflow:auto"> | current_members =

  • Member 1
  • Member 2
  • Member 3

</syntaxhighlight>

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, <syntaxhighlight lang="wikitext" style="overflow:auto"> | past_members =

  • Member 1
  • Member 2
  • Member 3

</syntaxhighlight>

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.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Infobox musical artist/doc
{{Infobox musical artist
}}

</syntaxhighlight>

Embedding other templates

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

<syntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;">

Infobox musical artist
Template:Infobox ABC

</syntaxhighlight>

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: Unrecognised punctuation character "[".)
  • (m. 2008; div. Expression error: Unrecognised punctuation character "[".)
Websitemariahcarey.com

<syntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">

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
OccupationsSinger-songwriter, record producer
DiscographyAlbums
Singles
Years active1990–present
Labels
Spouse(s)
  • (m. 1993; div. Expression error: Unrecognised punctuation character "[".)
  • (m. 2008; div. Expression error: Unrecognised punctuation character "[".)
Websitemariahcarey.com

</syntaxhighlight>

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

<syntaxhighlight lang="wikitext" style="overflow:auto; margin-left:0">

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

</syntaxhighlight>

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

<references group="" responsive="1"><ref name="lists">For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of {{Flatlist}} or {{Hlist}} is preferred as they offer a benefit to users of screen readers. Vertical lists should always be implemented by {{Plainlist}} or {{Unbulleted list}} and never by <br /> tags for reasons of 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." and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. New Hampshire rather than NH, New South Wales rather than NSW, or British Columbia rather than BC (see MOS:POSTABBR). Cities such as New York City and London may be rendered as "New York City, U.S." 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></references>

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.

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

An infobox for musical artists/groups.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Honorific prefixhonorific_prefix

Titles such as Sir.

Stringoptional
Backgroundbackground

Currently only used to track if it's a single person or a group for hCard microformat.

Suggested values
person group_or_band
Example
person
Lineoptional
Namename

Name of group/artist, plain text only.

Default
The page name
Stringoptional
Honorific suffixhonorific_suffix

Honours such as CBE, OBE.

Stringoptional
Imageimage

Image to use in infobox Set to only the image name.

Example
ABBA - TopPop 1974 5.png
Fileoptional
Image sizeimage_size

Should only be specified if the image is smaller than 220 pixels width. Enter the width in pixels without 'px'.

Example
150
Stringdeprecated
Image uprightimage_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%).

Stringoptional
Landscapelandscape

Set to yes when using wide, short images.

Suggested values
yes
Auto value
yes
Lineoptional
Image alt textalt

Alt text for the image, for visually impaired and other readers who cannot see the image.

Stringoptional
Image captioncaption

Caption for the image.

Stringoptional
Native namenative_name

The artist's name in their own language.

Stringoptional
Native name language (code)native_name_lang

ISO 639-2 code e.g. 'fra' for French. If more than one, use {{lang}} for native_name instead

Example
fra
Lineoptional
Birth namebirth_name

The person's name at birth.

Stringoptional
Aliasalias

Official stage names, legal names, or other officially authorized names. Not for nicknames.

Stringoptional
Birth datebirth_date

The artist's date of birth; it is preferable to use {{Birth date and age}}.

Example
{{Birth date and age|1949|12|31}}
Auto value
{{Birth date and age|YYYY|MM|DD}}
Stringoptional
Birth placebirth_place

The artist's place of birth. e.g. '[[Lubbock, Texas]], U.S.'.

Stringoptional
Originorigin

The city from which the singer or group originated.

Example
[[Aston]], [[Birmingham]], England
Stringoptional
Death datedeath_date

The artist's date of death use {{Death date and age}}

Auto value
{{Death date and age|YYYY|MM|DD|YYYY|MM|DD}}
Stringoptional
Death placedeath_place

Place of death.

Stringoptional
Genregenre

The genre or genres of music performed by the act. Genres should be wikilinked and separated by using commas, {{tl|flatlist}} or {{tl|hlist}}

Example
{{hlist|[[Rock music|Rock]]|[[synth-pop]]|[[house music|house}}
Stringoptional
Occupation(s)occupation

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.

Stringoptional
Instrument(s)instrument

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.

Stringoptional
Discographydiscography

Link to an article or articles about the musician's or group's discography

Example
[[ABBA discography]]
Stringoptional
Years activeyears_active

Years artist/group was active.

Example
1993–2004, 2005–present
Stringoptional
Record labellabel

The record label or labels to which the act has been signed, as a comma- or {{tl|flatlist}}-separated list. Omit dates.

Example
[[Universal Records|Universal]]
Stringoptional
Current member ofcurrent_member_of

The groups/bands of which the artist is currently part of. Name of the groups/bands should be separated by using commas, {{tl|Flatlist}}, or {{tl|Hlist}}.{{r|lists}}

Stringoptional
Past member ofpast_member_of

The groups/bands of which the artist is formerly part of. Name of the groups/bands should be separated by using commas, {{tl|Flatlist}}, or {{tl|Hlist}}.{{r|lists}}

Stringoptional
Spinoffsspinoffs

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

Stringoptional
Spinoff ofspinoff_of

A group from which this group has spun off.

Stringoptional
Spouse(s)spouse

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.

Stringoptional
Partner(s)partner

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).

Stringoptional
Current memberscurrent_members

Name of current members of the group, listed in order of joining. Separate multiple entries using * list markup, one per line.

Stringoptional
Past memberspast_members

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.

Stringoptional
Websitewebsite

The single web address for the act's primary official website, {{URL|example.com}} or {{Official URL}}

Example
{{URL|blacksabbath.com}}
Stringoptional
Embeddedembed

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

Suggested values
yes
Auto value
yes
Lineoptional
Modulemodule

Used for embedding other infoboxes into this one.

Stringoptional
Module 2module2

Used for embedding other infoboxes into this one.

Stringoptional
Module 3module3

Used for embedding other infoboxes into this one.

Stringoptional
occupationsoccupations

no description

Unknowndeprecated
instrumentsinstruments

no description

Unknowndeprecated
associated_actsassociated_acts

no description

Unknowndeprecated