模块:Side box/doc

来自决策链云智库
< 模块:Side box
Zeroclanzhang讨论 | 贡献2024年1月20日 (六) 19:41的版本 (创建页面,内容为“{{Module rating|protected}} {{High-use}} {{Lua|Module:Yesno}} {{Uses TemplateStyles|Module:Side box/styles.css|Template:Plainlist/styles.css}} This module implements the {{tl|side box}} template. == Usage from wikitext == This module cannot be used directly from wikitext. It can only be used through the {{tl|side box}} template. Please see the template page for documentation. == Usage from Lua modules == To use this module from other Lua modules, first load…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

这是模块:Side box的文档页面

Lua错误 在模块:TNT的第167行:Missing Commons dataset I18n/Module:TNT.tab This module implements the {{side box}} template.

Usage from wikitext

This module cannot be used directly from wikitext. It can only be used through the {{side box}} template. Please see the template page for documentation.

Usage from Lua modules

To use this module from other Lua modules, first load the module.

local mSideBox = require('Module:Side box')

You can then generate a side box using the _main function.

mSideBox._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 {{side box}} template documentation.