Template:ResourceIconHelper
Jump to navigation
Jump to search
![]() | This template is considered deprecated and its use in new pages should be avoided. This is a sub-template of deprecated template {{ResourceIconList}}.
Alternatives: {{Resource}} with the icons only = yes option. |
Template documentation
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
Markup | Renders as |
---|---|
{{ResourceIconHelper|rage}} | ![]() |
{{ResourceIconHelper|ki:5}} | 5 ![]() |
{{ResourceIconHelper|movement m:9}} | ![]() |