|
|
Line 1: |
Line 1: |
− | <includeonly><onlyinclude><sub>[{{{1}}}]</sub>{{{2}}}<sup>[[Scaling#CFD|CFD]]</sup></onlyinclude></includeonly>
| + | #REDIRECT [[Template:ctspd]] |
− | | + | |
− | [[Category:Templates]] | + | |
− | | + | |
− | ===Introduction===
| + | |
− | | + | |
− | This template is used to denote talent parameters that scale by the [[Scaling#CFD|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
| + | |
− | | + | |
− | <pre>{{cfd|15|50}}</pre>
| + | |
− | | + | |
− | which will produce the following text
| + | |
− | | + | |
− | {{cfd|15|50}}
| + | |
− | | + | |
− | Note that any percentage signs must be inserted manually with the parameters.
| + | |