Difference between revisions of "Template:Hong Kong topic"

From blackwiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 6 users not shown)
Line 9: Line 9:
 
               }}
 
               }}
 
           }} (by [[Districts of Hong Kong|district]])
 
           }} (by [[Districts of Hong Kong|district]])
 +
|listclass = hlist
 
|border = {{{border|}}}
 
|border = {{{border|}}}
 
|image  =  
 
|image  =  
Line 14: Line 15:
 
|liststyle  = font-size:0.95em;
 
|liststyle  = font-size:0.95em;
 
|group1 = [[Hong Kong Island]]
 
|group1 = [[Hong Kong Island]]
|list1  = <div>
+
|list1  =  
{{nowrap begin}}
+
* [[{{{1|{{{prefix|}}}}}} Central and Western District{{{2| {{{suffix|}}}}}}|Central and Western]]
[[{{{1|{{{prefix|}}}}}} Central and Western District{{{2| {{{suffix|}}}}}}|Central and Western]]{{·w}}
+
* [[{{{1|{{{prefix|}}}}}} Wan Chai District{{{2| {{{suffix|}}}}}}|Wan Chai]]
[[{{{1|{{{prefix|}}}}}} Wan Chai District{{{2| {{{suffix|}}}}}}|Wan Chai]]{{·w}}
+
* [[{{{1|{{{prefix|}}}}}} Eastern District{{{2| {{{suffix|}}}}}}|Eastern]]
[[{{{1|{{{prefix|}}}}}} Eastern District{{{2| {{{suffix|}}}}}}|Eastern]]{{·w}}
+
* [[{{{1|{{{prefix|}}}}}} Southern District{{{2| {{{suffix|}}}}}}|Southern]]
[[{{{1|{{{prefix|}}}}}} Southern District{{{2| {{{suffix|}}}}}}|Southern]]
 
  
{{nowrap end}}
+
|group2 = [[Kowloon]]
</div>
+
|list2  =
 +
* [[{{{1|{{{prefix|}}}}}} Yau Tsim Mong District{{{2| {{{suffix|}}}}}}|Yau Tsim Mong]]
 +
* [[{{{1|{{{prefix|}}}}}} Sham Shui Po District{{{2| {{{suffix|}}}}}}|Sham Shui Po]]
 +
* [[{{{1|{{{prefix|}}}}}} Kowloon City District{{{2| {{{suffix|}}}}}}|Kowloon City]]
 +
* [[{{{1|{{{prefix|}}}}}} Wong Tai Sin District{{{2| {{{suffix|}}}}}}|Wong Tai Sin]]
 +
* [[{{{1|{{{prefix|}}}}}} Kwun Tong District{{{2| {{{suffix|}}}}}}|Kwun Tong]]
  
|group2 = [[Kowloon]] and [[New Kowloon]]
+
|group3 = [[New Territories]]
|list2  = <div>
+
|list3  =
{{nowrap begin}}
+
* [[{{{1|{{{prefix|}}}}}} Tsuen Wan District{{{2| {{{suffix|}}}}}}|Tsuen Wan]]
 +
* [[{{{1|{{{prefix|}}}}}} Tuen Mun District{{{2| {{{suffix|}}}}}}|Tuen Mun]]
 +
* [[{{{1|{{{prefix|}}}}}} Yuen Long District{{{2| {{{suffix|}}}}}}|Yuen Long]]
 +
* [[{{{1|{{{prefix|}}}}}} North District{{{2| {{{suffix|}}}}}}|North]]
 +
* [[{{{1|{{{prefix|}}}}}} Tai Po District{{{2| {{{suffix|}}}}}}|Tai Po]]
 +
* [[{{{1|{{{prefix|}}}}}} Sai Kung District{{{2| {{{suffix|}}}}}}|Sai Kung]]
 +
* [[{{{1|{{{prefix|}}}}}} Sha Tin District{{{2| {{{suffix|}}}}}}|Sha Tin]]
 +
* [[{{{1|{{{prefix|}}}}}} Kwai Tsing District{{{2| {{{suffix|}}}}}}|Kwai Tsing]]
 +
* [[{{{1|{{{prefix|}}}}}} Islands District{{{2| {{{suffix|}}}}}}|Islands]]
  
[[{{{1|{{{prefix|}}}}}} Yau Tsim Mong District{{{2| {{{suffix|}}}}}}|Yau Tsim Mong]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Sham Shui Po District{{{2| {{{suffix|}}}}}}|Sham Shui Po]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Kowloon City District{{{2| {{{suffix|}}}}}}|Kowloon City]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Wong Tai Sin District{{{2| {{{suffix|}}}}}}|Wong Tai Sin]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Kwun Tong District{{{2| {{{suffix|}}}}}}|Kwun Tong]]
 
{{nowrap end}}
 
</div>
 
 
|group3 = [[New Territories]] <br />(excluding [[New Kowloon]])
 
|list3  = <div>
 
{{nowrap begin}}
 
[[{{{1|{{{prefix|}}}}}} Tsuen Wan District{{{2| {{{suffix|}}}}}}|Tsuen Wan]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Tuen Mun District{{{2| {{{suffix|}}}}}}|Tuen Mun]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Yuen Long District{{{2| {{{suffix|}}}}}}|Yuen Long]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} North District{{{2| {{{suffix|}}}}}}|North]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Tai Po District{{{2| {{{suffix|}}}}}}|Tai Po]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Sai Kung District{{{2| {{{suffix|}}}}}}|Sai Kung]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Sha Tin District{{{2| {{{suffix|}}}}}}|Sha Tin]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Kwai Tsing District{{{2| {{{suffix|}}}}}}|Kwai Tsing]]{{·w}}
 
[[{{{1|{{{prefix|}}}}}} Islands District{{{2| {{{suffix|}}}}}}|Islands]]
 
{{nowrap end}}
 
</div>
 
 
<!--end #if:-->}}
 
<!--end #if:-->}}
 
{{#if:{{{2|}}}{{{suffix|}}}|[[Category:Region topic template using suffix]]}}<noinclude>
 
{{#if:{{{2|}}}{{{suffix|}}}|[[Category:Region topic template using suffix]]}}<noinclude>
{{documentation}}
+
{{collapsible option}}
  
 
<!---Please add metadata to the <includeonly> section at the end of the /doc subpage--->
 
<!---Please add metadata to the <includeonly> section at the end of the /doc subpage--->
 
[[Category:Hong Kong templates]]
 
[[Category:Hong Kong templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:32, 11 September 2015

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Hong Kong topic|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Hong Kong topic|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Hong Kong topic|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.