Difference between revisions of "Template:Constitutions of Germany"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>TRAJAN 117
Line 1: Line 1:
{{navbox
+
{{Navbox
 
| name      = Constitutions of Germany
 
| name      = Constitutions of Germany
| title    = [[Constitution]]s of Germany since 1871
+
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
| state    = {{{state|autocollapse}}}
+
| title    = Constitutions of Germany
| listclass = hlist
+
| bodyclass = hlist
 +
| list1
  
 
| list1 =  
 
| list1 =  
* [[Constitution of the German Empire]] {{small|(1871-1919)}}
+
* [[German Confederation Constitution|Constitution of 1815]]
* [[Weimar Constitution]] {{small|(1919-1945)}}
+
* [[Frankfurt Constitution|Constitution of 1849]]
* [[Basic Law for the Federal Republic of Germany]] {{small|(since 1949)}}
+
* [[North German Constitution|Constitution of 1867]]
| list2 =  
+
* [[Constitution of the German Empire|Constitution of 1871]]
* [[Constitution of East Germany#1949 constitution|1949 Constitution of East Germany]] {{small|(1945-1968)}}
+
* [[Weimar Constitution|Constitution of 1919]]
* [[Constitution of East Germany#1968 constitution|1968 Constitution of East Germany]] {{small|(1968-1990)}}
+
* [[Basic Law for the Federal Republic of Germany|Basic Law of 1949]]
 +
 
 +
{{navbox|child
 +
  | above =
 +
| list2 = '''Constitutions of East Germany'''
 +
* [[Constitution of East Germany#1949 constitution|Constitution of 1949]]
 +
* [[Constitution of East Germany#1968 constitution|Constitution of 1968]]
 +
  }}
 +
| below =
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 01:22, 27 July 2013

Initial visibility: currently defaults to autocollapse

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

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