Difference between revisions of "Template:Lebanese Armed Forces"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Updates following move (including raw_name, Navbox with collapsible sections), state handling/Documentation)
imported>Sundostund
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Military navigation
 
{{Military navigation
| style = wide
+
|name= Lebanese Armed Forces
 
| raw_name = Lebanese Armed Forces
 
| raw_name = Lebanese Armed Forces
| state = {{{state|<noinclude>expanded</noinclude>}}}
+
|style= wide
| title = [[File:lafflagnologo.png|alt=Flag of the Lebanese Armed Forces]] [[Lebanese Armed Forces]]
+
|title= {{flagicon image|Flag of the Lebanese Army.svg}} [[Lebanese Armed Forces]]
| listclass = hlist
+
|state=collapsed
 +
|bodyclass= hlist
  
 
| list1 =
 
| list1 =
Line 12: Line 13:
  
 
   | content1 =
 
   | content1 =
   {{Navbox |child |groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
   {{Military navigation|border=child|style=wide
 
     | group1 = Organization
 
     | group1 = Organization
 
     | list1 =
 
     | list1 =
Line 21: Line 22:
 
* [[Lebanese Special Operations Command|Special Operations Command]]
 
* [[Lebanese Special Operations Command|Special Operations Command]]
 
* [[Lebanese Armed Forces#Military ranks|Ranks]]
 
* [[Lebanese Armed Forces#Military ranks|Ranks]]
** [[Commanders of the Lebanese Armed Forces|Commanders]]
+
** [[Commander of the Lebanese Armed Forces|Commanders]]
 
     | group2 = {{hlist|History|Operations}}
 
     | group2 = {{hlist|History|Operations}}
 
     | list2 =
 
     | list2 =
Line 56: Line 57:
 
   | section2 = Bases
 
   | section2 = Bases
 
   | content2 =
 
   | content2 =
   {{Navbox |child |groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
   {{Military navigation|border=child|style=wide
 
     | group1 = Army {{nobold|by<br/>region}}
 
     | group1 = Army {{nobold|by<br/>region}}
 
     | list1 =
 
     | list1 =
     {{Navbox |child |groupstyle={{WPMILHIST Infobox style|nav_box_label}};font-weight:normal;
+
     {{Military navigation|border=child|style=wide |groupstyle=font-weight:normal;
 
       | group1 = Beirut
 
       | group1 = Beirut
 
       | list1 =
 
       | list1 =
Line 97: Line 98:
 
[[Category:Lebanon military templates]]
 
[[Category:Lebanon military templates]]
  
[[de:Vorlage:Navigationsleiste Streitkräfte des Libanon]]
 
 
}}<!--(end Documentation)-->
 
}}<!--(end Documentation)-->
 
</noinclude>
 
</noinclude>

Latest revision as of 05:32, 12 September 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

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

Collapsible group/section
If, by default, this template's collapsible group/section is hidden ("collapsed") when the template is shown, use {{Lebanese Armed Forces |bases}} to set it to be visible ("expanded", "uncollapsed").