Difference between revisions of "Template:Ctmd"
From Tales of Maj'Eyal
(Adjusted formatting of base/max input) |
(Adding some brackets to accentuate base) |
||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude><sub>{{{1}}}</sub>{{{2}}}<sup>[[Scaling#cTMD|cTMD]]</sup></onlyinclude></includeonly> | + | <includeonly><onlyinclude><sub>[{{{1}}}]</sub>{{{2}}}<sup>[[Scaling#cTMD|cTMD]]</sup></onlyinclude></includeonly> |
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 07:54, 26 August 2014
Introduction
This template is used to denote talent parameters that scale by the combatTalentMindDamage function.
The template accepts two parameters, corresponding to those in the LUA code: base and max. It is assumed that these parameters will be fed to the template in the order specified above.
Both parameters to this template are required.
Basic Example
The LUA code for the damage of Mind Sear calls for
self:combatTalentMindDamage(t, 10, 300)
which should be entered into the wiki as
{{CTMD|10|300}}
and will produce the following text
[10]300cTMD
Note that any percentage signs must be inserted manually with the parameters.