This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Pennsylvania railroads|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Pennsylvania railroads|state=expanded}}
will show the template expanded, i.e. fully visible.
TemplateData
editTemplateData for Pennsylvania railroads
This template displays a navigation box containing links to articles about railroads in Pennsylvania.
Parameter | Description | Type | Status | |
---|---|---|---|---|
state | state | This parameter may be used to set the template's initial visibility: if "collapsed" the content is hidden and only the title bar is visible (with [show] link), if "expanded" the content and title bar are fully visible (with [hide] link), and if "autocollapse" the template is collapsed when the page contains other collapsible items.
| String | optional |