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

Template:RoutemapRouteIcon/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:RoutemapRouteIcon


This is the template sandbox page for Template:RoutemapRouteIcon (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 4,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:Routemap (sandbox)
Shortcut
  • template:rmritemplate:rmri

Sub-template for use with the {{RoutemapRoute}} template, but may be used directly. Generates a blue arrow image pointing in one of eight directions. This template's name can be abbreviated as {{rmri}}.

Parameters

edit

All parameters are numbered.

  • 1: Icon name (see below for valid values); parameter is case-insensitive.
  • 2: Page which the arrow image links to. Default: no link.
  • 3: Image size in pixels; s = 7. Default: 10. Do not enter "px".
  • If parameter 1 is empty, then the size of the arrow image becomes 7px. Icon name and link are entered instead in parameters 2 and 3 respectively.

Examples

edit
WikiSyntax Valid
values
Icon
produced
{{rmri|up}} u, up Up arrow
{{rmri|down}} d, dn, down Down arrow
{{rmri|left}} l, left Left arrow
{{rmri|right}} r, right Right arrow
{{rmri|ur}} ur, ne, c1 UpperRight arrow
{{rmri|lr}} lr, se, c2 LowerRight arrow
{{rmri|ll}} ll, sw, c3 LowerLeft arrow
{{rmri|ul}} ul, nw, c4 UpperLeft arrow
WikiSyntax Result
{{rmri|u}} Up arrow
{{rmri|u||s}} or {{rmri||u}} Up arrow
{{rmri|u||20}} or {{rmri|u||20px}} Up arrow
{{rmri|u|Wikipedia:Example}} Up arrow

See also

edit
  • {{Arrow2}}
The above documentation is transcluded from Template:RoutemapRouteIcon/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:RoutemapRouteIcon/sandbox&oldid=729460791"
Last edited on 12 July 2016, at 10:15

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 12 July 2016, at 10:15 (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