Template:Navbox musical artist: Difference between revisions
Mastergalen (talk | contribs) m (1 revision) |
Mastergalen (talk | contribs) m (1 revision) |
(No difference)
|
Latest revision as of 20:33, 22 November 2012
{{Navbox musical artist}} is the standard navigational 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.
Contents
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 = ... | group12 = | list12 = | below = }}
Parameters
Mandatory
- name
- The name of the template, which is needed for the "v · d · e" ("view · discuss · 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.) 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
<div> </div>
. At least one list parameter is required; each additional list is displayed in a separate row of the table. Each listn may be preceded by a corresponding groupn parameter, if provided (see below).
- (i.e. list1, list2, etc.) 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 seven categories from Template:Infobox musical artist#Background.
Code | Display | |
---|---|---|
solo_singer |
|
|
non_vocal_instrumentalist |
|
|
non_performing_personnel |
|
|
group_or_band |
|
|
classical_ensemble |
|
|
temporary |
|
Optional
Cells
- groupn
- (i.e. group1, group2, etc.) 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 use collapsible. 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 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]]'' *[[File:Zoso.svg|55px|Led Zeppelin IV]] (''[[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]]'' *''[[Profiled]]'' *''[[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 = [[Led Zeppelin#Filmography|Films]] | list4 = *''[[The Song Remains the Same (film)|The Song Remains the Same]]'' *''[[Led Zeppelin (DVD)|Led Zeppelin DVD]]'' | group5 = [[:Category:Led Zeppelin|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 (band)|The Firm]] *[[Page and Plant]] *[[Strange Sensation]] *[[Led Zeppelin bootleg recordings|Bootlegs]] *[[Led Zeppelin concerts|Concerts]] *[[:Category:Led Zeppelin songs|Songs]] }}
|
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']]'' *''[[Another Side of Bob Dylan]]'' *''[[Bringing It All Back Home]]'' *''[[Highway 61 Revisited]]'' *''[[Blonde on Blonde]]'' *''[[John Wesley Harding (album)|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]]'' *''[[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]]'' *''[["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]]'' *''[[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]]'' *''[[Lyrics: 1962–1985]]'' *''[[Drawn Blank]]'' *''[[Chronicles, Vol. 1]]'' *''[[Lyrics: 1962–2001]] | group8 = Related articles | list8 = *[[Bob Dylan discography|Discography]] *[[:Category:Bob Dylan albums|Albums]] *[[:Category:Bob Dylan songs|Songs]] *[[:Category:Bob Dylan|Related topics]] }}
See also
- WP:HLIST - describes the use of the
hlist
class. - {{Navbox}} - Standard Navbox.
- Wikipedia:Line break handling – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.
Collapsible | Header color | Image | Groups | Style (body) parameter/s |
Examples | |
---|---|---|---|---|---|---|
{{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 | |
{{Navbox years}} | collapsible | navbox | No | No | No |
Type | CSS classes | Javascript | Collapses when | Custom initial state |
Nesting |
---|---|---|---|---|---|
Collapsible tables | collapsible | Defined in Common.js | 2 or more autocollapse on page | Yes | Yes |
ar:قالب:تصفح فنان موسيقى cs:Šablona:Navbox Hudební umělec de:Vorlage:Navigationsleiste Musik ja:Template:Navbox Musical artist ka:თარგი:ნავდაფა მუსიკოსი ko:틀:음악가 둘러보기 pt:Predefinição:Navbox Artista musical ru:Шаблон:Навигационная карточка музыканта es:Plantilla:Navbox Artista Musical sv:Mall:Navbox Musiker tr:Şablon:Sanatçı dolaşım kutusu uk:Шаблон:Navbox Musical artist
The above documentation is transcluded from Template:Navbox musical artist/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |