Template:Icon
Jump to navigation
Jump to search
Display an icon and links to the corresponding wiki page.
Templates used by this template:
- {{Template:DE:Icon}}
- {{Template:ES:Icon}}
- {{Template:FR:Icon}}
- {{Template:JA:Icon}}
- {{Template:RU:Icon}}
- {{Ca:Icon}}
- {{Cs:Icon}}
- {{Fa:Icon}}
- {{Hu:Icon}}
- {{Pl:Icon}}
- {{Pt:Icon}}
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 |
See test cases for all supported languages
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 |
See also
Shortcuts
- {{IconNode}}
- {{IconWay}}
- {{IconClosedway}}
- {{IconArea}}
- {{IconRelation}}
- {{IconAll}}
- {{IconMember}}
- {{IconRole}}
- {{IconTag}}
- {{IconKey}}
- {{IconValue}}