Difference between revisions of "Template:1stMarDiv"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>FieldMarine
(Format edits.)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|image = [[Image:1st MARDIV 2 insignia.png|50px]]
+
|image = [[File:1st MARDIV 2 insignia.png|50px]]
 
|style = wide
 
|style = wide
  
 
|group1 = [[1st Marine Regiment (United States)|1st Marines]]
 
|group1 = [[1st Marine Regiment (United States)|1st Marines]]
 
|list1 =
 
|list1 =
* [[1st Battalion 1st Marines|1st Battalion]]  
+
* [[1st Battalion, 1st Marines|1st Battalion]]  
* [[2nd Battalion 1st Marines|2nd Battalion]]  
+
* [[2nd Battalion, 1st Marines|2nd Battalion]]  
* [[3rd Battalion 1st Marines|3rd Battalion]]  
+
* [[3rd Battalion, 1st Marines|3rd Battalion]]  
* [[1st Battalion 4th Marines|1st Battalion, 4th Marines]]
+
* [[1st Battalion, 4th Marines|1st Battalion, 4th Marines]]
  
 
|group2 = [[5th Marine Regiment (United States)|5th Marines]]
 
|group2 = [[5th Marine Regiment (United States)|5th Marines]]
 
|list2 =
 
|list2 =
* [[1st Battalion 5th Marines|1st Battalion]]  
+
* [[1st Battalion, 5th Marines|1st Battalion]]  
* [[2nd Battalion 5th Marines|2nd Battalion]]  
+
* [[2nd Battalion, 5th Marines|2nd Battalion]]  
* [[3rd Battalion 5th Marines|3rd Battalion]]  
+
* [[3rd Battalion, 5th Marines|3rd Battalion]]  
* [[2nd Battalion 4th Marines|2nd Battalion, 4th Marines]]
+
* [[2nd Battalion, 4th Marines|2nd Battalion, 4th Marines]]
  
 
|group3 = [[7th Marine Regiment (United States)|7th Marines]]
 
|group3 = [[7th Marine Regiment (United States)|7th Marines]]
 
|list3 =
 
|list3 =
* [[1st Battalion 7th Marines|1st Battalion]]  
+
* [[1st Battalion, 7th Marines|1st Battalion]]  
* [[2nd Battalion 7th Marines|2nd Battalion]]  
+
* [[2nd Battalion, 7th Marines|2nd Battalion]]  
* [[3rd Battalion 7th Marines|3rd Battalion]]  
+
* [[3rd Battalion, 7th Marines|3rd Battalion]]  
* [[3rd Battalion 4th Marines|3rd Battalion, 4th Marines]]
+
* [[3rd Battalion, 4th Marines|3rd Battalion, 4th Marines]]
  
 
|group4= [[11th Marine Regiment (United States)|11th Marines]]
 
|group4= [[11th Marine Regiment (United States)|11th Marines]]
 
|list4 =
 
|list4 =
* [[1st Battalion 11th Marines|1st Battalion]]  
+
* [[1st Battalion, 11th Marines|1st Battalion]]  
* [[2nd Battalion 11th Marines|2nd Battalion]]  
+
* [[2nd Battalion, 11th Marines|2nd Battalion]]  
* [[3rd Battalion 11th Marines|3rd Battalion]]  
+
* [[3rd Battalion, 11th Marines|3rd Battalion]]  
* [[5th Battalion 11th Marines|5th Battalion]]
+
* [[5th Battalion, 11th Marines|5th Battalion]]
  
 
|group5 = Other Battalions
 
|group5 = Other Battalions

Revision as of 11:03, 15 March 2017

Initial visibility: currently defaults to autocollapse

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

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