Template:Train operating companies in the United Kingdom/doc
This is a documentation subpage for Template:Train operating companies in the United Kingdom. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
edit- Set the
|selected =
option to current, defunct or future as appropriate to expand the section relevant to the article, e.g. {{UK TOCs|state=collapsed|selected=defunct}} (navbar collapsed, but reveals with the Defunct panel already expanded). The default is current.
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:
{{Train operating companies in the United Kingdom|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Train operating companies in the United Kingdom|state=expanded}}
will show the template expanded, i.e. fully visible.