Template:ResourceIconList: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Created page with "<includeonly>{{#invoke: ParseList | main | {{{1}}} | useTemplate = ResourceIconHelper | textDelim = <nowiki> + </nowiki> }}</includeonly><noinclude> =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= <pre>{{ResourceIconList | <type>:[count] [, <type>:[count]]}}</pre> ---- <br/><code><></code> Denotes mand...") |
HiddenDragon (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: ParseList | <includeonly>{{#invoke: ParseList | main | {{{1}}} | useTemplate = ResourceIconHelper | textDelim=<nowiki>+ </nowiki>}}</includeonly><noinclude> | ||
}}</includeonly><noinclude> | |||
=What is this?= | =What is this?= | ||
This is a wrapper around [[Template:Resource]] that produces a formatted total resource cost from a list costs. | This is a wrapper around [[Template:Resource]] that produces a formatted total resource cost from a list costs. |
Revision as of 11:03, 22 November 2023
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 |
---|---|
+ | {{ResourceIconList|bonus, movement:30}} |
+ 3 | {{ResourceIconList|action, ki:3}} |
+ + | {{ResourceIconList|action, bonus, level1}} |