Template:ResourceList

From bg3.wiki
Revision as of 01:56, 14 November 2023 by NtCarlson (talk | contribs) (Template to nicely handle resource cost for actions with multiple costs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 | [count] <type> [, [count] <type>]}}


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

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

Examples

Output Input
Bonus action + 30 movement
{{ResourceList|bonus, 30 movement}}
Action + 3 ki
{{ResourceList|action, 3 ki}}
Action + Bonus action + Level 1 Spell Slot
{{ResourceList|action, bonus, level1}}