Difference between revisions of "Template:Commanders of the People's Armed Police"

From blackwiki
Jump to navigation Jump to search
(change font to span)
Line 2: Line 2:
 
|name = Commanders of the People's Armed Police
 
|name = Commanders of the People's Armed Police
 
|titlestyle = background: #556B2F; color: #ffef41;
 
|titlestyle = background: #556B2F; color: #ffef41;
|title = Commanders of the [[People's Armed Police|<font color="#ffef41">People's Armed Police</font>]]
+
|title = Commanders of the [[People's Armed Police|<span style="color:#ffef41;">People's Armed Police</span>]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 21: Line 21:
 
{{collapsible option}}
 
{{collapsible option}}
  
[[Category:People's Liberation Army templates|{{PAGENAME}}]]
+
[[Category:People's Liberation Army templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:27, 17 August 2019

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Commanders of the People's Armed Police|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Commanders of the People's Armed Police|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Commanders of the People's Armed Police|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.