మూస:RoutemapRouteIcon/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

Sub-template for use with the {{RoutemapRoute}} template, but may be used directly.

  • Parameter is case-insensitive
  • Missing/unrecognised parameter displays no icon
  • Optional parameter 2 wikilinks the icon
  • Optional parameter 3 changes the icon size:
    • either enter the icon size explicitly, e.g. 8px;
    • or enter “s” (= small) for 7px.
    • Default icon size is 10px
  • Template can be abbreviated as {{rmri}}
WikiSyntax Valid
values
Icon
produced
{{RoutemapRouteIcon|up}} u, up
{{RoutemapRouteIcon|down}} d, dn, down
{{RoutemapRouteIcon|left}} l, left
{{RoutemapRouteIcon|right}} r, right
{{RoutemapRouteIcon|ur}} ur, ne, c1
{{RoutemapRouteIcon|lr}} lr, se, c2
{{RoutemapRouteIcon|ll}} ll, sw, c3
{{RoutemapRouteIcon|ul}} ul, nw, c4
WikiSyntax Result
{{rmri|u}}
{{RoutemapRouteIcon|r||s}}
{{RoutemapRouteIcon|r||8px}}
{{rmri|d|Template:Proposed extention}}