Difference between revisions of "Template:Navigation with subheaders"

 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
 
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
 +
 
<div style="background-color:#E3FEFF; border: thin solid gray"><center><small>{{#if:{{{name|}}}|'''Articles about {{{name}}}''' }}</small></center></div>
 
<div style="background-color:#E3FEFF; border: thin solid gray"><center><small>{{#if:{{{name|}}}|'''Articles about {{{name}}}''' }}</small></center></div>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
<table class="wikitable" style="margin:auto; line-height:1.5">
 
<table class="wikitable" style="margin:auto; line-height:1.5">
 +
 
{{#if:{{{group1|}}}|
 
{{#if:{{{group1|}}}|
 
<tr>
 
<tr>
 
<td style="width:25%><small><div style="line-height:1.0">'''{{{group1}}}'''</div></small></td>
 
<td style="width:25%><small><div style="line-height:1.0">'''{{{group1}}}'''</div></small></td>
<td><small><div class="hlist">{{#if:{{{list1|}}}|{{{list1}}} }}
+
<td><small><div class="hlist">{{#if:{{{list1|}}}|{{{list1}}} }} {{#if:{{{subgroup1.1|}}}|
{{#if:{{{subgroup1|}}}|
+
'''{{{subgroup1.1}}}''' <div class="hlist">{{#if:{{{sublist1.1|}}}|{{{sublist1.1}}} }}</div>}} {{#if:{{{subgroup1.2|}}}| <hr />
<td style="width:25%><small><div style="line-height:1.0">'''{{{subgroup1}}}'''</div></small></td>
+
'''{{{subgroup1.2}}}''' <div class="hlist">{{#if:{{{sublist1.2|}}}|{{{sublist1.2}}} }}</div>}} {{#if:{{{subgroup1.3|}}}| <hr />
<td><small><div class="hlist">{{#if:{{{sublist1|}}}|{{{sublist1}}} }} </div></small></td>}}</div></small></td>
+
'''{{{subgroup1.3}}}''' <div class="hlist">{{#if:{{{sublist1.3|}}}|{{{sublist1.3}}} }}</div>}} {{#if:{{{subgroup1.4|}}}| <hr />
 +
'''{{{subgroup1.4}}}''' <div class="hlist">{{#if:{{{sublist1.4|}}}|{{{sublist1.4}}} }}</div>}} {{#if:{{{subgroup1.5|}}}| <hr />
 +
'''{{{subgroup1.5}}}''' <div class="hlist">{{#if:{{{sublist1.5|}}}|{{{sublist1.5}}} }}</div>}} {{#if:{{{subgroup1.6|}}}| <hr />
 +
'''{{{subgroup1.6}}}''' <div class="hlist">{{#if:{{{sublist1.6|}}}|{{{sublist1.6}}} }}</div>}} {{#if:{{{subgroup1.7|}}}| <hr />
 +
'''{{{subgroup1.7}}}''' <div class="hlist">{{#if:{{{sublist1.7|}}}|{{{sublist1.7}}} }}</div>}} {{#if:{{{subgroup1.8|}}}| <hr />
 +
'''{{{subgroup1.8}}}''' <div class="hlist">{{#if:{{{sublist1.8|}}}|{{{sublist1.8}}} }}</div>}} {{#if:{{{subgroup1.9|}}}| <hr />
 +
'''{{{subgroup1.9}}}''' <div class="hlist">{{#if:{{{sublist1.9|}}}|{{{sublist1.9}}} }}</div>}} {{#if:{{{subgroup1.10|}}}| <hr />
 +
'''{{{subgroup1.10}}}''' <div class="hlist">{{#if:{{{sublist1.10|}}}|{{{sublist1.10}}} }}</div>}} {{#if:{{{subgroup1.11|}}}| <hr />
 +
'''{{{subgroup1.11}}}''' <div class="hlist">{{#if:{{{sublist1.11|}}}|{{{sublist1.11}}} }}</div>}} {{#if:{{{subgroup1.12|}}}| <hr />
 +
'''{{{subgroup1.12}}}''' <div class="hlist">{{#if:{{{sublist1.12|}}}|{{{sublist1.12}}} }}</div>}} {{#if:{{{subgroup1.13|}}}| <hr />
 +
'''{{{subgroup1.13}}}''' <div class="hlist">{{#if:{{{sublist1.13|}}}|{{{sublist1.13}}} }}</div>}} {{#if:{{{subgroup1.14|}}}| <hr />
 +
'''{{{subgroup1.14}}}''' <div class="hlist">{{#if:{{{sublist1.14|}}}|{{{sublist1.14}}} }}</div>}} {{#if:{{{subgroup1.15|}}}| <hr />
 +
'''{{{subgroup1.15}}}''' <div class="hlist">{{#if:{{{sublist1.15|}}}|{{{sublist1.15}}} }}</div>}}
 +
</div></small></td>
 
</tr>}}
 
</tr>}}
 +
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|
 
<tr>
 
<tr>
 
<td><small><div style="line-height:1.0">'''{{{group2}}}'''</div></small></td>
 
<td><small><div style="line-height:1.0">'''{{{group2}}}'''</div></small></td>
<td><small><div class="hlist">{{#if:{{{list2|}}}|{{{list2}}} }}</div></small></td>
+
<td><small><div class="hlist">{{#if:{{{list2|}}}|{{{list2}}} }} {{#if:{{{subgroup2.1|}}}|
 +
'''{{{subgroup2.1}}}''' <div class="hlist">{{#if:{{{sublist2.1|}}}|{{{sublist2.1}}} }}</div>}} {{#if:{{{subgroup2.2|}}}| <hr />
 +
'''{{{subgroup2.2}}}''' <div class="hlist">{{#if:{{{sublist2.2|}}}|{{{sublist2.2}}} }}</div>}} {{#if:{{{subgroup2.3|}}}| <hr />
 +
'''{{{subgroup2.3}}}''' <div class="hlist">{{#if:{{{sublist2.3|}}}|{{{sublist2.3}}} }}</div>}} {{#if:{{{subgroup2.4|}}}| <hr />
 +
'''{{{subgroup2.4}}}''' <div class="hlist">{{#if:{{{sublist2.4|}}}|{{{sublist2.4}}} }}</div>}} {{#if:{{{subgroup2.5|}}}| <hr />
 +
'''{{{subgroup2.5}}}''' <div class="hlist">{{#if:{{{sublist2.5|}}}|{{{sublist2.5}}} }}</div>}} {{#if:{{{subgroup2.6|}}}| <hr />
 +
'''{{{subgroup2.6}}}''' <div class="hlist">{{#if:{{{sublist2.6|}}}|{{{sublist2.6}}} }}</div>}} {{#if:{{{subgroup2.7|}}}| <hr />
 +
'''{{{subgroup2.7}}}''' <div class="hlist">{{#if:{{{sublist2.7|}}}|{{{sublist2.7}}} }}</div>}} {{#if:{{{subgroup2.8|}}}| <hr />
 +
'''{{{subgroup2.8}}}''' <div class="hlist">{{#if:{{{sublist2.8|}}}|{{{sublist2.8}}} }}</div>}} {{#if:{{{subgroup2.9|}}}| <hr />
 +
'''{{{subgroup2.9}}}''' <div class="hlist">{{#if:{{{sublist2.9|}}}|{{{sublist2.9}}} }}</div>}} {{#if:{{{subgroup2.10|}}}| <hr />
 +
'''{{{subgroup2.10}}}''' <div class="hlist">{{#if:{{{sublist2.10|}}}|{{{sublist2.10}}} }}</div>}}
 +
</div></small></td>
 
</tr>}}
 
</tr>}}
 +
 
{{#if:{{{group3|}}}|
 
{{#if:{{{group3|}}}|
 
<tr>
 
<tr>
 
<td><small><div style="line-height:1.0">'''{{{group3}}}'''</div></small></td>
 
<td><small><div style="line-height:1.0">'''{{{group3}}}'''</div></small></td>
<td><small><div class="hlist">{{#if:{{{list3|}}}|{{{list3}}} }}</div></small></td>
+
<td><small><div class="hlist">{{#if:{{{list3|}}}|{{{list3}}} }} {{#if:{{{subgroup3.1|}}}|
 +
'''{{{subgroup3.1}}}''' <div class="hlist">{{#if:{{{sublist3.1|}}}|{{{sublist3.1}}} }}</div>}} {{#if:{{{subgroup3.2|}}}| <hr />
 +
'''{{{subgroup3.2}}}''' <div class="hlist">{{#if:{{{sublist3.2|}}}|{{{sublist3.2}}} }}</div>}} {{#if:{{{subgroup3.3|}}}| <hr />
 +
'''{{{subgroup3.3}}}''' <div class="hlist">{{#if:{{{sublist3.3|}}}|{{{sublist3.3}}} }}</div>}} {{#if:{{{subgroup3.4|}}}| <hr />
 +
'''{{{subgroup3.4}}}''' <div class="hlist">{{#if:{{{sublist3.4|}}}|{{{sublist3.4}}} }}</div>}} {{#if:{{{subgroup3.5|}}}| <hr />
 +
'''{{{subgroup3.5}}}''' <div class="hlist">{{#if:{{{sublist3.5|}}}|{{{sublist3.5}}} }}</div>}} {{#if:{{{subgroup3.6|}}}| <hr />
 +
'''{{{subgroup3.6}}}''' <div class="hlist">{{#if:{{{sublist3.6|}}}|{{{sublist3.6}}} }}</div>}} {{#if:{{{subgroup3.7|}}}| <hr />
 +
'''{{{subgroup3.7}}}''' <div class="hlist">{{#if:{{{sublist3.7|}}}|{{{sublist3.7}}} }}</div>}} {{#if:{{{subgroup3.8|}}}| <hr />
 +
'''{{{subgroup3.8}}}''' <div class="hlist">{{#if:{{{sublist3.8|}}}|{{{sublist3.8}}} }}</div>}} {{#if:{{{subgroup3.9|}}}| <hr />
 +
'''{{{subgroup3.9}}}''' <div class="hlist">{{#if:{{{sublist3.9|}}}|{{{sublist3.9}}} }}</div>}} {{#if:{{{subgroup3.10|}}}| <hr />
 +
'''{{{subgroup1.10}}}''' <div class="hlist">{{#if:{{{sublist3.10|}}}|{{{sublist3.10}}} }}</div>}}
 +
</div></small></td>
 
</tr>}}
 
</tr>}}
 +
 
{{#if:{{{group4|}}}|
 
{{#if:{{{group4|}}}|
 
<tr>
 
<tr>

Latest revision as of 10:35, 20 May 2023