Template:Icon/doc
Template:Documentationpage Template for displaying small icons.
Usage
{{icon|name of icon}}
Parameters
<unnamed 1>
- Which icon should be displayed.
<unnamed 2> (optional)
- Specifies size of the icon (defaults to height of 16px). Can either be set to one of the presets below or directly given as a px value (same syntax as for setting image size of a normal file link).
- The presets are:
- "small": Icons will be displayed at a height appropriate for tables, navboxes and infoboxes (12px).
- "medium"/"normal": Icons will be displayed at 16px height.
- "big": Icons will be displayed at 20px height.
tooltip (optional)
- Tooltip text displayed when hovering over the icon. Overrides the icon's default text.
Available icons
Name of option | Resulting icon |
---|---|
triangle | |
square | |
x | |
circle | |
dpad | |
u | |
r | |
d | |
l | |
l1 | |
l2 | |
l3 | |
r1 | |
r2 | |
r3 | |
start | start |
select | select |
lstick | |
rstick | |
optional | optional |
required | required |
semi-required | semi-required |