Template:Icon
Jump to navigation
Jump to search
Missing parameter |1 = in {{Icon}}.
This documentation is transcluded from Template:Icon/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Display an icon and links to the corresponding wiki page.
If you want to use the icons elsewhere, they are all listed at Category:Element_icon.
Usage
Wikitext | Produces | Description |
---|---|---|
{{Icon|node}} or {{Icon|n}} | ![]() |
node |
{{Icon|node|30px}} or {{Icon|n|30px}} | ![]() |
node (magnified) |
{{Icon|way}} or {{Icon|w}} | ![]() |
way / line |
{{Icon|closedway}} or {{Icon|c}} | ![]() |
closed way / polygon |
{{Icon|area}} or {{Icon|a}} | ![]() |
area |
{{Icon|relation}} or {{Icon|r}} | ![]() |
relation |
{{Icon|all}} or {{Icon|all}} | ![]() |
all elements |
{{Icon|member}} or {{Icon|m}} | ![]() |
member |
{{Icon|role}} or {{Icon|o}} | ![]() |
role |
{{Icon|tag}} or {{Icon|t}} | ![]() |
tag |
{{Icon|key}} or {{Icon|k}} | ![]() |
key |
{{Icon|value}} or {{Icon|v}} | ![]() |
value |
This template display an icon and links to the corresponding wiki page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon identifier | 1 | Identifier of which icon to use.
| Line | required |
Icon size | 2 | The size of the icon to be rendered
| String | optional |
language of linked page | lang | Manually specify language of page where template should link to.
| Line | optional |
Icon description | desc | Description visible when pointing mouse over icon. | Content | optional |