Template:Navbox documentation: Difference between revisions

Created page with "<div style="border: 2px dashed #666666;"><div style="margin: 3em;"><onlyinclude>{{documentation | content = {{{hatnotes|}}} {{Template display|nomobile}} {{{intro|{{{2|}}}}}} This is a navigational template created using {{tl|navbox}}. It can be transcluded on pages by placing <nowiki>{{</nowiki>{{{template|{{PAGENAME}}}}}<nowiki>}}</nowiki> below the Wikipedia:Manual of Style/Layout#Standard appendices and foote..."
Tags: Mobile edit Mobile web edit
 
CleanupBot (talk | contribs)
m top: clean up
 
Line 4: Line 4:
{{Template display|nomobile}}
{{Template display|nomobile}}
{{{intro|{{{2|}}}}}}
{{{intro|{{{2|}}}}}}
This is a [[Wikipedia:Navigation template|navigational template]] created using {{tl|navbox}}. It can be [[Help:Transclusion|transcluded]] on pages by placing <nowiki>{{</nowiki>{{{template|{{PAGENAME}}}}}<nowiki>}}</nowiki> below the [[Wikipedia:Manual of Style/Layout#Standard appendices and footers|standard article appendices]].
This is a [[Bharatpedia:Navigation template|navigational template]] created using {{tl|navbox}}. It can be [[Help:Transclusion|transcluded]] on pages by placing <nowiki>{{</nowiki>{{{template|{{PAGENAME}}}}}<nowiki>}}</nowiki> below the [[Bharatpedia:Manual of Style/Layout#Standard appendices and footers|standard article appendices]].
{{#if:{{{stateless|}}}||
{{#if:{{{stateless|}}}||
==Initial visibility==
==Initial visibility==

Latest revision as of 10:16, 5 December 2023

Template documentation

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

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Navbox documentation|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Navbox documentation|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Navbox documentation|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

Template:Navbox visibility

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
Template documentation[create]