Difference between revisions of "Template:Icon/doc"
From Wildermyth Wiki
FeralKitty (talk | contribs) |
FeralKitty (talk | contribs) m (, or 24px, depending on the icon) |
||
| Line 9: | Line 9: | ||
; ''1'' : The first parameter is the identifier for the icon. It has no default value and is always required. | ; ''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. | ; ''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 === | === Syntax === | ||
Revision as of 22:00, 26 November 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
| Action points | |
|---|---|
| single action | |
| single action, ends turn | |
| swift action | |
| Resources | |
|---|---|
| fabric | |