Template:Lua/doc: Difference between revisions

From The Blockheads Wiki
(Created page with "{{documentation header}} Use on the doc page of templates which use Lua modules. <code>{{{1}}}</code> is the module name without namespace, defaulting to <code>{<nowiki/>{BASEPAGENAME}}</code>. If the template uses data stored in a separate module(s) or module subpage(s), this can be noted with <code>{{{data}}}</code> and <code>{{{data2}}}</code>. Automatically adds the template page to Category:Lua-based templates. Set <code>{{{nocat}}}</code> to prevent this. <...")
 
mNo edit summary
Line 9: Line 9:
<!-- Template categories/interwiki -->
<!-- Template categories/interwiki -->
[[Category:Notice templates]]
[[Category:Notice templates]]
</includeonly>

Revision as of 15:18, 6 August 2024

This is the documentation page. It should be transcluded into Template:Lua. See Template:Documentation for more information.

Use on the doc page of templates which use Lua modules.

{{{1}}} is the module name without namespace, defaulting to {{BASEPAGENAME}}. If the template uses data stored in a separate module(s) or module subpage(s), this can be noted with {{{data}}} and {{{data2}}}.

Automatically adds the template page to Category:Lua-based templates. Set {{{nocat}}} to prevent this.