Template:Infobox music genre/doc

From IxWiki
Jump to navigation Jump to search

For more information, see the WikiProject Music/Music genres task force.

Usage

{{Infobox music genre
| name              = 
| native_name       = 
| etymology         = 
| other_names       =
| color             = 
| bgcolor           = 
| image             = 
| alt               = 
| caption           = 
| stylistic_origins = 
| cultural_origins  = 
| instruments       = 
| derivatives       = 
| subgenres         = 
| subgenrelist      = 
| fusiongenres      = 
| regional_scenes   = 
| local_scenes      = 
| other_topics      = 
| footnotes         = 
| current_year      = <!-- set to "yes" for automatic link to "<current year> in <genre>" article; see template documentation for more info -->
}}

Parameters

native_name
name in local language. If more than one, separate using {{Plain list}}
native_name_lang
ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
etymology
meaning or derivation of the name
other_names
additional names that the genre is known by.
Use with discretion; discuss on talk before engaging in potentially confusing scenarios like Progressive rock/Progressive pop and New wave/Synthpop.
color
Colour used for the headings. See WikiProject Music/Music genres task force/Colours.
bgcolor
Colour used for the headings' backgrounds.
stylistic_origins
See Notes[1] for location details.
cultural_origins
See Notes[1] for location details.
derivatives
List of influenced genres that follow in the traditions of the parent without necessarily being a subcategory.
subgenres
List of child genres that fall within a subcategory of the parent. Genres and subgenres must be capitalized (ex: house music).
subgenerelist
Article containing the complete list of subgenre
regional_scenes
Articles specializing in regional variants of the parent genre (ex: British rock, American pop). These should be pipelinked as [[British rock|Britain]] and [[American rock|United States]]. See Notes[1] for location details.
Should not include scenes associated with a particular region (ex: Japanoise, Early Norwegian black metal scene). Because those terms are not equivalent to "Japanese noise music" or "Norwegian black metal", they go below.
local_scenes
Articles specializing in local scenes related to the genre (ex: Madchester, The Scene That Celebrates Itself). See Notes[1] for location details.
current_year
set to yes to include a link to the "2024 in <genre>" article at the bottom of the infobox. Link will update automatically for new years, once the "<new year> in <genre>" article has been written. (If no article has been written for the old year nor the new year, it will redlink the new year's article to encourage its creation.) If the link does not update, try purging the page. Has two optional further parameters:
current_year_title
The "2024 in <genre>" function assumes that the current page's title is the genre's name (i.e., if you use this on classical music, it will link to "2024 in classical music"). If that is not the case, use this parameter to specify the genre's name. The annual-update feature will work just the same.
current_year_override
This overrides the whole parameter, for if the desired article uses some unusual title formulation (e.g. "2010s in classical music"). If this parameter is used, the link will not update for new years.

Notes

  1. 1.0 1.1 1.2 1.3 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.

TemplateData

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

TemplateData for Infobox music genre

An infobox for music genres, describing the genre in its origin, instrumentality and other information

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The name of the genre. If foreign, state the English version of the name.

Example
Alternative music
Stringrequired
Native namenative_name

The native name of the genre, if applicable.

Stringoptional
Etymologyetymology

no description

Stringoptional
Stylistic originsstylistic_origins

The genres that stylistically formed the genre

Example
Electronic music, pop punk
Stringoptional
Cultural originscultural_origins

The cultural origins of the genre, with a year and specific location

Example
Early 1960s – late 1970s [[United Kingdom]]
Stringrequired
Typical instrumentsinstruments

The instruments that are popularly associated with the genre

Example
Drums
Stringoptional
Derivative formsderivatives

Genres that are derivative of or descend from the genre

Example
Alternative pop
Stringoptional
Subgenressubgenres

The subgenres that descend from the genre

Example
Trap music, drum and bass
Stringoptional
Fusion genresfusiongenres

Genres resulting from the genre mixing with another genre

Example
{{unbulleted list|[[Neon pop]]|[[Electropop]]|[[Dreampop]]}}
Stringoptional
Regional scenesregional_scenes

Typical locations that house the genre, in terms of regional locations such as countries

Example
ex. Argentina
Stringoptional
Local sceneslocal_scenes

Typical locations that house the genre, in terms of cities and more exact locations

Example
New Orleans, Louisiana
Stringoptional
Other genre topicsother_topics

Topics based on the genre specified or stated

Stringoptional

Tracking category

Supporting template