Template:ResourceHelper: Difference between revisions

Jump to navigation Jump to search
(Use lvar for locally scoped variables instead)
No edit summary
Line 7: Line 7:
   | {{resource|{{#lvar: type}}|count={{#lvar: count}}}}
   | {{resource|{{#lvar: type}}|count={{#lvar: count}}}}
   | {{resource|{{#lvar: type}}}}
   | {{resource|{{#lvar: type}}}}
}}</includeonly><noinclude>
}}{{#ifeq: {{#lvar: type}}|action|[[Category:Actions]]}}{{#ifeq: {{#lvar: type}}|bonus|[[Category:Bonus actions]]}}{{#ifeq: {{#lvar: type}}|reaction|[[Category:Reactions]]}}{{#ifeq: {{#lvar: type}}|movement|[[Category:Movement-expending actions]]}}</includeonly><noinclude>
=What is this?=
=What is this?=
This is a wrapper around [[Template:Resource]] to work better in conjunction with [[Module:ParseList]] specifically by [[Template:ResourceList]].
This is a wrapper around [[Template:Resource]] to work better in conjunction with [[Module:ParseList]] specifically by [[Template:ResourceList]].