• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:RoutemapRoute

  • Template
  • Talk
  • Language
  • Watch
  • View source


Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Routemap (sandbox)
Shortcut
  • template:rmrtemplate:rmr

A template created for use within route diagram templates, in any text cell.

Fields

Parameters

  • 1: first text item
  • 2: second text item
    • A dash will be shown between the two text items, provided that both are non-blank; if either or both are blank, the dash is omitted
  • enclosed: when |enclosed=no, brackets are suppressed, otherwise they are shown
  • size: size of both icons, in px (value s = 7)
  • L: icon shown before the text
    • Llink: page which the icon links to
    • Lsize: size of that icon only
  • R: icon shown after the text
    • Rlink: page which the icon links to
    • Rsize: size of that icon only

Icon parameters are position- and case-insensitive. Valid values, and the icons displayed, are as follows (further information at {{rmri}}):

u, up Up arrow d, dn, down Down arrow l, left Left arrow r, right Right arrow
ur, ne, c1 UpperRight arrow lr, se, c2 LowerRight arrow ll, sw, c3 LowerLeft arrow ul, nw, c4 UpperLeft arrow

Notes

  • All parameters are optional.
  • Parameter values (except text and links) are case-insensitive.
  • Parameter order is not important, but where two 'text items' are specified, the first will always be displayed on the left.
  • If the brackets are unneeded, consider using {{rmri}} (or a pair of them) instead of this template.
RoutemapRoute template – Example usage
WikiSyntax Display
  {{RoutemapRoute|L=Left|[[Minehead]]|[[Taunton]]|R=Right}}     (Left arrow Minehead – Taunton Right arrow)  
{{RoutemapRoute|[[Taunton]]|[[Minehead]]|L=U|R=D}} (Up arrow Taunton – Minehead Down arrow)
{{RoutemapRoute|L=L|[[Minehead]]}} (Left arrow Minehead)
{{RoutemapRoute|[[Taunton]]|[[Minehead]]}} (Taunton – Minehead)
{{RoutemapRoute|L=R|R=L}} Right arrow  Left arrow
Add enclosed=no to suppress brackets:
{{RoutemapRoute|[[Taunton]]|R=R|enclosed=no}} Taunton Right arrow
{{RoutemapRoute|R=L|enclosed=no}}  Left arrow
[[Taunton]] {{rmri|R}} Taunton Right arrow
{{rmri|L}} Left arrow
The above documentation is transcluded from Template:RoutemapRoute/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:RoutemapRoute&oldid=732355683"
Last edited on 31 July 2016, at 11:56

Languages

    • Аԥсшәа
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Башҡортса
    • Беларуская
    • Беларуская (тарашкевіца)
    • भोजपुरी
    • Bosanski
    • Dansk
    • فارسی
    • Føroyskt
    • 한국어
    • Hornjoserbsce
    • Bahasa Indonesia
    • Italiano
    • Jawa
    • Kurdî
    • Latviešu
    • Magyar
    • മലയാളം
    • Bahasa Melayu
    • 日本語
    • Нохчийн
    • Олык марий
    • Oʻzbekcha / ўзбекча
    • Русский
    • Scots
    • සිංහල
    • Simple English
    • Svenska
    • தமிழ்
    • Татарча / tatarça
    • తెలుగు
    • ไทย
    • Тоҷикӣ
    • Türkçe
    • Українська
    • Tiếng Việt
    • 粵語
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 31 July 2016, at 11:56 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop