Difference between revisions of "Template:Cfd"

From Tales of Maj'Eyal
Jump to: navigation, search
(Fixed typo)
(Adjusted formatting)
Line 1: Line 1:
<includeonly><onlyinclude>{{{1}}}{{{2}}}<sup>[[Scaling#CFD|CFD]]</sup></onlyinclude></includeonly>
+
<includeonly><onlyinclude><sub>[{{{1}}}]</sub>{{{2}}}<sup>[[Scaling#CFD|CFD]]</sup></onlyinclude></includeonly>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 12:20, 30 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.