Template:Lua: Difference between revisions
Jump to navigation
Jump to search
创建页面,内容为“{{Message box | image = Lua logo.svg | text = 此模板使用了'''<includeonly>[[</includeonly>{{ns:828}}:{{ucfirst: {{PAGENAME:{{{1|{{BASEPAGENAME}}}}}}} }}<includeonly>]]</includeonly>''',{{ #if: {{{data|}}} | 以及数据模块[[{{ns:828}}:{{ ucfirst: {{PAGENAME:{{{data}}}}} }}]]{{ #if: {{{data2|}}} | 和[[{{ns:828}}:{{ ucfirst: {{PAGENAME:{{{data2}}}}} }}]] }} | 此脚本使用Lua编写}}。<br>{{ #if: {{{data|}}} | 这些脚本均使用wz…” |
m 1 revision imported |
(No difference)
|
Revision as of 12:29, 1 November 2024
此模板使用了Module:Lua,此脚本使用Lua编写。
更多详情,请参阅Wikipedia:Lua和Extension:Scribunto。
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.
[ View | Edit | History | Purge ]The above documentation is transcluded from Template:Lua/doc.