Template:Lua/doc

    From BelieveTheSign
    < Template:Lua
    Revision as of 18:38, 30 December 2021 by Admin (talk | contribs) (Created page with "{{Documentation subpage}} {{Lua|Module:Lua banner}} <!-- Categories go at the bottom of this page, and interwikis go on Wikidata. --> This template is used to show that templ...")
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Script error: No such module "Message box". Lua error in package.lua at line 80: module 'Module:Yesno' not found.

    This template is used to show that templates have been converted to Lua. It is placed at the top of the template's /doc page. It automatically adds the template to [[:Category:Script error: No such module "Data".]], or to one of its subcategories.

    Usage

    Basic
    Template:Tlx
    All parameters
    Template:Tlx

    The first module name is required.

    Examples

    Lua error in package.lua at line 80: module 'Module:Yesno' not found. Template:Clear

    Lua error in package.lua at line 80: module 'Module:Yesno' not found. Template:Clear

    Lua error in package.lua at line 80: module 'Module:Yesno' not found. Template:Clear

    Lua error in package.lua at line 80: module 'Module:Yesno' not found.

    Lua error in package.lua at line 80: module 'Module:Yesno' not found. Template:Clear

    Categorisation

    Template category

    This template adds pages to Category:Lua-based templates if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the Template:Para parameter, e.g. Template:Para.

    Some modules have a default category other than [[:Category:Script error: No such module "Data".]]:

    • Module:String has the default category [[:Category:Script error: No such module "Data".]].

    Error category

    If no modules are specified and wishes are not enabled by default, the transcluded page will be added to [[:Category:Script error: No such module "Data".]].

    Wish category

    If no modules are specified or Template:Para is used, the page will be added to [[:Category:Script error: No such module "Data".]]

    Category suppression

    To suppress all categorisation, use Template:Para. (As well as "true", the values "yes", "y", and "1" will also work.)

    TemplateData

    Template:TemplateData header Script error: No such module "TNT".

    See also