Ŝablono:Navigilo kun kaŝeblaj grupoj/dokumentado

El Kitakujo

(Malsamoj inter versioj)
Iri al: navigado, serĉi
E (laŭ angla)
Linio 1: Linio 1:
 +
== Ekzemploj ==
 +
===Baza ekzemplo===
 +
<pre style="overflow:scroll;">
 +
{{Navigilo kun kaŝeblaj grupoj
 +
|nomo = University of Michigan
 +
|titolo = [[University of Michigan|<span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>]]
 +
|titola stilo = background:#00008B;color:#FFD700;
 +
|grupa stilo = background:#FFD700;color:#00008B;
 +
|dosiero =
 +
|elektita = {{{1|}}}
 +
|stato = kaŝebla
 +
 +
|grupo1 = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
 +
|mallongigo1 = academics
 +
|listo1 = [[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]]
 +
 +
|grupo2 = [[Michigan Wolverines|<span style="color:#00008B;">Athletics</span>]]
 +
|mallongigo2 = athletics
 +
|listo2 = [[Michigan Stadium|Michigan Stadium]]{{•}} [[Crisler Arena|Crisler Arena]]{{•}} [[Yost Ice Arena|Yost Ice Arena]]{{•}} [[Michigan Wolverines|Michigan Wolverines]]{{•}} [[Michigan Wolverines football|Football]]{{•}} [[Michigan-Ohio Stato rivalry|UM-OSU Rivalry]]{{•}} [[Little Brown Jug (football)|Little Brown Jug]]{{•}} [[Paul Bunyan Trophy]]{{•}} [[Cold War (ice hockey)|Cold War]]
 +
 +
|grupo3 = Campus
 +
|mallongigo3 = campus
 +
|listo3 = [[Angell Hall Observatory]]{{•}} [[Burton Tower]]{{•}} [[The Diag]]{{•}} [[David M. Dennison Building|Dennison Building]]{{•}} [[Gerald R. Ford Presidential Library]]{{•}} [[Hill Auditorium|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>
 +
{{ Navigilo kun kaŝeblaj grupoj
 +
|nomo = University of Michigan
 +
|stato = uncollapsed
 +
|titolo = [[University of Michigan|<span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>]]
 +
|titola stilo = background:#00008B;color:#FFD700;
 +
|grupa stilo = background:#FFD700;color:#00008B;
 +
|image =
 +
|elektita = {{{1|}}}
 +
 +
|grupo1 = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
 +
|mallongigo1 = academics
 +
|listo1 = [[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]]
 +
 +
|grupo2 = [[Michigan Wolverines|<span style="color:#00008B;">Athletics</span>]]
 +
|mallongigo2 = athletics
 +
|listo2 = [[Michigan Stadium|Michigan Stadium]]{{•}} [[Crisler Arena|Crisler Arena]]{{•}} [[Yost Ice Arena|Yost Ice Arena]]{{•}} [[Michigan Wolverines|Michigan Wolverines]]{{•}} [[Michigan Wolverines football|Football]]{{•}} [[Michigan-Ohio Stato rivalry|UM-OSU Rivalry]]{{•}} [[Little Brown Jug (football)|Little Brown Jug]]{{•}} [[Paul Bunyan Trophy]]{{•}} [[Cold War (ice hockey)|Cold War]]
 +
 +
|grupo3 = Campus
 +
|mallongigo3 = campus
 +
|listo3 = [[Angell Hall Observatory]]{{•}} [[Burton Tower]]{{•}} [[The Diag]]{{•}} [[David M. Dennison Building|Dennison Building]]{{•}} [[Gerald R. Ford Presidential Library]]{{•}} [[Hill Auditorium|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]]
 +
 +
}}
 +
 +
===Nesting other Navbox forms===
 +
This example shows {{t1|Navbox}}, {{t1|Navbox with collapsible grupos}} and {{t1|Navbox with columns}} all working together.  Press the edit button for the section to view the code.  Note that each of the infano navboxes has the first parameter set to <code>infano</code>
 +
{{Navigilo kun kaŝeblaj grupoj
 +
|nomo = Navigilo kun kaŝeblaj grupoj
 +
|titolo = Navbox, Navbox with columns, and Navbox with collapsible grupos together
 +
|elektita = {{{1|}}}
 +
 +
|grupo1 = [[:Category:Scouting|The Scouting Movement]]
 +
|mallongigo1 = movement
 +
|listo1 = [[Scouting]]{{•}}''[[Scouting for Boys]]''{{•}}[[Scout method]]{{•}}[[Scout Law]]{{•}}[[Scout Promise]]{{•}}[[Scout Motto]]{{•}}[[Wood Badge]]{{•}}[[Age grupos 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]]{{•}}[[Listo of Scouts]]{{•}}[[Listo of highest awards in Scouting]]
 +
 +
|listo2 = {{Navbox|infano
 +
|titolo      = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
 +
|stato      = {{#ifeq:{{{1|}}}|french|uncollapsed|collapsed}}
 +
|titola stilo = background#
 +
|grupa stilo = background:lavender;
 +
 +
|grupo1 = [[Mahgreb]]
 +
|listo1  = [[French rule in Algeria|Algeria]]{{•}} [[French Morocco|Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>{{•}} [[History of Tunisia|Tunisia]]
 +
 +
|grupo2 = [[French West Africa]]
 +
|listo2  = [[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]]
 +
 +
|grupo3 = &nbsp;
 +
|listo3  = [[French Togoland]]{{•}} [[James Island (The Gambia)|James Island]]
 +
 +
|grupo4 = [[French Equatorial Africa]]
 +
|listo4  = [[Colonial Chad|Chad]]{{•}} [[History of Gabon|Gabon]]{{•}} [[History of the Republic of the Congo|Middle Congo]]{{•}} [[Oubangui-Chari]]
 +
 +
|grupo5 = [[Comoros]]
 +
|listo5  = [[Anjouan]]{{•}} [[Grande Comore]]{{•}} [[Mohéli]]
 +
 +
|grupo6 = &nbsp;
 +
|listo6  = [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]{{•}} [[History of Madagascar#French Control|Madagascar]]{{•}} [[Mauritius|Ile de France]]{{•}} [[Seychelles]]
 +
 +
}}
 +
 +
|grupo3 = [[:Category:Scouting in the United Kingdom|Scouting in the United Kingdom]]
 +
|mallongigo3 = Scouting
 +
|listo3 = [[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]]
 +
 +
|listo4 = {{Navbox with columns|infano
 +
|stato = {{#ifeq:{{{1|}}}|coltest|uncollapsed|collapsed}}
 +
|titolo = Navbox with columns nested in itself
 +
|colstyle = text-align:center;
 +
 +
|col1width = 33%
 +
|col2width = 17%
 +
|col3width = 33%
 +
|col4width = 17%
 +
 +
|col1header = Col1Header
 +
|col2header = Col2Header
 +
|col3header = Col3Header
 +
|col4header = Col4Header
 +
 +
|col1 = {{Navbox with columns|infano
 +
  |colwidth = 50%
 +
  |colstyle = text-align:center;
 +
 +
  |col1header = Col1.1Header
 +
  |col2header = Col1.2Header
 +
 +
  |col1 = Col1.1
 +
  |col2 = Col1.2
 +
}}
 +
 +
|col2 = Col2
 +
 +
|col3 = {{Navbox with columns|infano
 +
  |colwidth = 33%
 +
  |colstyle = text-align:center;
 +
 +
  |col1header = Col3.1Header
 +
  |col2header = Col3.2Header
 +
  |col3header = Col3.3Header
 +
 +
  |col1 = Col3.1
 +
  |col2 = Col3.2
 +
  |col3 = Col3.3
 +
}}
 +
 +
|col4 = Col4
 +
}}
 +
 +
}}
 +
 +
===Nesting Navboxes to get more grupos/listos===
 +
You can conveniently nest Navboxes, including {{ŝ|Navigilo kun kaŝeblaj grupoj}}, to get an unlimited number of grupos/listos.  The following example uses one instance of {{ŝ|Navigilo kun kaŝeblaj grupoj}} to get the first 10 collapsible grupos, a nested instance to get the next 10, and another nested instance to get the last 6.  See the code to learn how it works.  It is fairly simple to extend this to as many grupos/listos as you like:
 +
 +
{{ Navigilo kun kaŝeblaj grupoj
 +
|nomo = {{PAGENAME}}
 +
|stato = kaŝebla
 +
|titolo = Titolo
 +
|elektita = {{{1|}}}
 +
 +
|grupo1 = A
 +
|listoo1 = Listo A
 +
|grupo2 = B
 +
|listo2 = Listo B
 +
|grupo3 = C
 +
|listo3 = Listo C
 +
|grupo4 = D
 +
|listo4 = Listo D
 +
|grupo5 = E
 +
|listo5 = Listo E
 +
|grupo6 = F
 +
|listo6 = Listo F
 +
|grupo7 = G
 +
|listo7 = Listo G
 +
|grupo8 = H
 +
|listo8 = Listo H
 +
|grupo9 = I
 +
|listo9 = Listo I
 +
 +
|listo10 = {{Navigilo kun kaŝeblaj grupoj|infano
 +
  |elektita = {{{1|}}}
 +
 +
  |grupo1 = J
 +
  |listo1 = Listo J
 +
  |grupo2 = K
 +
  |listo2 = Listo K
 +
  |grupo3 = L
 +
  |listo3 = Listo L
 +
  |grupo4 = M
 +
  |listo4 = Listo M
 +
  |grupo5 = N
 +
  |listo5 = Listo N
 +
  |grupo6 = O
 +
  |listo6 = Listo O
 +
  |grupo7 = P
 +
  |listo7 = Listo P
 +
  |grupo8 = Q
 +
  |listo8 = Listo Q
 +
  |grupo9 = R
 +
  |listo9 = Listo R
 +
 +
|listo10 = {{Navigilo kun kaŝeblaj grupoj|infano
 +
  |elektita = {{{1|}}}
 +
 +
  |grupo1 = S
 +
  |listo1 = Listo S
 +
  |grupo2 = T
 +
  |listo2 = Listo T
 +
  |grupo3 = U
 +
  |listo3 = Listo U
 +
  |grupo4 = V
 +
  |listo4 = Listo V
 +
  |grupo5 = W
 +
  |listo5 = Listo W
 +
  |grupo6 = X
 +
  |listo6 = Listo X
 +
  |grupo7 = Y
 +
  |listo7 = Listo Y
 +
  |grupo8 = Z
 +
  |listo8 = Listo Z
 +
}}
 +
 +
}}
 +
 +
}}
 +
<includeonly>
<includeonly>

Kiel registrite je 10:22, 1. Nov 2009

Enhavo

Ekzemploj

Baza ekzemplo

{{Navigilo kun kaŝeblaj grupoj
|nomo = University of Michigan
|titolo = [[University of Michigan|<span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>]]
|titola stilo = background:#00008B;color:#FFD700;
|grupa stilo = background:#FFD700;color:#00008B;
|dosiero = 
|elektita = {{{1|}}}
|stato = kaŝebla

|grupo1 = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
|mallongigo1 = academics
|listo1 = [[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]]

|grupo2 = [[Michigan Wolverines|<span style="color:#00008B;">Athletics</span>]]
|mallongigo2 = athletics
|listo2 = [[Michigan Stadium|Michigan Stadium]]{{•}} [[Crisler Arena|Crisler Arena]]{{•}} [[Yost Ice Arena|Yost Ice Arena]]{{•}} [[Michigan Wolverines|Michigan Wolverines]]{{•}} [[Michigan Wolverines football|Football]]{{•}} [[Michigan-Ohio Stato rivalry|UM-OSU Rivalry]]{{•}} [[Little Brown Jug (football)|Little Brown Jug]]{{•}} [[Paul Bunyan Trophy]]{{•}} [[Cold War (ice hockey)|Cold War]]

|grupo3 = Campus
|mallongigo3 = campus
|listo3 = [[Angell Hall Observatory]]{{•}} [[Burton Tower]]{{•}} [[The Diag]]{{•}} [[David M. Dennison Building|Dennison Building]]{{•}} [[Gerald R. Ford Presidential Library]]{{•}} [[Hill Auditorium|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]]

}}

Nesting other Navbox forms

This example shows Ŝablono:T1, Ŝablono:T1 and Ŝablono:T1 all working together. Press the edit button for the section to view the code. Note that each of the infano navboxes has the first parameter set to infano

Nesting Navboxes to get more grupos/listos

You can conveniently nest Navboxes, including {{Navigilo kun kaŝeblaj grupoj}}, to get an unlimited number of grupos/listos. The following example uses one instance of {{Navigilo kun kaŝeblaj grupoj}} to get the first 10 collapsible grupos, a nested instance to get the next 10, and another nested instance to get the last 6. See the code to learn how it works. It is fairly simple to extend this to as many grupos/listos as you like:


Personaj iloj