Difference between revisions of "Template:Maldives security forces"

From blackwiki
Jump to navigation Jump to search
imported>Unity-forever
imported>Dunarc
(Category sort order)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|name = Maldives security forces
 
|name = Maldives security forces
 
|title = {{flagicon|Maldives}} Security Forces of the [[Maldives]]
 
|title = {{flagicon|Maldives}} Security Forces of the [[Maldives]]
 +
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
|group1 = Ministry of Defence and National Security
+
|group1 = Ministry of Defence
 
|list1 =
 
|list1 =
 
* [[Maldives National Defence Force]]
 
* [[Maldives National Defence Force]]
Line 16: Line 17:
  
 
}}<noinclude>
 
}}<noinclude>
[[Category:Maldives templates]]
+
{{collapsible option}}
 +
[[Category:Maldives templates|Security Forces of the Maldives]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:27, 1 November 2020

Initial visibility: currently defaults to autocollapse

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

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