Difference between revisions of "Template:First World War treaties"

From blackwiki
Jump to navigation Jump to search
imported>Micga~enwiki
m
Line 8: Line 8:
 
  {{Navbox |child |listclass=hlist
 
  {{Navbox |child |listclass=hlist
 
   |groupstyle=width:12.5em;background:#ddf;text-align:left; |liststyle=width:auto;
 
   |groupstyle=width:12.5em;background:#ddf;text-align:left; |liststyle=width:auto;
   |group1 = During
+
   |group1 = During the war
 
   |list1 =
 
   |list1 =
 
* [[Sykes–Picot Agreement|Sykes–Picot]]
 
* [[Sykes–Picot Agreement|Sykes–Picot]]
Line 16: Line 16:
 
* [[Treaty of London (1915)|London]]
 
* [[Treaty of London (1915)|London]]
 
* [[Treaty of Brest-Litovsk|Brest-Litovsk]]
 
* [[Treaty of Brest-Litovsk|Brest-Litovsk]]
* [[Treaty of Brest-Litovsk (Ukraine – Central Powers)|Ukraine]]
+
* [[Treaty of Brest-Litovsk (Ukraine–Central Powers)|Ukraine]]
 
* [[Treaty of Batum|Batum]]
 
* [[Treaty of Batum|Batum]]
 
  }}
 
  }}

Revision as of 12:47, 19 November 2014

Initial visibility: currently defaults to autocollapse

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

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