12,808
edits
(Created) |
m (Use singular term for source column) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This template is powered by Lua from [[Module: | <noinclude>This template is powered by Lua from [[Module:Attacks/Tables]]. | ||
Syntax: {{T|MonsterSpecialAttackTable|<Types>|effect=<Effect>|sourceHeader=<HeaderText>|includeSource=<true/false>}}. | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Type", | |||
"description": "A comma separated list of types to be included. Can be any combination of: Monster, Item, Spell, Familiar", | |||
"type": "string", | |||
"default": "Monster", | |||
"suggested": true | |||
}, | |||
"effect": { | |||
"label": "Effect", | |||
"description": "If specified, only special attacks which have the specified effect are included; otherwise, all special attacks are included", | |||
"type": "string" | |||
}, | |||
"sourceHeader": { | |||
"label": "Source Header", | |||
"description": "Specifies the header text for the 'Source' column", | |||
"type": "string", | |||
"default": "Monster" | |||
}, | |||
"includeSource": { | |||
"label": "Include Source", | |||
"description": "Indicates whether the source type column should be included or not", | |||
"type": "boolean", | |||
"default": "false" | |||
} | |||
}, | |||
"description": "Produces a table of special attacks the player may inflict in combat.", | |||
"paramOrder": [ | |||
"1", | |||
"effect", | |||
"sourceHeader", | |||
"includeSource" | |||
] | |||
} | |||
</templatedata> | |||
[[Category:Tables]] | [[Category:Tables]] | ||
{{V}}<br/><br/><br/> | {{V}}<br/><br/><br/></noinclude> | ||
<onlyinclude>{{#invoke: | <onlyinclude>{{#invoke:Attacks/Tables|getSpecialAttackTable|{{{1|Monster}}}|effect={{{effect|}}}|sourceHeader={{{sourceHeader|Monster}}}|includeSource={{{includeSource|false}}}}}</onlyinclude> | ||
<noinclude> | |||
</noinclude> |