Template:Navbox: Difference between revisions

Use CSS instead of hardcoding colors due to users being able to select light or dark mode.
Replaced content with "Currently not used."
Tag: Replaced
 
(9 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}}}
}}
 
<!-- ===== BLOCK 7 ===== -->
{{#if:{{{header7|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header7}}}
}}
{{#if:{{{group7|}}}{{{list7|}}}|
|-
! class="dxx-navbox-group" | {{{group7}}}
| class="dxx-navbox-list"  | {{{list7}}}
}}
 
<!-- ===== BLOCK 8 ===== -->
{{#if:{{{header8|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header8}}}
}}
{{#if:{{{group8|}}}{{{list8|}}}|
|-
! class="dxx-navbox-group" | {{{group8}}}
| class="dxx-navbox-list"  | {{{list8}}}
}}
 
<!-- ===== BLOCK 9 ===== -->
{{#if:{{{header9|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header9}}}
}}
{{#if:{{{group9|}}}{{{list9|}}}|
|-
! class="dxx-navbox-group" | {{{group9}}}
| class="dxx-navbox-list"  | {{{list9}}}
}}
 
<!-- ===== BLOCK 10 ===== -->
{{#if:{{{header10|}}}|
|-
! colspan="2" class="dxx-navbox-header" | {{{header10}}}
}}
{{#if:{{{group10|}}}{{{list10|}}}|
|-
! class="dxx-navbox-group" | {{{group10}}}
| class="dxx-navbox-list"  | {{{list10}}}
}}
 
|}
</includeonly>
 
<noinclude>
Generic navbox meta-template used to build navigation boxes.
 
[[Category:Navbox templates]]
</noinclude>