This is a documentation subpage for 模板:Navbox documentation. It may contain usage information, categories and other content that is not part of the original 模板 page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is a wrapper for {{Collapsible option}}
to provide a semblance of documentation for navbox templates. See that template for further guidance. The {{Collapsible option}} template can be suppressed with |stateless=yes
.
TemplateData
TemplateData for Navbox documentation
This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Hatnotes | hatnotes | Hatnotes to appear above the template banners
| 内容 | 可选 |
Top content | intro or 2 | Template shortcuts/redirects, High-use template, templatestyles, usage, etc. (put below {{Template display|nomobile}}) | 内容 | 可选 |
Content | 3 | TemplateData, See also, etc. (below {{collapsible option}}) | 内容 | 可选 |
State | state or 1 | The default initial state of the template. Set to either: (1) expanded, (2) collapsed, or (3) autocollapse
| 未知 | 推荐 |
Template | template | To call the template anything other than {{PAGENAME}} within the documentation
| 字符串 | 可选 |
Stateless | stateless | Hides the {{Collapsible option}} transclusion for when the navbox doesn't support a state.
| 未知 | 可选 |