Template:Railway stations served by NI Railways: Difference between revisions
m Fixed the route colours so they pull from the same 'Rail color' template used for station service boxes rather than being isolated hex codes. That way if the route colour ever changes, just one edit to Module:Adjacent_stations/NI_Railways will cover this template as well as all the relevant station/line pages. |
m Added Autocollapse to the template |
||
Line 2: | Line 2: | ||
|name=Railway stations served by NI Railways |
|name=Railway stations served by NI Railways |
||
|title=Railway stations served by [[NI Railways|NI Railways]] {{rint|ni|rail}} |
|title=Railway stations served by [[NI Railways|NI Railways]] {{rint|ni|rail}} |
||
|state= {{{state|autocollapse}}} |
|||
|group1= [[Belfast–Bangor line|Bangor Line]] |
|group1= [[Belfast–Bangor line|Bangor Line]] |
||
|list1= |
|list1= |
Revision as of 15:09, 26 June 2024
![]() | This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{Railway stations served by NI Railways}}
below the standard article appendices.
Initial visibility
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:
{{Railway stations served by NI Railways|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Railway stations served by NI Railways|state=expanded}}
will show the template expanded, i.e. fully visible.
Templates using the classes class=navbox
({{navbox}}) or class=nomobile
({{sidebar}}) are not displayed on the mobile web site of English Wikipedia. Mobile page views account for approximately 66% of all page views (90-day average as of January 2024[update]).
TemplateData
A navigational box that can be placed at the bottom of articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | state | The initial visibility of the navbox
| String | suggested |
Template transclusions
Transclusion maintenance |
---|
Check completeness of transclusions |