Jump to content

Template:Navbox subgroup: Difference between revisions

From IdeaWazaWiki
wikademia>Davidgothberg
Ok, margin:-3px is necessary. Testing group colour #e6e6ff;
wikademia>Davidgothberg
Cleaning up the code.
Line 1: Line 1:
<table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0; border:0; margin:-3px; {{{bodystyle|}}}">
<includeonly><table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0; border:0; margin:-3px; {{{bodystyle|}}}">


{{#if:{{{list1<includeonly>|</includeonly>}}}  |<tr>
{{#if:{{{list1|}}}  |<tr>
{{#if:{{{group1<includeonly>|</includeonly>}}} |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group1}}}</th>}}
{{#if:{{{group1|}}} |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group1}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list2<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list2|}}} |<tr>
{{#if:{{{group2<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group2}}}</th>}}
{{#if:{{{group2|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group2}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list3<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list3|}}} |<tr>
{{#if:{{{group3<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group3}}}</th>}}
{{#if:{{{group3|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group3}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list4<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list4|}}} |<tr>
{{#if:{{{group4<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group4}}}</th>}}
{{#if:{{{group4|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group4}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list5<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list5|}}} |<tr>
{{#if:{{{group5<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group5}}}</th>}}
{{#if:{{{group5|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group5}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list6<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list6|}}} |<tr>
{{#if:{{{group6<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group6}}}</th>}}
{{#if:{{{group6|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group6}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list7<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list7|}}} |<tr>
{{#if:{{{group7<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group7}}}</th>}}
{{#if:{{{group7|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group7}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list8<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list8|}}} |<tr>
{{#if:{{{group8<includeonly>|</includeonly>}}}  |<th style="width:25%;background:#e6e6ff;{{{groupstyle|}}}">{{{group8}}}</th>}}
{{#if:{{{group8|}}}  |<th style="width:25%;background:#e6e6ff;{{{groupstyle|}}}">{{{group8}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list9<includeonly>|</includeonly>}}} |<tr>
-->{{#if:{{{list9|}}} |<tr>
{{#if:{{{group9<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group9}}}</th>}}
{{#if:{{{group9|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group9}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list10<includeonly>|</includeonly>}}}|<tr>
-->{{#if:{{{list10|}}}|<tr>
{{#if:{{{group10<includeonly>|</includeonly>}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group10}}}</th>}}
{{#if:{{{group10|}}}  |<th style="background:#e6e6ff;{{{groupstyle|}}}">{{{group10}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
</tr>}}
</tr>}}


</table><noinclude>
</table></includeonly><noinclude>





Revision as of 19:01, 27 August 2007