Template:LineRoute: Difference between revisions
Appearance
Initial import of data templates |
fix pipes in infobox |
||
| Line 17: | Line 17: | ||
|Stations={{{stations|}}} | |Stations={{{stations|}}} | ||
}} | }} | ||
=== {{{type|Route}}}{{#if:{{{name|}}}|: {{{name}}}}} === | === {{{type|Route}}}{{#if:{{{name|}}}|<nowiki>:</nowiki> {{{name}}}}} === | ||
{{#if:{{{origin|}}}|'''From''' [[{{{origin}}}]] '''to''' [[{{{destination}}}]]}} | {{#if:{{{origin|}}}|'''From''' [[{{{origin}}}]] '''to''' [[{{{destination}}}]]}} | ||
{{#if:{{{stations|}}}|<br />'''Stops:''' {{#arraymap:{{{stations}}}|;|x|[[x]]| → }}}} | {{#if:{{{stations|}}}|<br />'''Stops:''' {{#arraymap:{{{stations}}}|;|x|[[x]]| → }}}} | ||
</includeonly> | </includeonly> | ||
Latest revision as of 20:27, 13 November 2026
This template defines the table "LineRoutes". View table.
One route of a line. Use several instances on a Line page: Main route, Alternative routes and Depot (garage) runs. stations is a ;-separated, ordered list of station pages. Data table: LineRoutes.