Template:Navbox/sub

< Template:Navbox
Revision as of 10:44, August 20, 2023 by Porplemontage (talk | contribs) (Created page with "<includeonly>{| class="navbox-sub" style="width:100%;margin:-1px 0 0 -3px !important" {{#forargs:list|key|value|{{#ifeq:{{#var:key}}|1||<nowiki/> {{!}}- {{!}} }} {{!}}- {{!}} class="navbox-group" style="width:{{{width|auto}}} !important;background:{{{bg|none}}};color:{{{color|#000}}};text-align:center;font-weight:bold;border-radius:0;padding:1px 3px 0" {{!}} {{{group{{#var:key}}|}}} {{!}}{{!}} class="navbox-list" style="border-radius:0;padding:1px 3px 0" {{!}} {{#var:val...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This templates allows for the use of sub-sections within navbox sections.

Usage

Content

Use groupX and listX parameters, where X represents numbers. Similar to Template:Navbox.

Customization

  • width - Width of the group cell(s). Default: auto
  • bg - Background of the group cell(s). Default: none
  • color - Text color of the group cell(s). Default: #000