Template:ResourceIconHelper

From bg3.wiki
Revision as of 04:44, 8 April 2024 by Taylan (talk | contribs) (Fix to use new movement cost syntax.)
(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 specifically by Template:ResourceIconList.

Optional parameters like cost=3 do not work when applying a template to a list with ParseList, so this template enables an alternative syntax that can be used with ParseList.

Usage

{{ResourceIconHelper | <type>:[count]}}


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

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

Examples

Output Input
{{ResourceIconHelper|rage}}
5
{{ResourceIconHelper|ki:5}}
9 m / 30 ft
{{ResourceIconHelper|movement m:9}}