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. <...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
<!-- Template categories/interwiki -->
<!-- Template categories/interwiki -->
[[Category:Notice templates]]
[[Category:Notice templates]]
</includeonly>
<noinclude>
<!-- Documentation categories/interwiki -->
</noinclude>

Latest revision as of 16:40, 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.