<div style="border: 2px dashed #666666;"><div style="margin: 3em;"><onlyinclude>{{documentation
| 1 = Template:Navbox documentation | content =
<noinclude>{{notice|'''This documentation block is what this template displays''' (sans this notice). For the documentation of this template itself, see the second block below.}}</noinclude>{{Template display|nomobile}}
{{Template display|nomobile}}
{{{intro|{{{2|}}}}}}
This is a [[Wikipedia:Navigation template|navigational template]] created using {{tl|navbox}}. It can be [[Help:Transclusion|transcluded]] on pages by placing <code><nowiki>{{</nowiki>{{{template|{{PAGENAME}}}}}<nowiki>}}</nowiki></code> below the [[Wikipedia:Manual of Style/Layout#Standard appendices and footers|standard article appendices]].
{{#if:{{{stateless|}}}|| ==Initial visibility==▼
==Initial visibility==
{{Collapsible option|parameter_name={{{parameter_name|state}}}|default={{{1|{{{state|autocollapse}}} }}}|nobase={{{nobase|}}}}} ▼
{{Navbox visibility}}
▲{{#if:{{{stateless|}}}||==Initial visibility==
▲{{Collapsible option|parameter_name={{{parameter_name|state}}}|default={{{1|{{{state|autocollapse}}}}}}}}
==TemplateData==
"autocollapse"
],
"suggested": true,
}
},
</templatedata>
}}
==Template transclusions==
{{Check completeness of transclusions}}
{{{3|}}}
}}</onlyinclude></div></div><noinclude>
{{Documentation}}
{{documentation|content=
<!-- Add categories to the /doc subpage -->
{{notice|The stuff in the box above is the documentation that this template produces. '''This is the documentation for {{t|Navbox documentation}}''', i.e. the documentation for the documentation.}}
== Explanation ==
This is a wrapper for {{tl|Collapsible option}} to provide a semblance of documentation for navbox templates. The <nowiki>{{Collapsible option}}</nowiki> template can be suppressed with {{para|stateless|yes}}.
__NOTOC__
{{Collapsible option/doc}}
== TemplateData ==
<templatedata>
{
"params": {
"2": {
"label": "Top content",
"description": "Hatnotes, Usage, etc. (above {{collapsible option}} but below {{Template display|nomobile}})",
"type": "content"
},
"3": {
"label": "Content",
"description": "TemplateData, See also, etc. (below {{collapsible option}})",
"type": "content"
},
"state": {
"aliases": [
"1"
],
"label": "State",
"description": "Set to either: (1) expand, (2) collapse, or (3) autocollapse",
"example": "collapse",
"type": "boolean",
"default": "autocollapse",
"suggested": true
},
"template": {
"label": "Template",
"description": "To call the template anything other than {{PAGENAME}} within the documentation",
"autovalue": "{{PAGENAME}}"
},
"stateless": {
"label": "Stateless",
"description": "Hides the {{Collapsible option}} transclusion for when the navbox doesn't support a state.",
"example": "yes",
"autovalue": "yes"
}
},
"description": "This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates."
}
</templatedata>
}}
{{Sandbox other||
[[Category:Navbox meta-templates|Δ]]
[[Category:Documentation shared content templates]]
}}
</noinclude>
|