Jump to content

Template:Navbox: Difference between revisions

From DevilutionX Wiki
Improve formatting
m Fix missing section
Line 74: Line 74:
| class="dxx-navbox-list"  | {{{list5}}}
| class="dxx-navbox-list"  | {{{list5}}}
}}{{#if:{{{group5|}}}||
}}{{#if:{{{group5|}}}||
! c
! colspan="2" class="dxx-navbox-list" | {{{list5}}}
}}
}}
 
<!-- ===== BLOCK 6 ===== -->
{{#if:{{{header6|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header6}}}
}}
{{#if:{{{list6|}}}|
|-
{{#if:{{{group6|}}}|
! class="dxx-navbox-group" | {{{group6}}}
| class="dxx-navbox-list"  | {{{list6}}}
}}{{#if:{{{group6|}}}||
! colspan="2" class="dxx-navbox-list" | {{{list6}}}
}}
}}
 
|}
</includeonly>
 
<noinclude>
Navbox meta-template used to build navigation boxes.
 
* <code>title</code> – navbox title
* <code>headerN</code> – optional section headings
* <code>groupN</code> – optional left label (if omitted, listN spans both columns)
* <code>listN</code> – links or {{ItemList}}; can be written as a bullet list
 
[[Category:Navbox templates]]
</noinclude>

Revision as of 22:44, 30 November 2025


Navbox meta-template used to build navigation boxes.

  • title – navbox title
  • headerN – optional section headings
  • groupN – optional left label (if omitted, listN spans both columns)
  • listN – links or Template:ItemList; can be written as a bullet list