Template:Infobox music genre/doc

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

Usage


Example For an example of this template filled out, see WikiProject Music/Music genres task force/Infobox.

name
The most used name of the genre.

native_name
The name in the local language where the genre comes from.
 * If more than one name listed, separate them using plainlist.

native_name_lang
ISO 639-2 code for the listed native names, e.g.  for French.
 * If more than one, use lang in native_name instead.

etymology
Meaning or derivation of the name, e.g..

other_names
Additional and alternative names that the genre is known by.
 * Use with discretion; discuss on talk before engaging in potentially confusing scenarios like progressive rock/progressive pop or electropop/synth-pop. For multiple entries, see notes.

bgcolor
Colour used for the headings' backgrounds.
 * Use only colours listed on WikiProject Music/Music genres task force/Colours. Direct subgenre should adopt the colour of its parent. Colour for fusion genres should be set based on the dominating parent genre.

image
An image that would best supplement the described genre, usually photos of genre pioneers or most notable acts are used.
 * Images should be sufficiently clear for display at 220 pixels' width. Set to only the image name, e.g., not   or.


 * image_size
 * For size adjustments additional parameter image_size can be used, the width should be entered in pixels without "px". For example, use  so the image would be fully embedded in the template.

alt
Alt text for the image, for visually impaired and other readers who cannot see the image.
 * The optional field when the caption is not enough to describe the image. See WP:ALT.

caption
Caption for the image to be displayed under the image.

stylistic_origins
List of genres, musical and cultural roots that influenced the emergence of the described genre.
 * For general rules on genres listing, see section.

cultural_origins
The year (or time period) and the geographical location of the genre's origins, e.g.  or.
 * See notes for location details, and notes for multiple entries.

instruments
List of musical instruments that are typical for the genre.
 * For multiple entries, see notes.

derivatives
List of influenced genres that use some of the elements inherent to the genre without being a child genre or subcategory.
 * For general rules on genres listing, see section.

subgenres
List of child genres that share characteristics with the described genre and fall within its subcategory.
 * When listing genres, aim for specificity and explicit detailing (e.g.  rather than   or   ). Genres should be separated by using commas, flatlist or hlist. Genres should be wikilinked. Use piped links where needed, for example:  . 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   can also be used to this end if needed. For multiple entries, see notes.

subgenerelist
Article containing the complete list of subgenres for the described genre.
 * Place only existing list articles, without square brackets, e.g. . The list dedicated to the parent genre of the described genre should not be placed here, even if described genre is mentioned in the list as a subgenre.

fusiongenres
List of genres that have additional parent genres, without necessarily being a subcategory of both.
 * For general rules on genres listing, see section.

regional_scenes
Articles specializing in regional variants of the described genre, established within the countries or large regions, e.g. British rock or American pop.
 * Articles should be pipelinked as  and  . See notes for location details, and notes for multiple entries. The list should not contain links redirecting to articles about the countries themselves, if the genre has well-known scenes without articles, it is better to leave them unlinked. Specific subgenres which have names derived out of country names should not be included here, e.g. Dutch house, because the genre is not equivalent to "any house music of the Netherlands". The same goes for articles on time periods or specific parts of the scene, e.g. Early Norwegian black metal scene), as it's not covering black metal scene of Norway generally.

local_scenes
Articles specializing in local scenes related to the genre, mostly existing within the cities, or small regions within a country, e.g. Madchester or The Scene That Celebrates Itself.
 * The list should contain the original names of the scenes, i.e. there's no need to pipelink scene names with city names. Direct links to the cities or region articles should not be placed here, use unlinked text. For multiple entries, see Notes for details.

other_topics
Related articles which did not fall into the categories above, or other articles closely related to the genre, including lists, dedicated to the genre.
 * For multiple entries, see notes. Articles dedicated to musical artists usually should not be placed here.

current_year
Places the link to 2024 in music articles at the bottom of the infobox, dedicated to very few specific genres.
 * Set  to include such links. Link will update automatically for new years, once the " in " 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. Has two optional further parameters:

The "2024 in " 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_title

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.
 * current_year_override

TemplateData
{	"description": "An infobox for music genres, describing the genre in its origin, instrumentality and other information", "format": "\n", "params": { "name": { "label": "Name", "description": "The name of the genre. If foreign, state the English version of the name.", "example": "Alternative music", "type": "string", "required": true },		"native_name": { "label": "Native name", "description": "The native name of the genre, if applicable.", "type": "string" },		"etymology": { "label": "Etymology", "type": "string", "description": "Meaning or derivation of the name." },		"stylistic_origins": { "label": "Stylistic origins", "description": "The genres that stylistically formed the genre.", "example": "House · pop punk · electropop", "type": "string" },		"cultural_origins": { "label": "Cultural origins", "description": "The cultural origins of the genre, with a year and specific location.", "example": "Early 1960s – late 1970s, United Kingdom", "type": "string", "required": true },		"instruments": { "label": "Typical instruments", "description": "The instruments that are popularly associated with the genre", "example": "Drums · vocals · bass guitar", "type": "string" },		"derivatives": { "label": "Derivative forms", "description": "Genres that are derivative of or descend from the genre.", "example": "Alternative pop", "type": "string" },		"subgenres": { "label": "Subgenres", "description": "The subgenres that descend from the genre. Genres should be wikilinked and separated by using commas, htlist or flatlist.", "example": "Deep house · electro house · progressive house · UK hard house", "type": "string" },		"fusiongenres": { "label": "Fusion genres", "description": "Genres resulting from the genre mixing with another genre.", "example": "Synth-pop · electropop · dream pop", "type": "string" },		"regional_scenes": { "label": "Regional scenes", "description": "Typical locations that house the genre, in terms of regional locations such as countries.", "example": "United Kingdom", "type": "string" },		"local_scenes": { "label": "Local scenes", "description": "Typical locations that house the genre, in terms of cities and more exact locations", "example": "New Orleans, Louisiana", "type": "string" },		"other_topics": { "label": "Other genre topics", "description": "Topics based on the genre specified or stated.", "type": "string" },		"other_names": { "label": "Other names", "description": "Additional and alternative names that the genre is known by. ", "type": "string" },		"bgcolor": { "label": "Background color", "description": "Background for the header.", "example": "crimson", "type": "string" },		"image": { "label": "Image", "description": "Image to use in infobox. Set to only the image name..", "example": "ABBA - TopPop 1974 5.png", "type": "wiki-file-name" },		"image_size": { "label": "Image size", "description": "Should only be specified if the image is smaller than 220 pixels width.", "type": "number" },		"alt": { "label": "Image alt text", "description": "Alt text for the image, for visually impaired and other readers who cannot see the image.", "type": "string" },		"caption": { "label": "Image caption", "description": "Caption for the image.", "type": "string" },		"subgenrelist": { "label": "Subgenres list article", "description": "Title of existing article, which lists the subgenres.", "example": "List of rock genres", "type": "wiki-page-name" },		"current_year": { "label": "Current year genre portal", "description": "Places the link to \"current year in music\" articles at the bottom of the infobox.", "type": "string" }	},	"paramOrder": [ "name", "native_name", "etymology", "other_names", "bgcolor", "image", "image_size", "alt", "caption", "stylistic_origins", "cultural_origins", "instruments", "derivatives", "subgenrelist", "subgenres", "fusiongenres", "regional_scenes", "local_scenes", "other_topics", "current_year" ] }

Supporting template

 * Ensure AA contrast ratio