Template documentation
{{Navbox musical artist}} is the standard navigation template for musician articles, and is within the purview of WikiProject Musicians. Please discuss major changes on the talk page before making them. See also Wikipedia:WikiProject Musicians/Navbox for more information.
Usage
Please remove the parameters that are left blank.
{{Navbox musical artist| name = {{subst:PAGENAME}}| state = | title = | background = **Mandatory** Use one of: solo_singer, non_vocal_instrumentalist, non_performing_personnel, group_or_band, classical_ensemble, or temporary| bodyclass = hlist| above = | group1 = | list1 = | group2 = | list2 = ...| group20 = | list20 = | below = }}
Parameters
Mandatory
- name
- The name of the template, which is needed for the "v · t · e" ("view · talk · edit") links to work properly on all pages where the template is used. You can enter
{{subst:PAGENAME}}
for this value as a shortcut.
- title
- Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use
{{-}}
to ensure proper centering.
- listn
- (i.e. list1, list2, etc. up to list20) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within
- (i.e. list1, list2, etc. up to list20) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within
- background
- Use one of the following seven categories:
Code | Display |
---|---|
solo_singer | Background color |
non_vocal_instrumentalist | Background color |
non_performing_personnel | Background color |
group_or_band | Background color |
cover_band | Background color |
classical_ensemble | Background color |
temporary | Background color |
Optional
Cells
- groupn
- (i.e. group1, group2, etc. up to group20) If specified, text appears in a cell displayed to the left of listn. Use these fields to provide label a for listn, such as "Studio albums", "Films", "Former members", etc.
- above
- A full-width cell displayed between the titlebar and first group/list, i.e. above the template's body (groups, lists and image). In a template without an image, above behaves in the same way as the list1 parameter without the group1 parameter.
- below
- A full-width cell displayed below the template's body (groups, lists and image).
Other
- state
- Defaults to
autocollapse
. If set tocollapsed
, the navbox will always start out in a collapsed state. If set to blank or anything other thanautocollapse
orcollapsed
, the navbox will always start out in an expanded state. A navbox withautocollapse
will start out collapsed if there are two or more tables on the same page that usecollapsible
. For the technically minded, see MediaWiki:Common.js.
- navbar
- Defaults to
Navbar
. If set toplain
, the links on the left side of the titlebar will not be displayed.
Examples
{{Navbox}} is used to build this template. {{Navbox}} uses the {{Nowraplinks}} CSS class thus links do not line break in this template. If there are non-linked portions of text that need to be controlled for wrapping use the hlist
class (see WP:HLIST). If a small space between groups is desired leave an empty line between them.
Band
{{Navbox musical artist| name = Led Zeppelin| title = [[Led Zeppelin]]| background = group_or_band| bodyclass = hlist| above =*'''[[Jimmy Page]]'''*'''[[Robert Plant]]'''*'''[[John Paul Jones (musician)|John Paul Jones]]'''*'''[[John Bonham]]'''| group1 = Studio albums| list1 =*''[[Led Zeppelin (album)|Led Zeppelin]]''*''[[Led Zeppelin II]]''*''[[Led Zeppelin III]]''*''[[Led Zeppelin IV]]''*''[[Houses of the Holy]]''*''[[Physical Graffiti]]''*''[[Presence (album)|Presence]]''*''[[In Through the Out Door]]''| group2 = Live albums| list2 =*''[[The Song Remains the Same (album)|The Song Remains the Same]]''*''[[BBC Sessions (Led Zeppelin album)|BBC Sessions]]''*''[[How the West Was Won (Led Zeppelin album)|How the West Was Won]]''| group3 = Compilations| list3 =*''[[Coda (album)|Coda]]''*''[[Led Zeppelin (box set)|Box Set]]''*''[[Led Zeppelin Remasters|Remasters]]''*''[[Led Zeppelin Box Set, Vol. 2|Box Set 2]]''*''[[The Complete Studio Recordings (Led Zeppelin)|Complete Studio Recordings]]''*''[[Early Days: Best of Led Zeppelin Volume One]]''*''[[Latter Days: Best of Led Zeppelin Volume Two]]''*''[[Mothership (album)|Mothership]]''| group4 = Films| list4 =*''[[The Song Remains the Same (film)|The Song Remains the Same]]''*''[[Led Zeppelin (DVD)|Led Zeppelin DVD]]''| group5 = Related articles| list5 =*[[Led Zeppelin discography|Discography]]*[[Peter Grant (music manager)|Peter Grant]]*[[Richard Cole]]*[[Swan Song Records]]*[[The Yardbirds]]*[[XYZ (UK band)|XYZ]]*[[The Firm (rock band)|The Firm]]*[[Page and Plant]]*[[Strange Sensation]]*[[Led Zeppelin bootleg recordings|Bootlegs]]*[[Led Zeppelin concerts|Concerts]]}}
Musician
{{Navbox musical artist| name = Bob Dylan| title = [[Bob Dylan]]| background = solo_singer| listclass = hlist| group1 = Studio albums| list1 =*''[[Bob Dylan (album)|Bob Dylan]]''*''[[The Freewheelin' Bob Dylan]]''*''[[The Times They Are a-Changin' (album)|The Times They Are a-Changin']]''*''[[Another Side of Bob Dylan]]''*''[[Bringing It All Back Home]]''*''[[Highway 61 Revisited]]''*''[[Blonde on Blonde]]''*''[[John Wesley Harding]]''*''[[Nashville Skyline]]''*''[[Self Portrait (Bob Dylan album)|Self Portrait]]''*''[[New Morning]]''*''[[Pat Garrett & Billy the Kid (album)|Pat Garrett & Billy the Kid]]''*''[[Dylan (1973 album)|Dylan]]''*''[[Planet Waves]]''*''[[Blood on the Tracks]]''*''[[The Basement Tapes]]''*''[[Desire (Bob Dylan album)|Desire]]''*''[[Street Legal (album)|Street Legal]]''*''[[Slow Train Coming]]''*''[[Saved (album)|Saved]]''*''[[Shot of Love]]''*''[[Infidels (Bob Dylan album)|Infidels]]''*''[[Empire Burlesque]]''*''[[Knocked Out Loaded]]''*''[[Down in the Groove]]''*''[[Oh Mercy]]''*''[[Under the Red Sky]]''*''[[Good as I Been to You]]''*''[[World Gone Wrong]]''*''[[Time Out of Mind (album)|Time Out of Mind]]''*''[["Love and Theft"]]''*''[[Modern Times (Bob Dylan album)|Modern Times]]''| group2 = Live albums| list2 =*''[[The Concert for Bangla Desh (album)|The Concert for Bangla Desh]]''*''[[Before the Flood (album)|Before the Flood]]''*''[[Hard Rain (Bob Dylan album)|Hard Rain]]''*''[[Bob Dylan at Budokan]]''*''[[Real Live]]''*''[[Dylan & The Dead]]''*''[[The 30th Anniversary Concert Celebration]]''*''[[MTV Unplugged (Bob Dylan album)|MTV Unplugged]]''*''[[Live at The Gaslight 1962]]''*''[[Live at Carnegie Hall 1963]]''| group3 = [[Traveling Wilburys]]| list3 =*''[[Traveling Wilburys Vol. 1]]''*''[[Traveling Wilburys Vol. 3]]''| group4 = Compilations| list4 =*''[[Bob Dylan's Greatest Hits]]''*''[[Bob Dylan's Greatest Hits Vol. II]]''*''[[Masterpieces (Bob Dylan album)|Masterpieces]]''*''[[Biograph (album)|Biograph]]''*''[[Bob Dylan's Greatest Hits Volume 3]]''*''[[The Essential Bob Dylan]]''*''[[Dylan (2007 album)|Dylan]]''| group5 = The Bootleg Series| list5 =*''[[The Bootleg Series Volumes 1–3 (Rare & Unreleased) 1961–1991|Volumes 1–3 (Rare & Unreleased) 1961–1991]]''*''[[The Bootleg Series Vol. 4: Bob Dylan Live 1966, The "Royal Albert Hall" Concert|Vol. 4: Bob Dylan Live 1966, The "Royal Albert Hall" Concert]]''*''[[The Bootleg Series Vol. 5: Bob Dylan Live 1975, The Rolling Thunder Revue|Vol. 5: Bob Dylan Live 1975, The Rolling Thunder Revue]]''*''[[The Bootleg Series Vol. 6: Bob Dylan Live 1964, Concert at Philharmonic Hall|Vol. 6: Bob Dylan Live 1964, Concert at Philharmonic Hall]]''*''[[The Bootleg Series Vol. 7: No Direction Home: The Soundtrack|Vol. 7: No Direction Home: The Soundtrack]]''| group6 = Films| list6 =*''[[Dont Look Back]]''*''[[Eat the Document]]''*''[[Pat Garrett and Billy the Kid]]''*''[[Renaldo and Clara]]''*''[[Hearts of Fire]]''*''[[Masked and Anonymous]]''*''[[No Direction Home]]''| group7 = Writings| list7 =*''[[Tarantula (book)|Tarantula]]''*''[[Writings and Drawings]]''*''[[Drawn Blank]]''*''[[Chronicles, Vol. 1]]''*''[[Lyrics: 1962–2001]]''| group8 = Related articles| list8 =*[[Bob Dylan discography|Discography]]}}
See also
- WP:HLIST, which describes the use of the hlist class.
- {{Navbox}}, the standard Navbox.
- Wikipedia:Line-break handling, the how-to guide about handling word-wraps (line-breaks) on Wikipedia – such as lists of links linewrapping within navboxes.
Template | Collapsible | Header color | Image | Groups | Style (body) parameter/s |
---|---|---|---|---|---|
{{Navbox}} | collapsible | navbox | Left/right of body | Yes | Yes |
{{Navbox with collapsible groups}} | collapsible | navbox | Left/right of body and/or in each list | Yes | Yes |
{{Navbox with columns}} | collapsible | navbox | Left/right of columns | No | Yes |
Type | CSS classes | JavaScript | Collapses when | Custom initial state | Nesting |
---|---|---|---|---|---|
Collapsible tables | mw-collapsible | Defined in Common.js | 2 or more autocollapse on page | Yes | Yes |
🔥 Top keywords: Main PageSpecial:SearchIndian Premier LeagueWikipedia:Featured picturesPornhubUEFA Champions League2024 Indian Premier LeagueFallout (American TV series)Jontay PorterXXXTentacionAmar Singh ChamkilaFallout (series)Cloud seedingReal Madrid CFCleopatraRama NavamiRichard GaddDeaths in 2024Civil War (film)Shōgun (2024 miniseries)2024 Indian general electionJennifer PanO. J. SimpsonElla PurnellBaby ReindeerCaitlin ClarkLaverne CoxXXX (film series)Facebook2023–24 UEFA Champions LeagueYouTubeCandidates Tournament 2024InstagramList of European Cup and UEFA Champions League finalsJude BellinghamMichael Porter Jr.Andriy LuninCarlo AncelottiBade Miyan Chote Miyan (2024 film)