Module:TNTTools/doc: Difference between revisions

Content added Content deleted
No edit summary
m (Update)
Line 11: Line 11:
**{{tl|TNTTools/Tests/WordIdx}}
**{{tl|TNTTools/Tests/WordIdx}}


Allows '''verification of parameter names''' passed from the ''frame'' when two (or more) denominations are supported by the same parameter. With the help of the [[Module:SimpleArgs]].
With [[Module:SimpleArgs]] allows '''get parameter values''' (passed from the ''frame'') with '''several keys for the same parameter'''.


For example, with a parameter that has two or more meanings (or in English and localized languge):
For example, with a parameter that has two or more meanings (or in English and localized language):
<syntaxhighlight lang="Lua">
<syntaxhighlight lang="Lua">
local p = {}
local p = {}