Jump to content

Module:TNT/config

From wikiNonStop
Revision as of 11:34, 26 December 2025 by en>ExE Boss (Use better configuration names and document options)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Module documentation

Optional configuration module for Module:TNT.

local p = {};

-- The tracking category name for global TemplateData pages located on Commons
-- under "Data:Templatedata/" instead of "Data:TemplateData/",
-- defaults to `"Templates using legacy global TemplateData table name"`
-- when not set; set to `false` to disable all categorisation
p.legacyTemplateDataCategoryName = nil;

-- Whether to add the language subtag to the template name using {{#translation:}},
-- defaults to `false`
p.translatableCategoryLink = true;

return p;