Sablon:RoutemapRoute
Megjelenés
Luát használ: |
A template created for use within route diagram templates, in any text cell.
Fields
[szerkesztés]Parameters
[szerkesztés]- 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 | d, dn, down | l, left | r, right | ||||
ur, ne, c1 | lr, se, c2 | ll, sw, c3 | ul, nw, c4 |
Notes
[szerkesztés]- 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.
WikiSyntax | Display |
---|---|
{{RoutemapRoute|L=Left|[[Minehead]]|[[Taunton]]|R=Right}} | ( Minehead – Taunton ) |
{{RoutemapRoute|[[Taunton]]|[[Minehead]]|L=U|R=D}} | ( Taunton – Minehead ) |
{{RoutemapRoute|L=L|[[Minehead]]}} | ( Minehead) |
{{RoutemapRoute|[[Taunton]]|[[Minehead]]}} | (Taunton – Minehead) |
{{RoutemapRoute|L=R|R=L}} | |
Add enclosed=no to suppress brackets: | |
{{RoutemapRoute|[[Taunton]]|R=R|enclosed=no}} | Taunton |
{{RoutemapRoute|R=L|enclosed=no}} | |
[[Taunton]] {{rmri|R}} | Taunton |
{{rmri|L}} |