Template:DamageIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Add template data, add link= parameter)
m (Fix category name)
Line 20: Line 20:
Result: Fiery {{DamageIcon|Fire|40}} fire!
Result: Fiery {{DamageIcon|Fire|40}} fire!


[[Category:Damage Info Templates]] [[Category:Icon Templates]]
[[Category:Damage info templates]] [[Category:Icon Templates]]


== Template data ==
== Template data ==

Revision as of 17:09, 10 October 2023

Usage: Fiery {{DamageIcon|Fire}} fire!

Result: Fiery Damage Types fire!


Also supports healing.

Usage: Helpful {{DamageIcon|Healing}} healing!

Result: Helpful healing!


You can make it bigger, too:

Usage: Fiery {{DamageIcon|Fire|40}} fire!

Result: Fiery Damage Types fire!

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
type1

no description

Stringrequired
size2

Sets the icon size.

Numberoptional
linklink

Overrides the link.

Stringoptional