Difference between revisions of "Template:Routeinfoall"

From Transit.Wiki
m
Line 1: Line 1:
; {{{num|}}}{{{letter|}}} {{{name|}}}{{#set:rnum={{{num|0}}}|rlet={{{letter|'}}}|rfull={{{fullname|{{PAGENAME}}}}}|rtype={{{type|bus}}}}}
+
; {{{num|}}}{{{letter|}}} {{{name|}}}{{#set:rnum={{{num|0}}}|rlet={{{letter|'}}}|rfull={{{fullname|{{PAGENAME}}}}}|rtype={{{type|bus}}}|provider={{{provider|}}}}}{{#description2:{{{fullname|{{PAGENAME}}}}} - {{{to}}}. Schedule and map links. {{#show:{{PAGENAME}}|?servicespan}} Destinations include {{#show:{{PAGENAME}}|?place|link=none}}}}
{{#if:{{{to|}}}|[[To::{{{to}}}]]|}}{{#description2:{{{fullname|{{PAGENAME}}}}} - {{{to}}}. Schedule and map links. {{#show:{{PAGENAME}}|?servicespan}} Destinations include {{#show:{{PAGENAME}}|?place|link=none}}}}<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:
  
 
<pre>{{Routeinfoall
 
<pre>{{Routeinfoall
 +
| provider = agency or company offering service
 
| num = route number
 
| num = route number
 
| letter = route letter or suffix
 
| letter = route letter or suffix

Revision as of 12:43, 11 September 2018

Put in the following at the beginning of a route page:

{{Routeinfoall
| provider = agency or company offering service
| num = route number
| letter = route letter or suffix
| name = route name if provided
| fullname = full name of route (optional)
| type = mode or service type (default is bus)
| to = origin - destination
}}

The route number, letter, name, and origin/destination will be shown.