Difference between revisions of "Template:Navigation with subheaders"

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}}} }}
 +
<table class="wikitable">
 
{{#if:{{{subgroup1.1|}}}|
 
{{#if:{{{subgroup1.1|}}}|
<table class="wikitable">
 
 
<tr>
 
<tr>
 
<td>'''{{{subgroup1.1}}}'''
 
<td>'''{{{subgroup1.1}}}'''
Line 61: Line 63:
 
</div></small></td>
 
</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}}} }}
 
<td><small><div class="hlist">{{#if:{{{list2|}}}|{{{list2}}} }}
 +
<table class="wikitable">
 
{{#if:{{{subgroup2.1|}}}|
 
{{#if:{{{subgroup2.1|}}}|
<table class="wikitable">
 
 
<tr>
 
<tr>
 
<td>'''{{{subgroup2.1}}}'''
 
<td>'''{{{subgroup2.1}}}'''

Revision as of 09:39, 20 May 2023