Difference between revisions of "Template:FLMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(use listclass = hlist in navbox as per WP:HLIST and fix images stretching group labels)
imported>Garuda28
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = FLMilitary
 
| name  = FLMilitary
| title = Current [[military installations]] of [[Florida]]
+
| title = Current [[military installations]] in [[Florida]]
 
| listclass = hlist
 
| listclass = hlist
| image = [[Image:Flag of Florida.svg|85px]]
+
| image = [[File:Flag of Florida.svg|85px]]
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| style = wide
 
| style = wide
  
 
| group3 = [[United States Navy|Navy]]
 
| group3 = [[United States Navy|Navy]]
| list3  = {{Navbox|child
+
| list3  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = Air Station
 
  | group1 = Air Station
 
  | list1 =
 
  | list1 =
Line 21: Line 20:
 
  | group3 = Outlying Field
 
  | group3 = Outlying Field
 
  | list3 =
 
  | list3 =
* [[Outlying Field Choctaw|Choctaw]]  
+
* [[Naval Outlying Landing Field Choctaw|Choctaw]]  
 +
* Harold
 
* Holley  
 
* Holley  
 
* Pace  
 
* Pace  
* [[Naval Outlying Field Santa Rosa|Santa Rosa]]  
+
* [[Naval Outlying Landing Field Santa Rosa|Santa Rosa]]  
 
* [[Saufley Field]]  
 
* [[Saufley Field]]  
* [[Naval Outlying Field Spencer|Spencer]]  
+
* [[Naval Outlying Landing Field Spencer|Spencer]]  
 
* Whitehouse
 
* Whitehouse
 
  | group4 = Support Activity
 
  | group4 = Support Activity
Line 38: Line 38:
  
 
| group4 = [[United States Air Force|Air Force]]
 
| group4 = [[United States Air Force|Air Force]]
| list4  = {{Navbox|child
+
| list4  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = [[Air Force Base]]
 
  | group1 = [[Air Force Base]]
 
  | list1  =  
 
  | list1  =  
 
* [[Eglin Air Force Base|Eglin]]  
 
* [[Eglin Air Force Base|Eglin]]  
* [[Homestead Joint Air Reserve Base|Homestead]]  
+
* [[Homestead Air Reserve Base|Homestead]]  
 
* [[MacDill Air Force Base|MacDill]]  
 
* [[MacDill Air Force Base|MacDill]]  
* [[Patrick Air Force Base|Patrick]]
 
 
* [[Tyndall Air Force Base|Tyndall]]
 
* [[Tyndall Air Force Base|Tyndall]]
 
  | group2 = Field
 
  | group2 = Field
Line 53: Line 51:
 
  | group3 = [[Military base|Station]]
 
  | group3 = [[Military base|Station]]
 
  | list3 =  
 
  | list3 =  
* [[Cape Canaveral Air Force Station|Cape Canaveral]]
 
 
* Cudjoe Key
 
* Cudjoe Key
 
  | group4 = Range
 
  | group4 = Range
Line 60: Line 57:
 
}}
 
}}
  
| group5 = [[National Guard of the United States|National Guard]]
+
| group5 = [[United States Space Force|Space Force]]
| list5 = {{Navbox|child
+
| list5  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
+
| group1 = Space Force Base
 +
| list1  =
 +
* [[Patrick Space Force Base|Patrick]]
 +
| group2 = [[Military base|Station]]
 +
| list2 =
 +
* [[Cape Canaveral Space Force Station|Cape Canaveral]]
 +
}}
 +
 
 +
 
 +
| group6 = [[National Guard of the United States|National Guard]]
 +
| list6 = {{Military navigation|border=child|style=wide
 
  | group1 = [[Florida Army National Guard|Army]]
 
  | group1 = [[Florida Army National Guard|Army]]
 
  | list1 =
 
  | list1 =
Line 71: Line 78:
 
}}
 
}}
  
| group6 = [[United States Coast Guard|Coast Guard]]
+
| group7 = [[United States Coast Guard|Coast Guard]]
| list6 = {{Navbox|child
+
| list7 = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = [[United States Coast Guard Air Stations|Air Station]]
 
  | group1 = [[United States Coast Guard Air Stations|Air Station]]
 
  | list1 =
 
  | list1 =
Line 91: Line 97:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:United States military installations by state templates]]
 
[[Category:United States military installations by state templates]]
[[Category:Military facilities in Florida|~]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:11, 12 December 2020

Initial visibility: currently defaults to autocollapse

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

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