Template:Navbox documentation: Difference between revisions
ww>SWinxy Should go on doc subpage |
imported>Primefac Undid revision 1232583047 by Plastikspork (talk) I think this is an XFDC thing (but leaving in the undo message for the ping) but my read of that close is that this is the merge target. Please revert me if I'm wrong |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="border: 2px dashed #666666;"><div style="margin: 3em;"><onlyinclude>{{documentation | <div style="border: 2px dashed #666666;"><div style="margin: 3em;"><onlyinclude>{{documentation | ||
| content = | | 1 = Template:Navbox documentation | content = | ||
{{{hatnotes|}}} | |||
{{Template display|nomobile}} | {{Template display|nomobile}} | ||
{{{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 [[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|}}}|| | {{#if:{{{stateless|}}}|| | ||
==Initial visibility== | ==Initial visibility== | ||
{{Collapsible option|parameter_name={{{parameter_name|state}}}|default={{{1|{{{state|autocollapse}}}}}}}} | {{Collapsible option|parameter_name={{{parameter_name|state}}}|default={{{1|{{{state|autocollapse}}}}}}|nobase={{{nobase|}}}}} | ||
{{Navbox visibility}} | |||
==TemplateData== | ==TemplateData== | ||
Line 32: | Line 35: | ||
{{{3|}}} | {{{3|}}} | ||
}}</onlyinclude></div></div> | }}</onlyinclude></div></div><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage --> | <!-- Add categories to the /doc subpage --> | ||
</noinclude> |
Latest revision as of 09:51, 5 July 2024
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
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 (a navbox, 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:
{{Navbox documentation|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Navbox documentation|state=expanded}}
will show the template expanded, i.e. fully visible.
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[update]).
TemplateData
A navigational box that can be placed at the bottom of articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | state | The initial visibility of the navbox
| String | suggested |
Template transclusions
Transclusion maintenance |
---|
Check completeness of transclusions |