Template:Icon
Jump to navigation
Jump to search
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Icon/doc to edit this documentation. (How does this work?) |
Usage
Template for displaying small icons.
Syntax
{{Icon|<name>|<size>|<link>|<tooltip>}}
Parameter
Parameter | Description |
---|---|
name |
Which icon should be displayed. See table below. |
size |
Specifies the size of the icon. Can either be set to one of the presets below or directly given as a px value (same syntax as for setting the image size of a normal file link). |
link |
Page the icon should link to (without enclosing «[[]]»). If tooltip is not specified, this is also used as the tooltip text. |
tooltip |
Tooltip text is displayed when hovering over the icon. Overrides the icon's default text. |
Sample
Input
Normal:
{{Icon|ammo}} or {{Icon|bullet}}
Unlisted:
{{Icon|ammunition}}
With custom size:
{{Icon|ammo|small}} or {{Icon|ammo|33px}}
With link and custom tooltip:
{{Icon|ammo|link=Ammunitions|tooltip=Ammo per shot}}
Output
Normal:
or
Unlisted:
With custom size:
or
With link and custom tooltip:
Available Images
Name | Image |
---|---|
accuracy | |
action | |
ammo | |
armor | |
bullet | |
capacity | |
condition | |
critical | |
dmg | |
dmgbeam | |
dmgblunt | |
dmgcold | |
dmgcut | |
dmgfire |
Name | Image |
---|---|
dmgmelee | |
dmgpierce | |
dmgpoison | |
dmgshock | |
dodge | |
effect | |
food | |
health | |
infection | |
knock | |
pain | |
price | |
quasi | |
quasicd |
Name | Image |
---|---|
quasicost | |
range | |
reload | |
resbeam | |
resblunt | |
rescold | |
rescut | |
resfire | |
respierce | |
respoison | |
resshock | |
scatter | |
size | |
weight |