Module:TNT/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
No edit summary |
|||
Line 46: | Line 46: | ||
local text = TNT.formatInLanguage('fr', 'I18n/My_module_messages', 'messageId', 'param1', 'param2', ...) |
local text = TNT.formatInLanguage('fr', 'I18n/My_module_messages', 'messageId', 'param1', 'param2', ...) |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=== Using TNTTools === |
|||
[[Module:TNTTools]] has: |
|||
* Question functions: with boolean or numerical indexed return. To be called from other modules or from templates. With: |
|||
** Case sensitive option. |
|||
** Possibility of more than one translated text value (where each value is separated by "|"). |
|||
* To put aside write, adding "I18n/" as a prefix and ".tab" extension as a suffix for the table names. |
|||
* Several examples. |