Template:RoutemapRoute

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

Parameters

Unnamed parameters

  • 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

  • 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 10px d, dn, down 10px l, left 10px r, right 10px

Notes

  • 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}}     (10px Minehead – Taunton 10px)  
  {{RoutemapRoute|[[Minehead]]|[[Taunton]]|Licon=Left|Ricon=Right}}     (10px Minehead – Taunton 10px)  
{{RoutemapRoute|[[Taunton]]|[[Minehead]]|Licon=U|Ricon=D}} (10px Taunton – Minehead 10px)
{{RoutemapRoute|Licon=L|[[Minehead]]||}} (10px Minehead Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value).)
{{RoutemapRoute|[[Taunton]]|[[Minehead]]}} (Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value). Taunton – Minehead Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value).)
{{RoutemapRoute|Licon=R|Ricon=L||}} (10px  10px)
Add enclosed=no to suppress brackets:
{{RoutemapRoute|[[Taunton]]|Ricon=R|||enclosed=no}} Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value). Taunton 10px
{{RoutemapRoute|Ricon=L|||enclosed=no}} Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value).  10px

(Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value).  Lua error in Module:Routemap at line 1055: attempt to index local 'd' (a nil value).)