7,292
editsAd placeholder
Template:ResourceHelper: Difference between revisions
Jump to navigation
Jump to search
Updated documentation
(This template will enable using ParseList on resource costs) |
(Updated documentation) |
||
Line 10: | Line 10: | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
=What is this?= | =What is this?= | ||
This is a wrapper around [[Template:Resource]] to work better in conjunction with [[Module:ParseList]]. | This is a wrapper around [[Template:Resource]] to work better in conjunction with [[Module:ParseList]] specifically by [[Template:ResourceList]]. | ||
=Usage= | =Usage= | ||
<pre>{{ | <pre>{{ResourceSimple | [count] <type>}}</pre> | ||
---- | ---- | ||
<br/><code><></code> Denotes mandatory parameters, <code>[]</code> denotes | <br/><code><></code> Denotes mandatory parameters, <code>[]</code> denotes optional parameters. | ||
Refer to [[Template:Resource]] for a list of the handled resource types. | Refer to [[Template:Resource]] for a list of the handled resource types. | ||
Line 31: | Line 31: | ||
| {{#invoke: ParseList | main | action, 3 ki | useTemplate = ResourceSimple }} | | {{#invoke: ParseList | main | action, 3 ki | useTemplate = ResourceSimple }} | ||
| <pre>{{#invoke: ParseList | main | action, 3 ki | useTemplate = ResourceSimple }}</pre> | | <pre>{{#invoke: ParseList | main | action, 3 ki | useTemplate = ResourceSimple }}</pre> | ||
|- | |||
| {{#invoke: ParseList | main | |||
| bonus, 10 movement | useTemplate = ResourceSimple | |||
}} | |||
| <pre> | |||
{{#invoke: ParseList | main | |||
| bonus, 10 movement | useTemplate = ResourceSimple | |||
}} | |||
</pre> | |||
|} | |} | ||
</noinclude> | </noinclude> |