Difference between revisions of "Template:Tab-routes"

From Transit.Wiki
m
m
Line 3: Line 3:
 
<h3>{{{fullname|{{#var:1provider}} {{#var:shownum}}{{{letter|}}}}}}</h3>
 
<h3>{{{fullname|{{#var:1provider}} {{#var:shownum}}{{{letter|}}}}}}</h3>
 
<div class="routeinfo">{{{to|}}}</div>
 
<div class="routeinfo">{{{to|}}}</div>
 +
<div style="padding:1.25em;">[{{{link}}} Map and schedule]</div>
 +
''{{{servicespan|7 days a week. Holiday service varies.}}}''
  
 
+
<div>{{{note|}}}</div>
: [{{{link}}} Map and schedule]
 
 
 
 
 
'''{{{servicespan|7 days a week. Holiday service varies.}}}'''
 
{{{note|}}}
 
 
{{#arraydefine:places|{{{places|}}}|,}}{{#ifeq:{{#arraysize:places}}|0||<h2>Points of interest</h2>|}}
 
{{#arraydefine:places|{{{places|}}}|,}}{{#ifeq:{{#arraysize:places}}|0||<h2>Points of interest</h2>|}}
 
{{#arrayprint:places||$1|<nowiki/>
 
{{#arrayprint:places||$1|<nowiki/>

Revision as of 15:50, 30 November 2018

Another way to input routes in a tab format for smaller systems.

Full list:

{{tab-routes
|provider=
|num=
|letter=
|fullname=
|type=
|pcategory=
|to=
|link=
|servicespan=
|note=
|places=
}}

Places are to be separated by comma.

Minimal list:

{{tab-routes
|num=
|letter=
|to=
|link=
|servicespan=
|places=
}}

Set common provider for all routes on this page through

{{#vardefine:1provider|$1}}