Template:MonsterSpecialAttackTable: Difference between revisions

From Melvor Idle
(Created)
 
(Migrate to new module)
Line 1: Line 1:
This template is powered by Lua from [[Module:Monsters]]
<noinclude>This template is powered by Lua from [[Module:Attacks/Tables]].
 
Syntax: {{T|MonsterSpecialAttackTable|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 that monsters may inflict in combat."
}
</templatedata>
[[Category:Tables]]
[[Category:Tables]]
{{V}}<br/><br/><br/>
{{V}}<br/><br/><br/></noinclude>
<onlyinclude>{{#invoke:Monsters|getSpecialAttackTable}}</onlyinclude>
<onlyinclude>{{#invoke:Attacks/Tables|getSpecialAttackTable|Monster|{{{1|}}}}}</onlyinclude>
<noinclude>
</noinclude>

Revision as of 01:34, 9 November 2021

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

Syntax: {{MonsterSpecialAttackTable|Effect}}.

Produces a table of special attacks that monsters 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).