Difference between revisions of "Template:Cfd"
From Tales of Maj'Eyal
(Copy edit) |
(Fixed typo) |
||
Line 19: | Line 19: | ||
then one should invoke the template in wiki markup with | then one should invoke the template in wiki markup with | ||
− | <pre>{{ | + | <pre>{{cfd|15|50}}</pre> |
which will produce the following text | which will produce the following text | ||
− | {{ | + | {{cfd|15|50}} |
Note that any percentage signs must be inserted manually with the parameters. | Note that any percentage signs must be inserted manually with the parameters. |
Revision as of 04:58, 21 August 2014
Introduction
This template is used to denote talent parameters that scale by the Cursed Form Damage function.
The template accepts two parameters, corresponding to those in the LUA code: min and max. It is assumed that both parameters will be fed to the template in the order specified above.
Both parameters are required.
Basic Example
If the LUA code calls for
combatTalentDamage(self, t, 15, 50)
then one should invoke the template in wiki markup with
{{cfd|15|50}}
which will produce the following text
[15]50cTSpD
Note that any percentage signs must be inserted manually with the parameters.