Template:Infobox music genre

From blackwiki
Jump to navigation Jump to search

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

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

Usage

[[Category:Infobox templates|Template:Remove first word]]
{{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. For multiple entries, see Notes[1] for details.
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[2] for location details; for multiple entries, see Notes[1].
cultural_origins 
See Notes[2] for location details; for multiple entries, see Notes[1].
derivatives 
List of influenced genres that follow in the traditions of the parent without necessarily being a subcategory. For multiple entries, see Notes[1] for details.
subgenres 
List of child genres that fall within a subcategory of the parent. Genres and subgenres must be capitalized (ex: house music). For multiple entries, see Notes[1] for details.
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[2] for location details; for multiple entries, see Notes[1].
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). For multiple entries, see Notes[1] for details.
current_year 
set to yes to include a link to the "2022 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 "2022 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 "2022 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 1.4 1.5 1.6 For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of the class=hlist is preferred as it offers a benefit to users of screen readers (see Wikipedia:Accessibility for more information on Web Content Accessibility Guidelines). To use it, format the items as a normal bulleted list; don't use other list templates or <br/>. For example:
    | genre =
    *Item one
    *Item two
    *Item three

    will be displayed as a horizontal list separated by middots:

    Genre   
    • Item one
    • Item two
    • Item three
  2. 2.0 2.1 2.2 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 the monthly parameter usage report for this template.

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