Templat:Navbox with collapsible groups/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
-iNu- (bicara | kontrib)
←Membuat halaman berisi '{{documentation subpage}} {{Navbox suite}} {{terjemah|Inggris}} This template produces a navigational template that has groups of rel...'
 
k Bot: Mengganti kategori Kotak navigasi dengan Templat navigasi
 
(15 revisi perantara oleh 4 pengguna tidak ditampilkan)
Baris 1:
{{documentationDocumentation subpage}}
{{High-use|7000}}
{{lua|Module:Navbox with collapsible groups}}
<includeonly>{{Template display|nomobile}}</includeonly>
{{Navbox suite}}
{{terjemah|Inggris}}
This template produces a [[Wikipedia:Navigational templates|navigational template]] that has groups of relevant articles on a certain topic. All groups are hidden by default. However, with a parameter call, an individual group can be shown that has the other articles in the same group.
 
== UsageContoh penggunaan ==
<syntaxhighlight lang="moin" style="overflow:scroll;">
Please remove the parameters that are left blank. The template currently supports up to 10 groups/lists but more can be added if needed. You should use a minimum of two groups/lists; otherwise, use {{t1|Navbox}} instead.
{{Navbox with collapsible groups
 
|name = University of Michigan
<pre>{{Navbox with collapsible groups
|state = uncollapsed
|name = {{subst:PAGENAME}}
|title = [[University of Michigan|<span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>]]
|state =
|titlestyle = background:#00008B;color:#FFD700;
|selected = {{{1|}}}
|listclass = hlist
 
|groupstyle = background:#FFD700;color:#00008B;
|title =
|titlestyleimage =
|selected = {{{1|}}}
|groupstyle =
|image =
|group1 = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
 
|abbr1 = academics
|group1 =
|abbr1list1 =
* [[University of Michigan College of Engineering|College of Engineering]]
|list1 =
* [[University of Michigan College of Literature, Science, and the Arts|College of Literature, Science and the Arts]]
 
* [[Gerald R. Ford School of Public Policy]]
|group2 =
* [[University of Michigan Law School|Law School]]
|abbr2 =
* [[University of Michigan Health System|Medical School]]
|list2 =
* [[Ross School of Business]]
 
* [[University of Michigan School of Education|School of Education]]
...
* [[University of Michigan School of Information|School of Information]]
 
* [[University of Michigan School of Music, Theatre & Dance|School of Music, Theatre & Dance]]
|group10 =
* [[University of Michigan School of Natural Resources and Environment|School of Natural Resources and Environment]]
|abbr10 =
* [[University of Michigan School of Public Health|School of Public Health]]
|list10 =
* [[Taubman College of Architecture and Urban Planning]]
}}</pre>
 
|group2 = [[Michigan Wolverines|<span style="color:#00008B;">Athletics</span>]]
== Parameters ==
|abbr2 = athletics
This template shares many common parameters with its sister templates {{t1|Navbox}} and {{t1|Navbox with columns}}. The common parameters are marked with a cross<sup>'''†'''</sup>. Please refer to the documentation of {{t1|Navbox}} for more in depth descriptions and examples of those parameters.
|state2 = uncollapsed
 
|list2 =
===Setup parameters===
* [[Michigan Stadium]]
:;name<sup>†</sup>
* [[Crisler Arena]]
::The name of the template. The name of this template, for example, is "Navbox with collapsible groups".
* [[Yost Ice Arena]]
 
* [[Michigan Wolverines]]
:; ''state''<sup>†</sup> <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
* [[Michigan Wolverines football|Football]]
::The initial state of the show/hide feature for the main title. See {{t1|Navbox}} for more information. Does not affect display or hiding of group items, see ''state<sub>n</sub>'', below.
* [[Michigan – Ohio State football rivalry|UM-OSU Rivalry]]
 
* [[Little Brown Jug (American football)|Little Brown Jug]]
:;''navbar''<sup>†</sup>
* [[Paul Bunyan Trophy]]
::Possible values are <code>plain</code>, <code>off</code>, and the default value of blank. See {{t1|Navbox}} for more information.
* [[Cold War (ice hockey)|Cold War]]
 
:;''border''<sup>†</sup>
|group3 = Campus
::Possible values are <code>child</code>, <code>none</code>, and the default value of blank. Set to <code>child</code> if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{t1|Navbox}}, the columns of a {{t1|Navbox with columns}}, or a list area of {{t1|Navbox with collapsible groups}}. See {{t1|Navbox}} for more information and examples.
|abbr3 = campus
 
|list3 =
===Basic data parameters===
* [[Angell Hall Observatory]]
:;'''''title'''''<sup>†</sup>
* [[Burton Memorial Tower|Burton Tower]]
::The title of the template, displayed centered in the titlebar at the top of the template.
* [[The Diag]]
 
* [[David M. Dennison Building|Dennison Building]]
:;''above''<sup>†</sup>
* [[Gerald R. Ford Presidential Library]]
::Text or other elements to appear above groups/lists.
* [[Hill Auditorium]]
 
* [[Lurie Tower]]
:;''image''<sup>†</sup>
* [[Matthaei Botanical Gardens]]
::Image to the right of all of the groups/lists.
* [[Michigan Union]]
 
* [[Museums at the University of Michigan|Museums]]
:;''imageleft''<sup>†</sup>
* [[Nichols Arboretum]]
::Image to the left of all of the groups/lists.
* [[University of Michigan Health System|UM Health System]]
 
* [[University of Michigan Library|University Library]]
:;''below''<sup>†</sup>
}}
::Text or other elements to appear below the groups/lists.
</syntaxhighlight>
 
===Group/list parameters===
:; ''group<sub>n</sub>''<sup>†</sup>
:: The title of each section.
 
:; ''list<sub>n</sub>''<sup>†</sup>
:: The content/wikilinks that will be shown in the group. Use dots or bullets as separators (see the [[#See also|See also]] section). A {{t1|Navbox}} or {{t1|Navbox with columns}} can optionally be used here with its <code>border = child</code> parameter set. If this is done, leave the corresponding group<sub>n</sub> blank, as the child navbox will already provide the collapsible feature.
 
:; ''abbr<sub>n</sub>''
:: This is the abbreviation of the group. See <code>selected</code> parameter immediately below to see how to use this parameter. This parameter is optional, but recommended.
 
:; ''selected''
:: If the value of <code>selected</code> equals the value of <code>abbr<sub>n</sub></code>, then list<sub>n</sub> is uncollapsed and all other lists are collapsed. If <code>selected</code> is left blank, or if it does not match any <code>abbr<sub>n</sub></code>, then all groups are collapsed. Usually this parameter should be set to <tt><nowiki>{{{1|}}}</nowiki></tt>. Since this template is a base template for others, there has to be a way to pass the group parameter from the article, to the secondary template to this one.
 
:: The collapsed/uncollapsed options can be listed on the template's page by using the {{tl|Collapsible sections option}} template in the <nowiki><noinclude></nowiki> part of the page.
 
:; ''state<sub>n</sub>'' <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
:: The initial collapsible state of list<sub>n</sub>. Set to collapsed by default. Overridden to uncollapsed if <code>selected</code> equals <code>abbr<sub>n</sub></code>.
 
:; ''image<sub>n</sub>''
:: An image to appear in the list<sub>n</sub> content area on the right side.
 
:; ''imageleft<sub>n</sub>''
:: An image to appear in the list<sub>n</sub> content area on the left side.
 
===Style parameters===
:;''bodystyle''<sup>†</sup>
::CSS style/s to apply to the entire template
 
:;''titlestyle''<sup>†</sup>
::[[Wikipedia:CSS|CSS]] style/s to apply to titlebar; usually <code>background:''color''</code>. The color of wikilink text must be manually changed using span tags. For example use <code><nowiki>title = [[Scouting|<span style="color:ivory;">Scouting</span>]]</nowiki></code> to change the color of the link to ivory. The [show]/[hide] button and the vde link button use the color set in the titlestyle parameter. Here is an example of setting the titlestyle:
:::<code>titlestyle = background:darkgreen;color:ivory;</code>
 
:;''abovestyle''<sup>†</sup>
:;''belowstyle''<sup>†</sup>
::CSS style/s to apply to the ''above'' and ''below'' parameters, respectively.
 
:;''basestyle''<sup>†</sup>
::CSS style/s to apply to the ''title'', ''above'', ''below'', and ''group<sub>n</sub>'' parameters, all at the same time.
 
:;''imagestyle''<sup>†</sup>
::CSS style/s to apply to the ''image'' parameter. Does not get applied to the image<sub>n</sub> parameters.
 
:;''imageleftstyle''<sup>†</sup>
::CSS style/s to apply to the ''imageleft'' parameter. Does not get applied to the imageleft<sub>n</sub> parameters.
 
:; ''groupstyle''<sup>†</sup>
:: CSS style/s to apply to all group heading parameters. Visit [http://meyerweb.com/eric/tools/color-blend/ this website] to get a lighter color similar to the title background color. Example:
:::<code>groupstyle = background:lightgreen;</code>
 
:; ''group<sub>n</sub>''style<sup>†</sup>
:: CSS style/s to apply to a specific group heading; overrides any CSS styles set in ''groupstyle''.
 
:; ''liststyle''<sup>†</sup>
:: CSS style/s to apply to all list content parameters.
 
:; ''list<sub>n</sub>''style<sup>†</sup>
:: CSS style/s to apply to specific list content parameters; overrides any CSS styles set in ''liststyle''.
 
:; ''listpadding''<sup>†</sup>
:: Padding to have in each list cell; defaults to 0.25em on the left/right and 0em on the top/bottom.
 
===Microformat parameters===
:; ''bodyclass''<sup>†</sup>
:: This parameter is inserted into the "class" attribute for the infobox as a whole.
 
:; ''titleclass''<sup>†</sup>
:: This parameter is inserted into the "class" attribute for the infobox's title caption.
 
:See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.
 
== Examples ==
===Basic example===
<pre style="overflow:scroll;">
{{Navbox with collapsible groups
|name = University of Michigan
|title = [[University of Michigan|<span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>]]
|titlestyle = background:#00008B;color:#FFD700;
|groupstyle = background:#FFD700;color:#00008B;
|image =
|selected = {{{1|}}}
|state = collapsed
 
|group1 = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
|abbr1 = academics
|list1 = [[University of Michigan College of Engineering|College of Engineering]]{{·}} [[University of Michigan College of Literature, Science, and the Arts|College of Literature, Science and the Arts]]{{·}} [[Gerald R. Ford School of Public Policy]]{{·}} [[University of Michigan Law School|Law School]]{{·}} [[University of Michigan Health System|Medical School]]{{·}} [[Ross School of Business]]{{·}} [[University of Michigan School of Education|School of Education]]{{·}} [[University of Michigan School of Information|School of Information]]{{·}} [[University of Michigan School of Music, Theatre & Dance|School of Music, Theatre & Dance]]{{·}}[[University of Michigan School of Natural Resources and Environment|School of Natural Resources and Environment]]{{·}} [[University of Michigan School of Public Health|School of Public Health]]{{·}} [[Taubman College of Architecture and Urban Planning]]
 
|group2 = [[Michigan Wolverines|<span style="color:#00008B;">Athletics</span>]]
|abbr2 = athletics
|list2 = [[Michigan Stadium]]{{·}} [[Crisler Arena]]{{·}} [[Yost Ice Arena]]{{·}} [[Michigan Wolverines]]{{·}} [[Michigan Wolverines football|Football]]{{·}} [[Michigan-Ohio State rivalry|UM-OSU Rivalry]]{{·}} [[Little Brown Jug (football)|Little Brown Jug]]{{·}} [[Paul Bunyan Trophy]]{{·}} [[Cold War (ice hockey)|Cold War]]
 
|group3 = Campus
|abbr3 = campus
|list3 = [[Angell Hall Observatory]]{{·}} [[Burton Tower]]{{·}} [[The Diag]]{{·}} [[David M. Dennison Building|Dennison Building]]{{·}} [[Gerald R. Ford Presidential Library]]{{·}} [[Hill Auditorium]]{{·}} [[Lurie Tower]]{{·}} [[Matthaei Botanical Gardens]]{{·}} [[Michigan Union]]{{·}} [[Museums at the University of Michigan|Museums]]{{·}} [[Nichols Arboretum]]{{·}} [[University of Michigan Health System|UM Health System]]{{·}} [[University of Michigan Library|University Library]]
 
}}
</pre>
{{Navbox with collapsible groups
|name = University of Michigan
Baris 165 ⟶ 70:
|title = [[University of Michigan|<span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>]]
|titlestyle = background:#00008B;color:#FFD700;
|listclass = hlist
|groupstyle = background:#FFD700;color:#00008B;
|image =
Baris 171 ⟶ 77:
|group1 = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
|abbr1 = academics
|list1 =
|list1 = [[University of Michigan College of Engineering|College of Engineering]]{{·}} [[University of Michigan College of Literature, Science, and the Arts|College of Literature, Science and the Arts]]{{·}} [[Gerald R. Ford School of Public Policy]]{{·}} [[University of Michigan Law School|Law School]]{{·}} [[University of Michigan Health System|Medical School]]{{·}} [[Ross School of Business]]{{·}} [[University of Michigan School of Education|School of Education]]{{·}} [[University of Michigan School of Information|School of Information]]{{·}} [[University of Michigan School of Music, Theatre & Dance|School of Music, Theatre & Dance]]{{·}}[[University of Michigan School of Natural Resources and Environment|School of Natural Resources and Environment]]{{·}} [[University of Michigan School of Public Health|School of Public Health]]{{·}} [[Taubman College of Architecture and Urban Planning]]
* [[University of Michigan College of Engineering|College of Engineering]]
* [[University of Michigan College of Literature, Science, and the Arts|College of Literature, Science and the Arts]]
* [[Gerald R. Ford School of Public Policy]]
* [[University of Michigan Law School|Law School]]
* [[University of Michigan Health System|Medical School]]
* [[Ross School of Business]]
* [[University of Michigan School of Education|School of Education]]
* [[University of Michigan School of Information|School of Information]]
* [[University of Michigan School of Music, Theatre & Dance|School of Music, Theatre & Dance]]
* [[University of Michigan School of Natural Resources and Environment|School of Natural Resources and Environment]]
* [[University of Michigan School of Public Health|School of Public Health]]
* [[Taubman College of Architecture and Urban Planning]]
 
|group2 = [[Michigan Wolverines|<span style="color:#00008B;">Athletics</span>]]
|abbr2 = athletics
|state2 = uncollapsed
|list2 = [[Michigan Stadium]]{{·}} [[Crisler Arena]]{{·}} [[Yost Ice Arena]]{{·}} [[Michigan Wolverines]]{{·}} [[Michigan Wolverines football|Football]]{{·}} [[Michigan-Ohio State rivalry|UM-OSU Rivalry]]{{·}} [[Little Brown Jug (football)|Little Brown Jug]]{{·}} [[Paul Bunyan Trophy]]{{·}} [[Cold War (ice hockey)|Cold War]]
|list2 =
* [[Michigan Stadium]]
* [[Crisler Arena]]
* [[Yost Ice Arena]]
* [[Michigan Wolverines]]
* [[Michigan Wolverines football|Football]]
* [[Michigan – Ohio State football rivalry|UM-OSU Rivalry]]
* [[Little Brown Jug (American football)|Little Brown Jug]]
* [[Paul Bunyan Trophy]]
* [[Cold War (ice hockey)|Cold War]]
 
|group3 = Campus
|abbr3 = campus
|list3 =
|list3 = [[Angell Hall Observatory]]{{·}} [[Burton Tower]]{{·}} [[The Diag]]{{·}} [[David M. Dennison Building|Dennison Building]]{{·}} [[Gerald R. Ford Presidential Library]]{{·}} [[Hill Auditorium]]{{·}} [[Lurie Tower]]{{·}} [[Matthaei Botanical Gardens]]{{·}} [[Michigan Union]]{{·}} [[Museums at the University of Michigan|Museums]]{{·}} [[Nichols Arboretum]]{{·}} [[University of Michigan Health System|UM Health System]]{{·}} [[University of Michigan Library|University Library]]
* [[Angell Hall Observatory]]
 
* [[Burton Memorial Tower|Burton Tower]]
* [[The Diag]]
* [[David M. Dennison Building|Dennison Building]]
* [[Gerald R. Ford Presidential Library]]
* [[Hill Auditorium]]
* [[Lurie Tower]]
* [[Matthaei Botanical Gardens]]
* [[Michigan Union]]
* [[Museums at the University of Michigan|Museums]]
* [[Nichols Arboretum]]
* [[University of Michigan Health System|UM Health System]]
* [[University of Michigan Library|University Library]]
}}
 
=== Membuat navbox berjenjang dari form navbox lain ===
===Nesting other Navbox forms===
ThisContoh exampleini showsmenunjukkan {{t1tl|Navbox}}, {{t1tl|Navbox with collapsible groups}} anddan {{t1tl|Navbox with columns}} allsemuanya workingbekerja togetherbersama. Tekan Presstombol thesunting edit buttonbagian foruntuk themelihat section to view the codekode. Perhatikan Notebahwa thatsetiap eachnavbox ofanak thememiliki childparameter navboxespertama has the first parameteryang setdiatur tomenggunakan <code>child</code>
{{Navbox with collapsible groups
|name = Navbox with collapsible groups/doc#Nesting other Navbox forms
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together
|selected = {{{1|}}}
|listclass = hlist
 
|group1 = [[:Category:Scouting|The Scouting Movement]]
|abbr1 = movement
|list1 =
|list1 = [[Scouting]]{{·}}''[[Scouting for Boys]]''{{·}}[[Scout method]]{{·}}[[Scout Law]]{{·}}[[Scout Promise]]{{·}}[[Scout Motto]]{{·}}[[Wood Badge]]{{·}}[[Age groups in Scouting and Guiding]]{{·}}[[Cub Scout]]{{·}}[[Boy Scout]]{{·}}[[Rover Scout]]{{·}}[[Brownie (Girl Guides)|Brownie]]{{·}}[[Girl Guiding and Girl Scouting]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Jamboree (Scouting)|Jamboree]]{{·}}[[Scout Leader]]{{·}}[[World Organization of the Scout Movement|WOSM]]{{·}}[[World Association of Girl Guides and Girl Scouts|WAGGGS]]{{·}}[[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]{{·}}[[Scouting controversy and conflict]]{{·}}[[Scouting in popular culture]]{{·}}[[List of Scouts]]{{·}}[[List of highest awards in Scouting]]
*[[Scouting]]
*''[[Scouting for Boys]]''
*[[Scout method]]
*[[Scout Law]]
*[[Scout Promise]]
*[[Scout Motto]]
*[[Wood Badge]]
*[[Age groups in Scouting and Guiding]]
*[[Cub Scout]]
*[[Scout (Scouting)|Boy Scout]]
*[[Rover Scout]]
*[[Brownie (Girl Guides)|Brownie]]
*[[Girl Guiding and Girl Scouting]]
*[[Ranger (Girl Guide)]]
*[[Jamboree (Scouting)|Jamboree]]
*[[Scout Leader]]
*[[World Organization of the Scout Movement|WOSM]]
*[[World Association of Girl Guides and Girl Scouts|WAGGGS]]
*[[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]
*[[Scouting controversy and conflict]]
*[[Scouting in popular culture]]
*[[List of Scouts]]
*[[List of highest awards in Scouting]]
 
|list2 = {{Navbox|child
|title = [[French colonial empiresempire|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
|state = {{#ifeq:{{{1|}}}|french|uncollapsed|collapsed}}
|titlestyle = background#
|groupstyle = background:lavender;
 
|group1 = [[Maghreb|Mahgreb]]
|list1 =
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>{{·}} [[History of Tunisia|Tunisia]]
*[[French Algeria|Algeria]]
*[[French protectorate of Morocco|Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>
*[[History of Tunisia|Tunisia]]
 
|group2 = [[French West Africa]]
|list2 =
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}} [[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}} [[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]
*[[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]
*[[French Dahomey|Dahomey]]
*[[French Sudan]]
*[[French Guinea|Guinea]]
*[[History of Mauritania#French colonization and post-colonial history|Mauritania]]
*[[History of Niger#Colonization|Niger]]
*[[History of Senegal|Senegal]]
*[[French Upper Volta|Upper Volta]]
 
|group3 = &nbsp;
|list3 =
*[[French Togoland]]{{·}}
*[[James Island (The Gambia)|James Island]]
 
|group4 = [[French Equatorial Africa]]
|list4 =
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}} [[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-Chari]]
*[[Colonial Chad|Chad]]
*[[History of Gabon|Gabon]]
*[[History of the Republic of the Congo|Middle Congo]]
*[[Ubangi-Shari|Oubangui-Chari]]
 
|group5 = [[Comoros]]
|list5 =
*[[Anjouan]]{{·}}
*[[Grande Comore]]{{·}}
*[[Mohéli]]
 
|group6 = &nbsp;
|list6 =
|list6 = [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]{{·}} [[History of Madagascar#French control|Madagascar]]{{·}} [[Mauritius|Ile de France]]{{·}} [[Seychelles]]
*[[History of Djibouti#French interest|French Somaliland (Djibouti)]]
*[[History of Madagascar#French control|Madagascar]]
*[[Mauritius|Ile de France]]
*[[Seychelles]]
 
}}
 
|group3 = [[:Category:Scouting and Guiding in the United Kingdom|Scouting and Guiding in the United Kingdom]]
|abbr3 = Scouting
|list3 =
|list3 = [[The Scout Association]]{{·}}[[Girlguiding UK]]{{·}}[[Beaver Scouts]]{{·}}[[Cub Section (UK)]]{{·}}[[Venture Scout]]{{·}}[[Explorer Scouts]]{{·}}[[Brownie (Girl Guides)]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Rainbow (Girl Guides)]]{{·}}[[Scout Network]]{{·}}[[Chief Scout (United Kingdom)]]{{·}}[[Scout Counties]]{{·}}[[Scout District]]{{·}}[[Scout Section (UK)]]{{·}}[[Scout Activity Centre]]{{·}}[[Young Leaders (The Scout Association)|Young Leaders]]
*[[The Scout Association]]
*[[Girlguiding UK]]
*[[Beaver Scouts]]
*[[Cub Scouts (The Scout Association)|Cub Section (UK)]]
*[[Venture Scout]]
*[[Explorer Scouts (The Scout Association)|Explorer Scouts]]
*[[Brownie (Girl Guides)]]
*[[Ranger (Girl Guide)]]
*[[Rainbow (Girl Guides)]]
*[[Scout Network]]
*[[Chief Scout (The Scout Association)|Chief Scout (United Kingdom)]]
*[[Scout Counties (The Scout Association)|Scout Counties]]
*[[Scout District]]
*[[Scouts (The Scout Association)|Scout Section (UK)]]
*[[Scout Activity Centre (The Scout Association)|Scout Activity Centre]]
*[[Young Leaders (The Scout Association)|Young Leaders]]
 
|list4 = {{Navbox with columns|child
Baris 267 ⟶ 271:
|col4 = Col4
}}
 
}}
 
=== Navbox berjenjang untuk mendapatkan lebih banyak grup/daftar ===
===Nesting Navboxes to get more groups/lists===
YouAnda candapat convenientlydengan nestmudah Navboxesmenyusun Navbox, includingtermasuk {{t1tl|Navbox with collapsible groups}}, tountuk getmendapatkan angrup/daftar unlimiteddalam numberjumlah oftak groups/liststerbatas. Contoh Theberikut followingmenggunakan example uses onesatu instance of {{t1tl|Navbox with collapsible groups}} tountuk getmendapatkan the10 firstgrup 10pertama collapsibleyang groupsdapat diciutkan, ainstance nesteddigunakan instancesecara toberjenjang getuntuk themengahsilkan next10 10berikutnya, and another nesteddan instance toberjenjang getlainnya theuntuk lastmendapatkan 6. Lihat Seekode thesumber codeuntuk tomempelajari learn how it workscaranya. Cukup Itsederhana isuntuk fairlymemperluas simpleini toke extendgrup/daftar this to as many groups/listssebanyak asyang youAnda likesuka:
 
{{Navbox with collapsible groups
|name = {{PAGENAME}}
|state = collapsed
|title = TitleJudul
|selected = {{{1|}}}
 
Baris 340 ⟶ 343:
|list8 = List Z
}}
 
}}
 
}}
== See also ==
* {{t1|Nowrap begin}} - Provides an explanation of the preferred method of using bullets or pipes to delimit list items.
* {{tl|Navbox}} - Basic navbox.
* {{t1|Navbox with columns}} - Sister template that provides columns in a navbox
* {{tl|Navbox subgroup}} - Allows the creation of subgroups within {{tl|Navbox}}.
 
== Lihat pula ==
{{Navigational templates}}
* {{tl|Navboxes}}
* {{tl|Collapsible sections option}}
 
<includeonly>{{Sandbox other||
<!--Categories-->
[[Kategori:Templat navigasi|collapsible groups]]
[[KategoriCategory:Templat metaMetatemplat Wikipedia|{{PAGENAME}}]]
 
}}</includeonly>
[[ar:قالب:تصفح مجموعات مطوية]]
[[da:Skabelon:Navboks med sammenklappelige afsnit]]
[[en:Template:Navbox with collapsible groups]]
[[eo:Ŝablono:Navigilo kun kaŝeblaj grupoj]]
[[hr:Predložak:Navigacija sa sklopivim grupama]]
[[ja:Template:Navbox with collapsible groups]]
[[ka:თარგი:ნავდაფა გაშლადი ჯგუფებით]]
[[ku:Şablon:Navbox with collapsible groups]]
[[pl:Szablon:Navbox ze zwijanymi grupami]]
[[pt:Predefinição:Navbox with collapsible groups]]
[[ro:Format:Casetă de navigare cu grupuri pliabile]]
[[ru:Шаблон:Навигационная таблица с блоками]]
[[th:แม่แบบ:Navbox with collapsible groups]]
[[zh:Template:Navbox with collapsible groups]]
</includeonly>