Template:PlayerSpecialAttackTable: Difference between revisions

From Melvor Idle
(Revert to revision 41117)
Tag: Replaced
(Migrate to new module)
Line 1: Line 1:
<noinclude>This template is powered by Lua from [[Module:Items]]
<noinclude>This template is powered by Lua from [[Module:Attacks/Tables]].
 
Syntax: {{T|PlayerSpecialAttackTable|Effect}}.
<templatedata>
{
"params": {
"1": {
"label": "Effect",
"description": "If specified, only special attacks which have the specified effect are included; otherwise, all special attacks are included",
"type": "string"
}
},
"description": "Produces a table of special attacks the player may inflict in combat."
}
</templatedata>
[[Category:Tables]]
[[Category:Tables]]
{{V}}<br/><br/><br/></noinclude>
{{V}}<br/><br/><br/></noinclude>
{{#invoke:Items|getSpecialAttackTable}}
<onlyinclude>{{#invoke:Attacks/Tables|getSpecialAttackTable|Item|{{{1|}}}}}</onlyinclude>
<noinclude>
</noinclude>

Revision as of 01:32, 9 November 2021

This template is powered by Lua from Module:Attacks/Tables.

Syntax: {{PlayerSpecialAttackTable|Effect}}.

Produces a table of special attacks the player may inflict in combat.

Template parameters

ParameterDescriptionTypeStatus
Effect1

If specified, only special attacks which have the specified effect are included; otherwise, all special attacks are included

Stringoptional
This page is up to date (v1.2.2).