Template:Lua/doc: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
No edit summary |
||
Line 1: | Line 1: | ||
{{documentation header}} | {{documentation header}} | ||
Use on template documentation pages that utilize Lua modules. | |||
{{p|1}} | {{p|1}} is the module name without the namespace, defaulting to <code>{<nowiki/>{BASEPAGENAME}}</code>. If the template's data is stored in a separate module or subpage, you can use the {{p|data}} and {{p|data2}} parameters. | ||
Use on the documentation pages of templates that use Lua modules. | |||
Pages using this template will automatically add the template to [[:Category:Lua-based Templates]]. Setting <code>{{{nocat}}}</code> will prevent this. | |||
<includeonly> | <includeonly> | ||
<!-- | <!-- Template categories and interwiki links --> | ||
[[ | [[zh:Template:Lua]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<!-- | <!-- Documentation categories and interwiki links --> | ||
[[ | [[zh:Template:Lua/doc]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:55, 9 November 2024
[ Purge ]
This is the documentation page, it should be placed in should. See Template:Documentation for more information.Use on template documentation pages that utilize Lua modules.
|1=
is the module name without the namespace, defaulting to {{BASEPAGENAME}}
. If the template's data is stored in a separate module or subpage, you can use the |data=
and |data2=
parameters.
Use on the documentation pages of templates that use Lua modules.
Pages using this template will automatically add the template to Category:Lua-based Templates. Setting {{{nocat}}}
will prevent this.