Template:RoutemapRoute

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]
Shortcut:
Template:Rmr

This template is used for transport route-maps. It is part of the 'BS' templates.

Fields[change | change source]

Parameters[change | change source]

Unnamed parameters[change | change source]

  • 1: First text item
  • 2: Second text item
    • If both text items are entered, a dash will be shown between them. If either or both are blank, the dash will be omitted.

Named parameters[change | change source]

  • enclosed: Display brackets (parentheses) around the two text items. Defaults to yes. When |enclosed=no, no brackets will be displayed.
  • Licon: Icon to show before the first text item.
  • Ricon: Icon to show after the second text item.
    • The icon parameters may be placed in any order. Theparameter may be entered in upper or lower case. Valid values, and the icons displayed, are listed below (further information at Template:RoutemapRouteIcon/doc):
u, up Arrow Blue Up 001.svg d, dn, down Arrow Blue Down 001.svg l, left Arrow Blue Left 001.svg r, right Arrow Blue Right 001.svg

Notes[change | change source]

  • All parameters are optional.
  • Parameter values are case-insensitive
  • Parameter order is not important, but where two 'text items' are specified, the first will always be displayed on the left.
RoutemapRoute template – Example usage
WikiSyntax Display
  {{RoutemapRoute|Licon=Left|[[Minehead]]|[[Taunton]]|Ricon=Right}}     (Arrow Blue Left 001.svg Minehead – Taunton Arrow Blue Right 001.svg)  
  {{RoutemapRoute|[[Minehead]]|[[Taunton]]|Licon=Left|Ricon=Right}}     (Arrow Blue Left 001.svg Minehead – Taunton Arrow Blue Right 001.svg)  
{{RoutemapRoute|[[Taunton]]|[[Minehead]]|Licon=U|Ricon=D}} (Arrow Blue Up 001.svg Taunton – Minehead Arrow Blue Down 001.svg)
{{RoutemapRoute|Licon=L|[[Minehead]]||}} (Arrow Blue Left 001.svg Minehead )
{{RoutemapRoute|[[Taunton]]|[[Minehead]]}} Taunton – Minehead )
{{RoutemapRoute|Licon=R|Ricon=L||}} (Arrow Blue Right 001.svg  Arrow Blue Left 001.svg)
Add enclosed=no to suppress brackets:
{{RoutemapRoute|[[Taunton]]|Ricon=R|||enclosed=no}}  Taunton Arrow Blue Right 001.svg
{{RoutemapRoute|Ricon=L|||enclosed=no}}   Arrow Blue Left 001.svg

(  )