Template:ResourceHelper

From bg3.wiki
Revision as of 00:58, 14 November 2023 by NtCarlson (talk | contribs) (This template will enable using ParseList on resource 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 to work better in conjunction with Module:ParseList.

Usage

{{Resource | [count] <type>}}


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

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

Examples

Output Input
Ki Point
{{ResourceSimple|ki}}
5Ki Points
{{ResourceSimple|5 ki}}
(ERROR: Use movement m or movement ft.)Movement
{{ResourceSimple|30 movement}}
Action, and 3Ki Points
{{#invoke: ParseList | main | action, 3 ki | useTemplate = ResourceSimple }}