Template:Lua侧边栏
外观
![本页使用了标题或全文手工转换](http://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png)
(重定向自Template:Lua sidebar)
相关页面 |
---|
![]() | 本模板使用以下模板样式: |
This template displays links which are generated based on a page's base page name. These are useful for templates which work using a specific Lua module. The parameter |title=
can be used to add the title of the template and module, if needed; |template=
and |module=
do the same, but for only the template and only the module respectively.
The first unnamed parameter or |1=
can be used to add more information; {{Sidebar|child=yes}}
can be used inside it for further customization. The default links use {{plainlinks}}.
用法
[编辑]- Without any extra links:
{{Lua sidebar}}
- With an extra unbulleted list:
{{Lua sidebar|{{ubl|List item 1|List item 2}}}}
- For Template:Infobox and Module:Infobox:
{{Lua sidebar|title=Infobox}}
- For Template:Coord, on Module talk:Coordinates:
{{Lua sidebar|template=Coord}}
- For Module:Coordinates, on Template talk:Coord:
{{Lua sidebar|module=Coordinates}}
上述文档嵌入自Template:Lua侧边栏/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |