Jump to content

Template:LineRoute: Difference between revisions

From SIMT Wiki
Admin (talk | contribs)
Initial import of data templates
 
Admin (talk | contribs)
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]]|&#32;→&#32;}}}}
{{#if:{{{stations|}}}|<br />'''Stops:''' {{#arraymap:{{{stations}}}|;|x|[[x]]|&#32;→&#32;}}}}
</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.