跳转到内容

模組:Listen/doc

维基百科,自由的百科全书

这是本页的一个历史版本,由Great Brightstar留言 | 贡献2014年8月31日 (日) 03:55 建立内容为“本模块用于执行模板 {{tl|listen}}。 == 从维基代码中使用 == 本模块不能直接从维基代码中使用,只能通过 {{tl|list...”的新页面)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

这是Module:Listen的文档页面

本模块用于执行模板 {{listen}}。

从维基代码中使用

本模块不能直接从维基代码中使用,只能通过 {{listen}} 模板使用。请参阅模板页的说明。

从 Lua 模块中使用

为了从其他 Lua 模块中使用本模块,先载入本模块。

local mListen = require('Module:Listen')

您可以通过使用 _main 函数生成小框。

mListen._main(args)

The args variable should be a table containing the arguments to pass to the module. To see the different arguments that can be specified and how they affect the module output, please refer to the {{listen}} template documentation.