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

Template:ResourceList

Template page
Revision as of 02:51, 14 November 2023 by NtCarlson (talk | contribs) (Changed the input format to "type:count" instead of "count type")

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 + (ERROR: Use movement m or movement ft.)Movement
{{ResourceList|bonus, movement:30}}
Action + 3Ki Points
{{ResourceList|action, ki:3}}
Action + Bonus action + Level 1 Spell Slot
{{ResourceList|action, bonus, level1}}