Difference between revisions of "Template:Routeinfo"
Line 1: | Line 1: | ||
; {{#if:{{{num|}}}|[[Rnum::{{{num}}}| ]]|}}{{#if:{{{letter|}}}|[[Rlet::{{{letter}}}| ]]|}} {{#if:{{{name|}}}|[[Rname::{{{name}}}| ]]|}} | ; {{#if:{{{num|}}}|[[Rnum::{{{num}}}| ]]|}}{{#if:{{{letter|}}}|[[Rlet::{{{letter}}}| ]]|}} {{#if:{{{name|}}}|[[Rname::{{{name}}}| ]]|}} | ||
− | {{#if:{{{to|}}}|[[To::{{{to}}}]]|}} | + | {{#if:{{{to|}}}|[[To::{{{to}}}]]|}}<noinclude> |
+ | |||
+ | Put in the following at the beginning of a route page: | ||
+ | |||
+ | <pre>{{Routeinfo | ||
+ | | num = route number | ||
+ | | letter = route letter or suffix | ||
+ | | name = route name if provided | ||
+ | | to = origin - destination | ||
+ | }}</pre> | ||
+ | |||
+ | Only origin/destination will be shown. | ||
+ | |||
+ | </noinclude> |
Revision as of 01:48, 1 February 2009
Put in the following at the beginning of a route page:
{{Routeinfo | num = route number | letter = route letter or suffix | name = route name if provided | to = origin - destination }}
Only origin/destination will be shown.