Difference between revisions of "Template:Icon/doc"
From Wildermyth Wiki
FeralKitty (talk | contribs) (Flashcone) |
FeralKitty (talk | contribs) (Added h icons) |
||
| Line 21: | Line 21: | ||
== List of available icons == | == List of available icons == | ||
=== Abilities === | |||
{| class="wikitable" style="width:250px; margin-right:1em" | |||
! colspan="2" | [[Ability|Abilities]] | |||
|- | |||
| flashcone || width=30px | {{icon|flashcone}} | |||
|- | |||
| harvest || {{icon|harvest}} | |||
|- | |||
| heal || {{icon|heal}} | |||
|- | |||
| heroic attack || {{icon|heroic attack}} | |||
|- | |||
| heroism || {{icon|heroism}} | |||
|- | |||
| hook gouge || {{icon|hook gouge}} | |||
|- | |||
| hurlaxe || {{icon|hurlaxe}} | |||
|- | |||
|} | |||
=== Action points === | |||
{| class="wikitable" style="width:250px; margin-right:1em" | {| class="wikitable" style="width:250px; margin-right:1em" | ||
| Line 32: | Line 55: | ||
|- | |- | ||
|} | |} | ||
=== Resources === | |||
{| class="wikitable" style="width:250px; margin-right:1em" | {| class="wikitable" style="width:250px; margin-right:1em" | ||
| Line 38: | Line 63: | ||
| fabric || width=30px | {{icon|fabric}} | | fabric || width=30px | {{icon|fabric}} | ||
|- | |- | ||
| | | heartwood || {{icon|heartwood}} | ||
|- | |- | ||
| | | hide || {{icon|hide}} | ||
|- | |- | ||
|} | |} | ||
Revision as of 05:39, 3 December 2019
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
.
{{Icon|single action, ends turn|32px}} will generate
.
List of available icons
Abilities
| Abilities | |
|---|---|
| flashcone | |
| harvest | |
| heal | |
| heroic attack | |
| heroism | |
| hook gouge | |
| hurlaxe | |
Action points
| Action points | |
|---|---|
| single action | |
| single action, ends turn | |
| swift action | |
Resources
| Resources | |
|---|---|
| fabric | |
| heartwood | |
| hide | |