Module:TNTTools/doc: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
m (Reverted edits by 2600:100C:B020:77D7:C056:B621:D23F:2D46 (talk) to last version by Pppery)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 07:09, 26 March 2024

Contains functions linked to Module:TNT, which at the same time make calls to multilingual tables, located in Commons, for the creation of modules and multilingual templates.

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.