Template:Navbox documentation/doc: Difference between revisions
More actions
Created page with "{{Documentation subpage}} {{High-use}} {{Template shortcut|navdoc}} {{Template redirect|Navbox doc}} This is a wrapper for {{tl|Collapsible option}} to provide a semblance of documentation for navbox templates. See that template for further guidance. The <nowiki>{{Collapsible option}}</nowiki> template can be suppressed with {{para|stateless|yes}}. == Elements == This template uses the following single elements: {{tl|Template display}}, {{tl|Collapsible option}}, {{tl|..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Template shortcut|navdoc}} | {{Template shortcut|navdoc}} | ||
{{Template redirect|Navbox doc}} | {{Template redirect|Navbox doc}} |
Latest revision as of 21:19, 22 February 2025
This is a documentation subpage for Template:Navbox documentation. It may contain usage information, categories and other content that is not part of the original template page. |
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
.
Elements
This template uses the following single elements: {{Template display}}, {{Collapsible option}}, {{Navbox visibility}} and {{Check completeness of transclusions}}.
TemplateData
TemplateData for Navbox documentation
This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hatnotes | hatnotes | Hatnotes to appear above the template banners
| Content | optional |
Top content | intro or 2 | Template shortcuts/redirects, High-use template, templatestyles, usage, etc. (put below {{Template display|nomobile}}) | Content | optional |
Content | 3 | TemplateData, See also, etc. (below {{collapsible option}}) | Content | optional |
State | state or 1 | The default initial state of the template. Set to either: (1) expanded, (2) collapsed, or (3) autocollapse
| Unknown | suggested |
Template | template | To call the template anything other than {{PAGENAME}} within the documentation
| String | optional |
Stateless | stateless | Hides the {{Collapsible option}} transclusion for when the navbox doesn't support a state.
| Unknown | optional |
nobase | nobase | Pass through to {{Collapsible option}} to disable BASEPAGENAME detection. Use it when the template's name contains a forward slash, which can break basepage-subpage distinction. | Boolean | optional |