Difference between revisions of "Template:Chinese Canadian"

From blackwiki
Jump to navigation Jump to search
imported>Forsaken Embrace
(Fixing style/layout errors)
imported>Leventio
(removed MOS:DL (the integrated Temp:Canada Chinatown now includes this link)
 
(18 intermediate revisions by 15 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name=Chinese Canadian
 
|name=Chinese Canadian
|title=<span style="color:#FFFFFF;<!--same as PRC flag's yellow-->">[[Chinese Canadian]]s<span style="color:#FFFFFF0;<!--same as PRC flag's yellow-->"></span>|<span style="color:#FFFFFF;<!--same as PRC flag's yellow-->"><span style="color:#FFFFFF;<!--same as PRC flag's yellow-->"></span>
+
|title= [[Chinese Canadian]] topics
| basestyle = background:#E41B17;<!--same as CPC flag's red--> color:#FFFFFF;<!--same as CPC flag's yellow-->
+
|state= {{{state<includeonly>|autocollapse</includeonly>}}}
 +
|listclass = hlist
 +
 
 
|group1=Topics
 
|group1=Topics
|list1=[[Chinese Canadian]]{{·}} [[History of Chinese immigration to Canada]]{{·}} [[Chinese Immigration Act of 1885]]{{·}}[[Chinese Canadians]]{{·}} [[List of Canadian cities with large Chinese populations]]{{·}} [[Canadian Chinese cuisine]]{{·}} [[Chinese Canadian National Council]]{{·}}[[Taiwanese Canadian|Canadians of Taiwanese descent]] {{·}} [[List of Chinese Canadians]]
+
|list1=
 +
* [[Chinese Canadian]]
 +
* [[Hong Kong Canadian]]s
 +
* [[Taiwanese Canadian]]s
 +
* [[History of Chinese immigration to Canada]]
 +
* [[Chinese Immigration Act of 1885]]
 +
* [[Chinese Immigration Act, 1923]]
 +
* [[Chinese Canadians]]
 +
* [[Canadian Chinese cuisine]]
 +
* [[Chinese Canadian National Council]]
 +
* [[List of Chinese Canadians]]
 +
 
 
|group2=[[List of Chinatowns#Canada|Chinatowns]] and<br>Chinese communities
 
|group2=[[List of Chinatowns#Canada|Chinatowns]] and<br>Chinese communities
|list2=[[Chinatowns in North America]]{{·}} [[Chinatown, Calgary|Calgary]]{{·}} [[Chinatown and Little Italy, Edmonton|Edmonton]]{{·}} [[Chinatown, Lethbridge|Lethbridge]]{{·}} [[Chinatown, Montreal|Montreal]]{{·}} [[Golden Village (Richmond, British Columbia)|Golden Village, Richmond BC]]{{·}} [[Chinatown, Toronto|Toronto]]{{·}} [[Chinatown, Vancouver|Vancouver]]{{·}} [[Chinatown, Victoria|Victoria]]{{·}} [[Chinatown, Winnipeg|Winnipeg]]
+
|list2=
}}
+
* [[Chinatowns in Canada]]
<noinclude>
+
{{Canada Chinatown|list only=true}}
[[Category:Canadian navigational boxes]]
+
 
 +
}}<noinclude>
 +
{{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.