模板:RoutemapRouteIcon/doc
外觀
本文檔係模板:RoutemapRouteIcon嘅Wikipedia:模板文檔子頁面 (見頁自身)。 本頁包含用法信息、分類撈其他非原頁面嘅內容。 |
Sṳ́-yung Lua chhàng-sit: |
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
[kói ngièn-sṳ́-mâ]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;
s
= 7px. Can be entered either as a positive number or inpx
. Default: 10px. - 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
[kói ngièn-sṳ́-mâ]WikiSyntax | Valid values |
Icon produced |
---|---|---|
{{rmri|up}} | u, up | |
{{rmri|down}} | d, dn, down | |
{{rmri|left}} | l, left | |
{{rmri|right}} | r, right | |
{{rmri|ur}} | ur, ne, c1 | |
{{rmri|lr}} | lr, se, c2 | |
{{rmri|ll}} | ll, sw, c3 | |
{{rmri|ul}} | ul, nw, c4 |
WikiSyntax | Result |
---|---|
{{rmri|u}} | |
{{rmri|u||s}} or {{rmri||u}} | |
{{rmri|u||20}} or {{rmri|u||20px}} | |
{{rmri|u|Wikipedia:Example}} |
See also
[kói ngièn-sṳ́-mâ]- {{Pfeil}}