65,959
editsAd placeholder
Template:ResourceHelper: Difference between revisions
Jump to navigation
Jump to search
no edit summary
HiddenDragon (talk | contribs) No edit summary |
HiddenDragon (talk | contribs) 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}}}} | ||
}}{{# | }}{{#switch: {{{this is an example|}}} | ||
| yes = | |||
| #default = {{#switch: {{#lvar: type}} | |||
| bonus = [[Category:Bonus actions]] | |||
| movement = [[Category:Movement-expending actions]] | |||
| reaction = [[Category:Reactions]] | |||
| action = [[Category:Actions]] | |||
| #default = | |||
}}}}</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]]. | ||
Line 24: | Line 32: | ||
! Input | ! Input | ||
|- | |- | ||
|{{ResourceHelper|ki}}||<pre>{{ResourceHelper|ki}}</pre> | |{{ResourceHelper|ki|this is an example=yes}}||<pre>{{ResourceHelper|ki}}</pre> | ||
|- | |- | ||
|{{ResourceHelper|ki:5}}||<pre>{{ResourceHelper|ki:5}}</pre> | |{{ResourceHelper|ki:5|this is an example=yes}}||<pre>{{ResourceHelper|ki:5}}</pre> | ||
|- | |- | ||
|{{ResourceHelper|movement:30}}||<pre>{{ResourceHelper|movement:30}}</pre> | |{{ResourceHelper|movement:30|this is an example=yes}}||<pre>{{ResourceHelper|movement:30}}</pre> | ||
|- | |- | ||
|} | |} | ||
</noinclude> | </noinclude> |