Difference between revisions of "Template:Bayern class battleship"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Parsecboy
(update link)
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
* {{SMS|Bayern||2}}
 
* {{SMS|Bayern||2}}
 
* {{SMS|Baden||2}}
 
* {{SMS|Baden||2}}
* ''[[Bayern-class battleship|Sachsen]]''
+
* {{SMS|Sachsen|1916|2}}
* ''[[Bayern-class battleship|Württemberg]]''
+
* {{SMS|Württemberg|1917|2}}
  
 
| list2 =
 
| list2 =
 
* Preceded by: {{sclass-|König|battleship|4}}
 
* Preceded by: {{sclass-|König|battleship|4}}
* Followed by: [[L 20 α class battleship|L 20 α class]]
+
* Followed by: {{sclass2-|L 20e α|battleship|4}} (planned) / {{sclass-|Scharnhorst|battleship|4}} (actual)
  
 
| below =
 
| below =
* '''[[List of battleships of Germany]]'''
+
* [[List of battleships of Germany]]
  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 20:19, 9 March 2018

Initial visibility: currently defaults to autocollapse

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

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