Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ResourceIconList

Template page
Revision as of 04:45, 8 April 2024 by Taylan (talk | contribs) (Fix to use new movement cost syntax.)

What is this?

This is a wrapper around Template:Resource that produces a formatted total resource cost from a list costs.

This is intended for use in Template:Action_Page and similar.

Usage

{{ResourceIconList | <type>:[count] [, <type>:[count]]}}


<> Denotes mandatory parameters, [] denotes optional parameters.

Refer to Template:Resource for a list of the handled resource types.

+

Examples

Output Input
+ 9 m / 30 ft
{{ResourceIconList|bonus, movement m:9}}
+ 3
{{ResourceIconList|action, ki:3}}
+ +
{{ResourceIconList|action, bonus, level1}}