Difference between revisions of "Template:Foreign relations of Hong Kong"

From blackwiki
Jump to navigation Jump to search
imported>Supreme Dragon
imported>Frietjes
Line 3: Line 3:
 
| title        = {{flagicon|Hong Kong}} [[Foreign relations of Hong Kong]]
 
| title        = {{flagicon|Hong Kong}} [[Foreign relations of Hong Kong]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| titlestyle  = background:lightsteelblue;
 
| groupstyle  = background:lightsteelblue;
 
| belowstyle  = background:lightsteelblue;
 
 
| image        = [[File:Hong Kong SAR Regional Emblem.svg|link=|alt=|100px|Regional Emblem of Hong Kong]]
 
| image        = [[File:Hong Kong SAR Regional Emblem.svg|link=|alt=|100px|Regional Emblem of Hong Kong]]
 
| bodyclass    = hlist
 
| bodyclass    = hlist
Line 50: Line 47:
 
* [[Template:Free trade agreements of Hong Kong|Free trade agreements]]
 
* [[Template:Free trade agreements of Hong Kong|Free trade agreements]]
  
|below = [http://www.cedb.gov.hk/ {{color|mediumblue|Commerce and Economic Development Bureau}}]
+
|below = [http://www.cedb.gov.hk/ Commerce and Economic Development Bureau]
}}
+
}}<noinclude>
<noinclude>
+
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Hong Kong politics and government templates]]
 
[[Category:Hong Kong politics and government templates]]
 
[[Category:Foreign relations by country templates|Hong Kong]]
 
[[Category:Foreign relations by country templates|Hong Kong]]
 
[[Category:Foreign relations of Hong Kong]]
 
[[Category:Foreign relations of Hong Kong]]

Revision as of 15:13, 1 September 2017

Initial visibility: currently defaults to autocollapse

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

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