Difference between revisions of "Template:Gettysburg Campaign"

From blackwiki
Jump to navigation Jump to search
imported>FDRMRZUSA
imported>WOSlinker
(Military navigation|border=child|style=wide)
Line 8: Line 8:
 
| group1 = [[Military engagement|Engagements]]
 
| group1 = [[Military engagement|Engagements]]
 
| list1  =
 
| list1  =
   {{navbox subgroup
+
   {{Military navigation|border=child|style=wide
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
   |  list1  =
 
   |  list1  =
 
* [[Battle of Brandy Station|Brandy Station]]
 
* [[Battle of Brandy Station|Brandy Station]]
Line 23: Line 22:
  
 
   |  list2  =
 
   |  list2  =
     {{navbox subgroup
+
     {{Military navigation|border=child|style=wide
 
     | evenodd = swap
 
     | evenodd = swap
     | groupstyle = width: 6.0em; {{WPMILHIST Infobox style|nav_box_label}} font-weight:normal;
+
     | groupstyle = width: 6.0em; font-weight:normal;
 
     |  liststyle = width: auto;
 
     |  liststyle = width: auto;
 
     | group1 = [[Battle of Gettysburg|Gettysburg]]
 
     | group1 = [[Battle of Gettysburg|Gettysburg]]

Revision as of 09:33, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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