Template:Navbox with collapsible groups/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris mNo edit summary |
sims>A morris |
||
Line 160: | Line 160: | ||
This example shows {{t|Navbox}}, {{t|Navbox with collapsible groups}} and {{t|Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that each of the child navboxes has the first parameter set to <code>child</code> |
This example shows {{t|Navbox}}, {{t|Navbox with collapsible groups}} and {{t|Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that each of the child navboxes has the first parameter set to <code>child</code> |
||
{{Navbox with collapsible groups |
{{Navbox with collapsible groups |
||
|name = |
|name = Aspirations |
||
|title= [[Aspiration]]s in ''[[The Sims 2]]'' |
|||
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together |
|||
|groupstyle=text-align: center; |
|||
|selected = {{{1|}}} |
|||
|liststyle=font-size:75%;text-align: center; |
|||
|group1 = |
|group1 = PC and Mac |
||
|list1= {{Navbox with columns|child |
|||
|abbr1 = movement |
|||
|colwidth = 16% |
|||
|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]] |
|||
|col6width = 20% |
|||
|colstyle=text-align: center; |
|||
|col1= [[File:Growup.gif|link=Grow Up]]<br />[[Grow Up]] |
|||
|list2 = {{Navbox|child |
|||
|col2= [[File:Family.gif|link=Family (aspiration)]]<br />[[Family (aspiration)|Family]] |
|||
|title = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]] |
|||
|col3= [[File:Knowledge.gif|link=Knowledge]] [[Knowledge]] |
|||
|state = {{#ifeq:{{{1|}}}|french|uncollapsed|collapsed}} |
|||
|col4= [[File:Romance.gif|link=Romance]]<br />[[Romance]] |
|||
|titlestyle = background# |
|||
|col5= [[File:Fortune.gif|link=Fortune]]<br />[[Fortune]] |
|||
|groupstyle = background:lavender; |
|||
|col6= [[File:Popularity.gif|link=Popularity]]<br />[[Popularity]] |
|||
}} |
|||
{{Navbox with columns|child |
|||
|colheaderstyle=text-align: center;background-color:#C0C0C0; |
|||
|colstyle=text-align: center; |
|||
|col1header = Removed aspirations |
|||
|group1 = [[Mahgreb]] |
|||
|col1= [[Power (aspiration)|Power]] · [[Aspiration#Defunct|Craft]] |
|||
|list1 = [[French rule in Algeria|Algeria]] · [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small> · [[History of Tunisia|Tunisia]] |
|||
|col2header = ''[[The Sims 2: Nightlife|Nightlife]]'' |
|||
|group2 = [[French West Africa]] |
|||
|col2 = {{Navbox with columns|child |
|||
|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]] |
|||
|colwidth = 50% |
|||
|group3 = |
|||
|colstyle=text-align: center; |
|||
|list3 = [[French Togoland]] · [[James Island (The Gambia)|James Island]] |
|||
|col1= [[File:Pleasure.gif|link=Pleasure]] <br /> [[Pleasure]] |
|||
|group4 = [[French Equatorial Africa]] |
|||
|col2= [[File:Grilled cheese.gif|link=Grilled Cheese]] <br /> [[Grilled Cheese|Grilled Cheese]] |
|||
|list4 = [[Colonial Chad|Chad]] · [[History of Gabon|Gabon]] · [[History of the Republic of the Congo|Middle Congo]] · [[Oubangui-Chari]] |
|||
}} |
|||
}} |
|||
|list2= {{Navbox with columns|child |
|||
|title = Consoles and handhelds |
|||
|colstyle = font-size:75%;text-align:center; |
|||
|colheaderstyle= font-size:75%;text-align:center;background-color:#C0C0C0 |
|||
|col1width = 30% |
|||
|group5 = [[Comoros]] |
|||
|col2width = 40% |
|||
|list5 = [[Anjouan]] · [[Grande Comore]] · [[Mohéli]] |
|||
|col3width = 30% |
|||
|col1header = [[The Sims 2 (console)|Console]] and<br>[[The Sims 2 Pets (console)|''Pets'' console]] |
|||
|group6 = |
|||
|col2header = [[The Sims 2 (GBA)|Game Boy Advance]] |
|||
|list6 = [[History of Djibouti#French interest|French Somaliland (Djibouti)]] · [[History of Madagascar#French control|Madagascar]] · [[Mauritius|Ile de France]] · [[Seychelles]] |
|||
|col3header = [[The Sims 2 (Nintendo DS)|Nintendo DS]] |
|||
|col1 = [[File:Creativity.png|link=Creativity (aspiration)]]<br />[[Creativity (aspiration)|Creativity]] |
|||
}} |
|||
|col2 = {{Navbox with columns|child |
|||
|group3 = [[:Category:Scouting in the United Kingdom|Scouting in the United Kingdom]] |
|||
|colwidth = 33% |
|||
|abbr3 = Scouting |
|||
|colstyle = text-align:center; |
|||
|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]] |
|||
|col1 = [[File:Friendly.png|45px|link=Friendly (aspiration)]]<br />[[Friendly (aspiration)|Friendly]] |
|||
|list4 = {{Navbox with columns|child |
|||
|col2 = [[File:Romantic.png|45px|link=Romantic]]<br />[[Romantic]] |
|||
|state = {{#ifeq:{{{1|}}}|coltest|uncollapsed|collapsed}} |
|||
|col3= [[File:Intimidating.png|45px|link=Intimidating]]<br />[[Intimidating]] |
|||
|title = Navbox with columns nested in itself |
|||
}} |
|||
|colstyle = text-align:center; |
|||
|col3 = [[File:Party.png|46px|link=Party (aspiration)]]<br />[[Party (aspiration)|Party]] |
|||
|col1width = 33% |
|||
|col2width = 17% |
|||
|col3width = 33% |
|||
|col4width = 17% |
|||
|col1header = Col1Header |
|||
|col2header = Col2Header |
|||
|col3header = Col3Header |
|||
|col4header = Col4Header |
|||
|col1 = {{Navbox with columns|child |
|||
|colwidth = 50% |
|||
|colstyle = text-align:center; |
|||
|col1header = Col1.1Header |
|||
|col2header = Col1.2Header |
|||
|col1 = Col1.1 |
|||
|col2 = Col1.2 |
|||
}} |
|||
|col2 = Col2 |
|||
|col3 = {{Navbox with columns|child |
|||
|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 |
|||
}} |
|||
}} |
|||
}} |
}} |
||