Difference between revisions of "Template:Subroute"

From Transit.Wiki
m
m
 
Line 24: Line 24:
 
{{#arrayprint:buses||$1|<nowiki/>
 
{{#arrayprint:buses||$1|<nowiki/>
 
* [[$1]]}}{{#arraydefine:busways|{{{busways|}}}|{{{altsep|,}}}}}{{#ifeq:{{#arraysize:busways}}|0||<h2>{{{busway name|}}}</h2>|}}
 
* [[$1]]}}{{#arraydefine:busways|{{{busways|}}}|{{{altsep|,}}}}}{{#ifeq:{{#arraysize:busways}}|0||<h2>{{{busway name|}}}</h2>|}}
 +
{{#arrayprint:busways||$1|<nowiki/>
 +
* [[$1]]}}
 
}}
 
}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Latest revision as of 12:53, 20 January 2020

Standard:

{{subroute
|subname=
|to=
|places=
}}
Places are separated by comma.

Full:

{{subroute
|hidden= (y or omitted/blank - nothing to show if y)
|subname=
|prefix=
|num=
|letter=
|fullname=
|to=
|servicespan=
|places=
|buses=
|busways=
|busway name=
}}
Places are separated by comma.