模板:Tnavbar-collapsible
跳转到导航
跳转到搜索
package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found
页面Module:Documentation/styles.css没有内容。
File:Test Template Info-Icon - Version (2).svg 模板文档[查看] [编辑] [历史] [清除缓存]
模板介绍[编辑]
使用方法[编辑]
Simply place the following code in the header area of collapsible tables to add left justified view/talk/edit link functionality:
{{Tnavbar-collapsible| Heading wikitext |{{subst:FULLPAGENAME}}}}
Parameters[编辑]
Mandatory[编辑]
- 1
- (the first unnamed parameter) Text that appears centered in the titlebar (the top bar).
- 2
- (the second unnamed parameter) The name of the template, which is needed for the "package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found" links to work properly on all of the pages where the template is used on. You can use
{{subst:FULLPAGENAME}}as a shortcut for this value.
Optional[编辑]
- plain
- If set to
plain=1then package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found will be expanded to the longer form of package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found. - fontcolor
- Specifies the title text color and the link color of the package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found.
- width
- Specifies the width of package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found. Unit is em. Default is 8em.
- margin
- 固定设定距离左边的距离
例如:{{Tnavbar-collapsible| 標題 |{{subst:PAGENAME}}|margin=20px}}
package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found
参见[编辑]
- {{navbar}}
- This template transcludes navbar, the source is more customizable.
- {{tnavbar-header}}
- Positions package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found on the right edge of the line, often used in non-collapsible navbox heading.
Make use of meta-template to reduce code bloat and simplify editing:
| package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found | 可折叠? | 标题颜色 | 图像 | 组别 | 样式(主体) 参数 |
范例 |
|---|---|---|---|---|---|---|
| {{Navbox}} | 是 | navbox | 主体左/右侧 | 是 | 是 | {{维基帮助导航}} |
| {{Navbox with collapsible groups}} | 是 | navbox | 主体左/右侧和/或在每列表中 | 是 | 是 | {{ATI}} |
| {{Navbox with columns}} | 是 | navbox | 栏左/右侧 | 否 | 是 | {{日本都道府县知事}} |
| {{NavboxV2}} | 是 | navbox | 以上全部 | 是 | 是 | {{广州地铁车站}} |
| 类别 | CSS class | Javascript | 何时折叠 | 自定义 初始状态 |
套叠结构 |
|---|---|---|---|---|---|
| Collapsible tables | mw-collapsible | jQuery.makeCollapsible | 页面有两块或以上autocollapse模板 | 是 | 是 |