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 Up arrow d, dn, down Down arrow l, left Left arrow r, right Right arrow

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

(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).)