Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Navbox documentation/doc

From Wikipedia, the free encyclopedia

This is a wrapper for {{Documentation}} to provide a semblance of documentation for navbox templates. See that template for further guidance.

Usage

[edit]

This template is intended to replace the templates listed in "Elements", below. If you replace {{Documentation}} with this template, make sure to copy any categories and customized documentation from the /doc page onto the parent page.

Elements

[edit]

This template uses the following single elements: {{Template display}}, {{Collapsible option}}, {{Navbox visibility}} and {{Check completeness of transclusions}}. The {{Collapsible option}} template can be suppressed with |stateless=yes.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Navbox documentation in articles based on its TemplateData.

TemplateData for Navbox documentation

A wrapper for the {{Documentation}} template to provide a semblance of documentation for navbox templates.

Template parameters

ParameterDescriptionTypeStatus
Hatnoteshatnotes

Hatnotes to appear above the template banners

Example
{{For|xyz|abc}}
Contentoptional
Top contentintro or 2

Template shortcuts/redirects, High-use template, templatestyles, usage, etc. (put below {{Template display|nomobile}})

Contentoptional
Content3

TemplateData, See also, etc. (below {{collapsible option}})

Contentoptional
Statestate or 1

The default initial state of the template. Set to either: (1) expanded, (2) collapsed, or (3) autocollapse

Suggested values
expanded collapsed autocollapse
Default
autocollapse
Unknownsuggested
Templatetemplate

To call the template anything other than {{PAGENAME}} within the documentation

Auto value
{{PAGENAME}}
Stringoptional
Statelessstateless

Hides the {{Collapsible option}} transclusion for when the navbox doesn't support a state.

Example
yes
Auto value
no
Unknownoptional
nobasenobase

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.

Booleanoptional