Difference between revisions of "Template:Tab-routes"

From Transit.Wiki
m
m
Line 20: Line 20:
 
|@category={{{pcategory|{{#var:1provider}} routes}}}
 
|@category={{{pcategory|{{#var:1provider}} routes}}}
 
|place={{{places|}}}|+sep={{{altsep|,}}}
 
|place={{{places|}}}|+sep={{{altsep|,}}}
 +
|connector={{{connectors|}}}|+sep={{{altsep|,}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
Another way to input routes in a tab format for smaller systems.
 
Another way to input routes in a tab format for smaller systems.
Line 38: Line 39:
 
|note=
 
|note=
 
|places=
 
|places=
 +
|connectors=
 
}}
 
}}
 
</pre></div>
 
</pre></div>

Revision as of 03:29, 27 May 2019

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

Full list:

{{tab-routes
|provider=
|num= (remove entire line if not needed)
|alpha= (remove entire line if not needed)
|letter= (remove entire line if not needed)
|fullname=
|type=
|pcategory=
|to=
|link=
|servicespan=
|note=
|places=
|connectors=
}}

Places are to be separated by comma.

Use |altsep= for alternate separator like ";" since some page names include comma.

Minimal list:

{{tab-routes
|num= (remove entire line if not needed)
|letter= (remove entire line if not needed)
|to=
|link=
|servicespan=
|places=
}}

Set common provider for all routes on this page through

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