Difference between revisions of "Template:Routeinfo"
m |
|||
Line 1: | Line 1: | ||
− | {{#set:rnum={{{num|0}}}|rlet={{{letter|'}}}|rfull={{{fullname|{{PAGENAME}}}}}}}{{#description2:{{{fullname|{{PAGENAME}}}}} - {{{to}}}. Schedule and map links. {{#show:{{PAGENAME}}|?servicespan}} Destinations include {{#show:{{PAGENAME}}|?place|link=none|outro=.|default=..}}}} | + | {{#set:rnum={{{num|0}}}|rlet={{{letter|'}}}|rfull={{{fullname|{{PAGENAME}}}}}|rtype={{{type|bus}}}}}{{#description2:{{{fullname|{{PAGENAME}}}}} - {{{to}}}. Schedule and map links. {{#show:{{PAGENAME}}|?servicespan}} Destinations include {{#show:{{PAGENAME}}|?place|link=none|outro=.|default=..}}}} |
<div class="routeinfo">{{#if:{{{to|}}}|[[To::{{{to}}}]]|}}</div><noinclude> | <div class="routeinfo">{{#if:{{{to|}}}|[[To::{{{to}}}]]|}}</div><noinclude> | ||
Line 8: | Line 8: | ||
| letter = route letter or suffix | | letter = route letter or suffix | ||
| fullname = full name of route (optional) | | fullname = full name of route (optional) | ||
+ | | type = mode or service type (default is bus) | ||
| to = origin - destination | | to = origin - destination | ||
}}</pre> | }}</pre> |
Revision as of 16:33, 10 April 2018
Put in the following at the beginning of a route page:
{{Routeinfo | num = route number | letter = route letter or suffix | fullname = full name of route (optional) | type = mode or service type (default is bus) | to = origin - destination }}
Only origin/destination will be shown.