Шаблон:Navbox musical artist
Изглед
{{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 before making them. See also Википедија: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 = ... | 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 Шаблон:Infobox musical artist#Background.
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 Медијавики: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]]'' *''[[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 = [[Лед зепелин#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 (rock 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 (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]]'' *''[["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]]'' *''[[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, which describes the use of the hlist class.
- {{Navbox}}, the standard Navbox.
- Википедија:Line-break handling, the how-to guide about handling word-wraps (line-breaks) on Wikipedia – such as lists of links linewrapping within navboxes.
Скупљање | Боја заглавља | Слика | Групе | Стилски параметри |
Примери | |
---|---|---|---|---|---|---|
{{Navbox}} | омогућено | navbox | лево/десно у односу на тело шаблона | да | да |
|
{{Navbox with collapsible groups}} | омогућено | navbox | лево/десно у односу на тело шаблона и/или у свакој листи | да | да | |
{{Navbox with columns}} | омогућено | navbox | лево/десно у односу на колоне | не | да |
|
Тип | CSS класа | Џаваскрипт | Скупља се када... | Подесивост почетног стања |
Угнежђивање |
---|---|---|---|---|---|
Табеле са могучношћу скупљања | collapsible | дефинисано на Common.js | ... постоји два или више аутоматских скупљања на страници | да | да |