Template:ResourceList: Difference between revisions
Jump to navigation
Jump to search
(Changed the input format to "type:count" instead of "count type") |
(Fix to use new movement cost syntax.) |
||
Line 21: | Line 21: | ||
! Input | ! Input | ||
|- | |- | ||
|{{ResourceList|bonus, movement: | |{{ResourceList|bonus, movement m:9}}||<pre>{{ResourceList|bonus, movement m:9}}</pre> | ||
|- | |- | ||
|{{ResourceList|action, ki:3}}||<pre>{{ResourceList|action, ki:3}}</pre> | |{{ResourceList|action, ki:3}}||<pre>{{ResourceList|action, ki:3}}</pre> |
Revision as of 04:45, 8 April 2024
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
{{ResourceList | <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 |
---|---|
Bonus action + 9 m / 30 ftMovement | {{ResourceList|bonus, movement m:9}} |
Action + 3Ki Points | {{ResourceList|action, ki:3}} |
Action + Bonus action + Level 1 Spell Slot | {{ResourceList|action, bonus, level1}} |