Difference between revisions of "Template:Maldives security forces"

From blackwiki
Jump to navigation Jump to search
imported>Unity-forever
imported>Dunarc
(Category sort order)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Maldives security forces
 
|name = Maldives security forces
|title = Security forces of the [[Maldives]]
+
|title = {{flagicon|Maldives}} Security Forces of the [[Maldives]]
 +
|state    = {{{state|autocollapse}}}
 +
|listclass = hlist
  
|group1 = Ministry of Defence and National Security
+
|group1 = Ministry of Defence
|list1 = [[Maldives National Defence Force]]{{·w}} [[Maldivian Coast Guard|Coast Guard]]{{·w}} [[Special Forces (Maldives)|Special Forces]]{{·w}} [[MNDF Marine Corps|Marine Corps]]
+
|list1 =
 +
* [[Maldives National Defence Force]]
 +
* [[Maldivian Coast Guard|Coast Guard]]
 +
* [[Special Forces (Maldives)|Special Forces]]
 +
* [[MNDF Marine Corps|Marine Corps]]
  
 
|group2 = Ministry of Home Affairs
 
|group2 = Ministry of Home Affairs
|list2 = [[Maldives Police Service]]
+
|list2 =
 +
* [[Maldives Police Service]]
  
 
}}<noinclude>
 
}}<noinclude>
 
+
{{collapsible option}}
[[Category:Maldives templates]]
+
[[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.