Difference between revisions of "Template:Gtl"

From Tales of Maj'Eyal
Jump to: navigation, search
(create)
 
m (Ibanix moved page Template:Tl to Template:Gtl without leaving a redirect: better name)
(No difference)

Revision as of 15:32, 8 February 2016


Introduction

This template is used to denote talent parameters that scale by the getTalentLevel or getTalentLevelRaw.

The template accepts up to three parameters: min, max, raw

The all parameters are optional. If min and max are not specified, they default to '1' and '5'.

Basic Example

If the LUA code calls for

self:getTalentLevel(t). 

then one should invoke the template in wiki markup with

{{gtl}}

which will produce the following text

{{{1}}}–{{{2}}}gtl

If you need to override the minimum or maximum talent levels, use the form:

{{gtl|1|4}}

which will produce the text

1–4gtl

Note that any percentage signs must be inserted manually with the parameters.

Using Raw Talent Level

If the LUA code calls for using raw talent levels as

self:getTalentLevelRaw(t)

then simply insert the text raw as the third parameter as follows

{{gTL|||raw}}

which will produce

Template:GTL