"模組:Lua banner/doc" siû-thin kiên ke chhâ-phe̍t

刪去的內容 新增的內容
Sdfkâu-liù | Kung-hien
Sîn hong-mien: 本模块用于执行{{tl|lua}}模板。 == 通过wikitext使用 == 本模块不能直接被wikitext使用,只能通过{{tl|lua}}模板调用。请参阅模板说明书。 ==...
 
Xqbotkâu-liù | Kung-hien
se-mì Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
Thi 9 hàng:
为通过其他Lua模块使用本模块,先要载入本模块。
 
<sourcesyntaxhighlight lang="lua">
local mLuaBanner = require('Module:Lua banner')
</syntaxhighlight>
</source>
 
然后可以通过_main功能生成边框。
 
<sourcesyntaxhighlight lang="lua">
mLuaBanner._main(args)
</syntaxhighlight>
</source>
<!--
变量<var>args</var>需要作为一个包含arguments的表格以通过模块。为看different arguments that can be specified and how they affect the module output, please refer to the {{tl|lua}} template documentation.