Template:Lua/doc: Difference between revisions
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> |