Template:Lua/doc

From Terraria Wiki
Jump to navigation Jump to search

This template displays a notice about the usage of Lua modules of a template. It is to be placed in the template's source code, in front of {{{{#uesc:i18n-ready}}{{#or:|}}}} (if present) and {{{{#uesc:doc}}{{#or:|}}}}.

Usage

{{ lua | <module name> | ... | nocat = y/yes }}

Unnamed parameters

Names of the modules that are used, without the namespace (Module:). Can be continued ad infinitum. If omitted, defaults to the root page name of the template.

nocat

By default, the template categorizes the template page in [[:Category:{{#uesc:Templates using Lua}}]]. Set this parameter to prevent that.


{{category/db-{{#or:{{#lstfnd:doc|ar, bg, cs, da, el, es, fi, hi, id, it, ja, lt, lv, nl, no, ro, sk, sv, th, tr, vi, yue,de, fr, hu, ko, ru, pl, pt, uk, zh, es-formal|,}}|en}}}}[[Category:{{#or:|Lua error in package.lua at line 80: module 'Module:Tr/loaddata-{{#or:{{#lstfnd:doc|ar, bg, cs, da, el, es, fi, hi, id, it, ja, lt, lv, nl, no, ro, sk, sv, th, tr, vi, yue,de, fr, hu, ko, ru, pl, pt, uk, zh, es-formal|,}}|en}}' not found.{{#or:|Template documentation}}}} ]]