Template:Navbox documentation: Difference between revisions
>MJL add <code></code> |
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 |
||
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|}}} | {{{hatnotes|}}} | ||
{{Template display|nomobile}} | {{Template display|nomobile}} | ||
Line 7: | Line 7: | ||
{{#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}} | {{Navbox visibility}} |
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 |