Jump to content

Template:Navbox: Difference between revisions

From DevilutionX Wiki
No edit summary
Replaced content with "Currently not used."
Tag: Replaced
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
Currently not used.
{| class="navbox dxx-navbox"
! colspan="2" class="dxx-navbox-title" | {{{title|Navigation}}}
 
<!-- BLOCK 1 -->
{{#if:{{{header1|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header1}}}
}}
{{#if:{{{group1|}}}{{{list1|}}}|
|-
! class="dxx-navbox-group" | {{{group1|}}}
| class="dxx-navbox-list"  | {{{list1}}}
}}
 
<!-- BLOCK 2 -->
{{#if:{{{header2|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header2}}}
}}
{{#if:{{{group2|}}}{{{list2|}}}|
|-
! class="dxx-navbox-group" | {{{group2|}}}
| class="dxx-navbox-list"  | {{{list2}}}
}}
 
<!-- BLOCK 3 -->
{{#if:{{{header3|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header3}}}
}}
{{#if:{{{group3|}}}{{{list3|}}}|
|-
! class="dxx-navbox-group" | {{{group3|}}}
| class="dxx-navbox-list"  | {{{list3}}}
}}
 
<!-- BLOCK 4 -->
{{#if:{{{header4|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header4}}}
}}
{{#if:{{{group4|}}}{{{list4|}}}|
|-
! class="dxx-navbox-group" | {{{group4|}}}
| class="dxx-navbox-list"  | {{{list4}}}
}}
 
<!-- BLOCK 5 -->
{{#if:{{{header5|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header5}}}
}}
{{#if:{{{group5|}}}{{{list5|}}}|
|-
! class="dxx-navbox-group" | {{{group5|}}}
| class="dxx-navbox-list"  | {{{list5}}}
}}
 
<!-- BLOCK 6 -->
{{#if:{{{header6|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header6}}}
}}
{{#if:{{{group6|}}}{{{list6|}}}|
|-
! class="dxx-navbox-group" | {{{group6|}}}
| class="dxx-navbox-list"  | {{{list6}}}
}}
 
|}
</includeonly>
 
<noinclude>
Basic navbox meta-template used to build navigation boxes.
 
* <code>title</code> – required; navbox title
* <code>headerN</code> – optional section headers (full-width)
* <code>groupN</code> – label in left column
* <code>listN</code> – content in right column (links, {{ItemList}}, etc.)
 
Up to 6 header/group/list blocks are supported here. 
Copy-paste the pattern if you ever need more.
 
[[Category:Navbox templates]]
</noinclude>

Latest revision as of 04:44, 1 December 2025

Currently not used.