Difference between revisions of "Template:Chinese Canadian"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Leventio
(removed MOS:DL (the integrated Temp:Canada Chinatown now includes this link)
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name=Chinese Canadian
 
|name=Chinese Canadian
|title='''Chinese Canadian topics'''
+
|title= [[Chinese Canadian]] topics
 +
|state= {{{state<includeonly>|autocollapse</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
  
Line 11: Line 12:
 
* [[History of Chinese immigration to Canada]]
 
* [[History of Chinese immigration to Canada]]
 
* [[Chinese Immigration Act of 1885]]
 
* [[Chinese Immigration Act of 1885]]
 +
* [[Chinese Immigration Act, 1923]]
 
* [[Chinese Canadians]]
 
* [[Chinese Canadians]]
 
* [[Canadian Chinese cuisine]]
 
* [[Canadian Chinese cuisine]]
Line 19: Line 21:
 
|list2=
 
|list2=
 
* [[Chinatowns in Canada]]
 
* [[Chinatowns in Canada]]
* [[Chinatown, Calgary|Calgary]]
+
{{Canada Chinatown|list only=true}}
* [[Chinatown and Little Italy, Edmonton|Edmonton]]
 
* [[Chinatown, Lethbridge|Lethbridge]]
 
* [[Chinatown, Montreal|Montreal]]
 
* [[Chinatown, Ottawa|Ottawa]]
 
* [[Golden Village (Richmond, British Columbia)|Golden Village, Richmond BC]]
 
* [[Chinatown, Toronto|Toronto]]
 
* [[Chinatown, Vancouver|Vancouver]]
 
* [[Chinatown, Victoria|Victoria]]
 
* [[Chinatown, Winnipeg|Winnipeg]]
 
  
 
}}<noinclude>
 
}}<noinclude>
[[Category:Canadian navigational boxes]]
+
{{Canada Chinatown}}
 +
{{collapsible option}}
 +
[[Category:Canada navigational boxes]]
 +
[[Category:Chinese Canadian|τ]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:54, 20 December 2019

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Chinese Canadian|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Chinese Canadian|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Chinese Canadian|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.