This is the template sandbox page for Template:Navbox musical artist (diff). See also the companion subpage for test cases. |
This template is used on approximately 235,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses TemplateStyles: |
{{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
editPlease 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
editMandatory
edit- 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
- 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
editCells
edit- 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
edit- 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
edit{{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
edit{{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
edit{{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]]
}}
Tracking category
editSee also
edit- 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 | Image | Groups | Style (body) parameter/s |
---|---|---|---|---|
{{Navbox}} | collapsible | Left/right of body | Yes | Yes |
{{Navbox with collapsible groups}} | collapsible | Left/right of body and/or in each list | Yes | Yes |
{{Navbox with columns}} | collapsible | Left/right of columns | No | Yes |
Type | CSS classes | JavaScript | Collapses when | Custom initial state |
Nesting |
---|---|---|---|---|---|
Collapsible tables | mw-collapsible | jQuery.makeCollapsible | 2 or more autocollapse on page | Yes | Yes |