Template:Navbox: Difference between revisions

(Created page with "<includeonly>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/> {{{!}} class="navbox {{#if:{{{style|}}}||default}}" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}" {{!}}- {{!}} style="padding:2px" {{!}} }} {{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|open|show=mw-collapsible|auto|autocollapse=mw-collapsible autocollapse|#default=mw-collapsible mw-collapsed}}}} {{#switch:{{{border|{{{1|}}}}}}|su...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 48: Line 48:
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}} }}</includeonly><noinclude>
{{!}}} }}</includeonly><noinclude>
This is the navbox builder. See {{tem|characters}} for an example of how to create a new navbox.
== State usage ==
== State usage ==
These are guidelines for the <code>state</code> parameter:
These are guidelines for the <code>state</code> parameter:

Latest revision as of 09:02, August 24, 2023

This is the navbox builder. See {{characters}} for an example of how to create a new navbox.

State usage

These are guidelines for the state parameter:

  • |state=collapsed - The table is collapsible and collapsed (default).
  • |state=open - The table is collapsible and not collapsed.
  • |state=auto - The table is collapsible and will collapse if multiple boxes are present.
  • |state=plain - The table is not collapsible.