查看“Documentation/doc”的源代码
←
Documentation/doc
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{module rating|release}} {{Uses TemplateStyles|Module:Documentation/styles.css}} This module displays a blue box containing documentation for [[Special:MyLanguage/Help:templates|templates]], [[Special:MyLanguage/Lua scripting|Lua modules]], or other pages. The {{tl|documentation}} template invokes it. == Normal usage == For most uses, you should use the {{tl|documentation}} template; please see that template's page for its usage instructions and parameters. == Use in other modules == To use this module from another Lua module, first load it with <code>require</code>: <syntaxhighlight lang="lua"> local documentation = require('Module:Documentation').main </syntaxhighlight> Then you can simply call it using a table of arguments. <syntaxhighlight lang="lua"> documentation{content = 'Some documentation', ['link box'] = 'My custom link box'} </syntaxhighlight> Please refer to the [[Template:Documentation/doc|template documentation]] for usage instructions and a list of parameters. == Porting to other wikis == The module has a configuration file at [[Module:Documentation/config]] which is intended to allow easy translation and porting to other wikis. Please see the code comments in the config page for instructions. If you have any questions, or you need a feature which is not currently implemented, please leave a message at [[Template talk:Documentation]] to get the attention of a developer.
本页使用的模板:
模板:Error
(
查看源代码
)
模板:Module other
(
查看源代码
)
模板:Module rating
(
查看源代码
)
模板:Ns:Module
(
查看源代码
)
模板:Ombox
(
查看源代码
)
模板:Tl
(
查看源代码
)
模板:Transclude
(
查看源代码
)
模板:Uses TemplateStyles
(
查看源代码
)
返回至“
Documentation/doc
”。
导航菜单
个人工具
登录
命名空间
页面
讨论
变体
已展开
已折叠
查看
阅读
查看源代码
查看历史
更多
已展开
已折叠
搜索
导航
首页
最近更改
随机页面
帮助
FAQ
系统使用
Formating
工具
链入页面
相关更改
特殊页面
页面信息