Difference between revisions of "Template:Chinatowns/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>JohnBlackburne
(rm unnecessary edit links; anyone that gets as far as the source should be able to work out how to edit the sub-templates)
imported>JohnBlackburne
(try with collapsable subsections)
Line 1: Line 1:
{{Navbox  
+
{{Navbox with collapsible groups
 
| name      = Chinatowns
 
| name      = Chinatowns
 
| title      = {{#if:{{{list only|}}}|| [[Chinatown]]s }}
 
| title      = {{#if:{{{list only|}}}|| [[Chinatown]]s }}
Line 7: Line 7:
  
 
| group1 = [[Chinatowns in Africa|Africa]]
 
| group1 = [[Chinatowns in Africa|Africa]]
 +
|state1 = {{#ifeq:{{{1|}}}|Africa|uncollapsed|collapsed}}
 
| list1  =
 
| list1  =
 
;{{nobold|Mauritius}}
 
;{{nobold|Mauritius}}
Line 14: Line 15:
 
::[[Commissioner Street (Johannesburg)|Commissioner Street]]
 
::[[Commissioner Street (Johannesburg)|Commissioner Street]]
 
:: [[Cyrildene]]
 
:: [[Cyrildene]]
 
| group3 = [[Chinatowns in Asia|Asia]]
 
| list3  = {{Asia Chinatown|list only= true}}
 
 
| group4 = [[Chinatowns in Europe|Europe]]
 
| list4  = {{Europe Chinatown|list only= true}}
 
 
  
 
| group2 = [[Chinatowns in the Americas|Americas]]
 
| group2 = [[Chinatowns in the Americas|Americas]]
 +
|state2 = {{#ifeq:{{{1|}}}|Americas|uncollapsed|collapsed}}
 
| list2  =
 
| list2  =
 
{{Navbox subgroup
 
{{Navbox subgroup
Line 37: Line 32:
 
| list6  = {{US Chinatowns|list only=true}}
 
| list6  = {{US Chinatowns|list only=true}}
 
}}
 
}}
 +
 +
| group3 = [[Chinatowns in Asia|Asia]]
 +
|state3 = {{#ifeq:{{{1|}}}|Asia|uncollapsed|collapsed}}
 +
| list3  = {{Asia Chinatown|list only= true}}
 +
 +
| group4 = [[Chinatowns in Europe|Europe]]
 +
|state4 = {{#ifeq:{{{1|}}}|Europe|uncollapsed|collapsed}}
 +
| list4  = {{Europe Chinatown|list only= true}}
  
 
| group7 = [[Chinatowns in Oceania|Oceania]]
 
| group7 = [[Chinatowns in Oceania|Oceania]]
 +
|state7 = {{#ifeq:{{{1|}}}|Oceania|uncollapsed|collapsed}}
 
| list7  =
 
| list7  =
 
{{Navbox subgroup
 
{{Navbox subgroup

Revision as of 21:25, 14 January 2017

Template documentation[view] [edit] [history] [purge]

Usage