Difference between revisions of "Template:Icon/doc"

From Wildermyth Wiki
(Action point icons (no icon for free action))
 
Line 30: Line 30:
|-
|-
| swift action || {{icon|swift action}}
| swift action || {{icon|swift action}}
|-
|}
{| class="wikitable" style="width:250px; margin-right:1em"
! colspan="2" | [[Resource]]s
|-
| fabric || width=30px | {{icon|fabric}}
|-
|-
|}
|}

Revision as of 21:56, 26 November 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.

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

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