Difference between revisions of "Template:2019–20 Hong Kong protests"

From blackwiki
Jump to navigation Jump to search
blackwiki>AlexRules646
blackwiki>RealFakeKim
Line 6: Line 6:
 
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
|above = Part of the [[democratic development in Hong Kong]]
+
|above = Part of the [[democratic development in Hong Kong]] and the [[Hong Kong–Mainland China conflict]]
  
 
|group1 = [[Causes of the 2019–20 Hong Kong protests|Causes]]
 
|group1 = [[Causes of the 2019–20 Hong Kong protests|Causes]]
Line 109: Line 109:
 
|below =
 
|below =
 
* {{Icon|Book}} [[Book:2019 Hong Kong anti-extradition bill protests|Book]]
 
* {{Icon|Book}} [[Book:2019 Hong Kong anti-extradition bill protests|Book]]
 +
* {{Icon|Commons}} [[:commons:Category:Demonstrations against extradition bill in Hong Kong|Commons]]
 
* {{Icon|Category}} [[:Category:2019–20 Hong Kong protests|Category]]
 
* {{Icon|Category}} [[:Category:2019–20 Hong Kong protests|Category]]
 
}}
 
}}

Revision as of 10:52, 15 March 2020

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

Initial visibility: currently defaults to autocollapse

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

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