Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:RoutemapRouteIcon/doc: Difference between revisions

Template page
wikipeida>Tom.Reding
m →‎top: {{High-use}}
 
m 1 revision imported
 
(No difference)

Latest revision as of 11:57, 2 September 2024

Shortcut:

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

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

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