Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  



























Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Initial visibility  





2 TemplateData  





3 Template transclusions  





4 TemplateData  














Template:Navbox documentation






العربية

Dansk
فارسی
ि
Bahasa Indonesia
Македонски


Bahasa Melayu



Simple English
Slovenščina
Tagalog

Тоҷикӣ
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 

















Permanently protected template

From Wikipedia, the free encyclopedia
 


This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{Navbox documentation}} below the standard article appendices.

Initial visibility

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (anavbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

Templates using the classes class=navbox ({{navbox}}) or class=nomobile ({{sidebar}}) are not displayed on the mobile web site of English Wikipedia. Mobile page views account for approximately 66% of all page views (90-day average as of January 2024).

TemplateData

A navigational box that can be placed at the bottom of articles.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Statestate

The initial visibility of the navbox

Suggested values
collapsed expanded autocollapse
Stringsuggested

Template transclusions

Transclusion maintenance
Check completeness of transclusions

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

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

This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates.

Template parameters[Edit template data]

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
yes
Unknownoptional
nobasenobase

Pass through to {{Collapsible option}} to disable BASEPAGENAME detection. Use it when the template's name contain a forward slash, which can break basepage-subpage distinction.

Booleanoptional

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Navbox_documentation&oldid=1222337032"

Categories: 
Navbox meta-templates
Documentation shared content templates
Hidden categories: 
Wikipedia extended-confirmed-protected templates
Templates using TemplateData
 



This page was last edited on 5 May 2024, at 12:21 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki