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:
{{Historical Scottish railway companies|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
{{Historical Scottish railway companies|state=expanded}} will show the template expanded, i.e. fully visible.
Template documentation
Notes
This template shows railway companies that existed before the Grouping of 1923 and had some rail operating within Scotland.