Difference between revisions of "Template:Routeinfo"

From Transit.Wiki
m
Line 1: Line 1:
; {{#set:rnum={{{num|0}}}|rlet={{{letter|'}}}|rfull={{{fullname|{{PAGENAME}}}}}}}
+
{{#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=..}}}}
{{#if:{{{to|}}}|[[To::{{{to}}}]]|}}{{#description2:{{{fullname|{{PAGENAME}}}}} - {{{to}}}. Schedule and map links. {{#show:{{PAGENAME}}|?servicespan}} Destinations include {{#show:{{PAGENAME}}|?place|link=none|outro=.|default=..}}}}<noinclude>
+
<div class="routeinfo">{{#if:{{{to|}}}|[[To::{{{to}}}]]|}}</div><noinclude>
  
 
Put in the following at the beginning of a route page:
 
Put in the following at the beginning of a route page:

Revision as of 17:24, 16 February 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)
| to = origin - destination
}}

Only origin/destination will be shown.