Difference between revisions of "Template:Icon/doc"

From Wildermyth Wiki
(Added h icons)
(Added i icons)
Line 40: Line 40:
|-
|-
| hurlaxe || {{icon|hurlaxe}}
| hurlaxe || {{icon|hurlaxe}}
|-
| ignite || {{icon|ignite}}
|-
| improvised fireball || {{icon|improvised fireball}}
|-
| interfuse || {{icon|interfuse}}
|-
|-
|}
|}
Line 66: Line 72:
|-
|-
| hide || {{icon|hide}}
| hide || {{icon|hide}}
|-
| ingot || {{icon|ingot}}
|-
|-
|}
|}

Revision as of 05:50, 3 December 2019

This is a documentation subpage for Template:Icon.

Usage

This template displays an icon for an identifier. The template uses the following parameters:

1
The first parameter is the identifier for the icon. It has no default value and is always required.
2
The second parameter is the width of the icon. It is optional. The default width is 16px, or 24px, depending on the icon.

Syntax

{{Icon|identifier}}} or {{Icon|identifier|width}}

Examples

{{Icon|single action}} will generate UI DiamondFilled.png.

{{Icon|single action, ends turn|32px}} will generate UI DiamondRed.png.

List of available icons

Abilities

Abilities
flashcone Ability flashcone.png
harvest Ability harvest.png
heal Ability heal.png
heroic attack Ability heroicAttack.png
heroism Ability heroism.png
hook gouge Ability hookGouge.png
hurlaxe Ability hurlaxe.png
ignite Ability ignite.png
improvised fireball Ability improvisedFireball.png
interfuse Ability interfuse.png

Action points

Action points
single action UI DiamondFilled.png
single action, ends turn UI DiamondRed.png
swift action UI DiamondFeather.png

Resources

Resources
fabric ResourceIcon fabric.png
heartwood ResourceIcon heartwood.png
hide ResourceIcon hides.png
ingot ResourceIcon ingots.png