Template:Icon

From Quasimorph Wiki
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:
(ammo) Ammo capacity or (bullet) Ammo type

Unlisted:
(ammunition) Incorrect icon name

With custom size:
(ammo) Ammo capacity or (ammo) Ammo capacity

With link and custom tooltip:
(Ammo per shot) Ammo per shot

Available Images

Name Image
accuracy (accuracy) Accuracy
action (action) Attack mode
ammo (ammo) Ammo capacity
armor (armor) Resistance
bullet (bullet) Ammo type
capacity (capacity) Capacity
condition (condition) Condition
critical (critical) Critical chance
dmg (dmg) Damage
dmgbeam (dmgbeam) ARS chance
dmgblunt (dmgblunt) Fracture chance
dmgcold (dmgcold) Frostbite chance
dmgcut (dmgcut) Bleed chance
dmgfire (dmgfire) Burn chance
Name Image
dmgmelee (dmgmelee) Melee Damage
dmgpierce (dmgpierce) Pierce chance
dmgpoison (dmgpoison) Poison chance
dmgshock (dmgshock) Electrocute chance
dodge (dodge) Dodge chance
effect (effect) Special effect
food (food) Fullness
health (health) Health
infection (infection) Infection chance
knock (knock) Knockback chance
pain (pain) Pain threshold limit
price (price) Price
quasi (quasi) Quasimorphosis
quasicd (quasicd) Pact cooldown
Name Image
quasicost (quasicost) Pact cost
range (range) Range
reload (reload) Reload
resbeam (resbeam) Beam dmg resist
resblunt (resblunt) Blunt resist
rescold (rescold) Cold resist
rescut (rescut) Cut resist
resfire (resfire) Fire resist
respierce (respierce) Pierce resist
respoison (respoison) Poison resist
resshock (resshock) Shock resist
scatter (scatter) Scatter
size (size) Slot size
weight (weight) Weight (kg)