Jump to content

Template:Navbox subgroup: Difference between revisions

From IdeaWazaWiki
wikademia>Sardanaphalus
reducing padding between end of groupnames and starts of lists
wikademia>Sardanaphalus
m rv self
Line 2: Line 2:


{{#if:{{{list1|}}}    |<tr>
{{#if:{{{list1|}}}    |<tr>
{{#if:{{{group1|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group1style|}}}">{{{group1}}}</th>
{{#if:{{{group1|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group1style|}}}">{{{group1}}}</th>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">|<td colspan="2" style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">}}{{{list1}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">|<td colspan="2" style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">}}{{{list1}}}</td>
</tr>}}
</tr>}}


{{#if:{{{list2|}}}    |<tr>
{{#if:{{{list2|}}}    |<tr>
{{#if:{{{group2|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group2style|}}} ">{{{group2}}}</th>}}
{{#if:{{{group2|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group2style|}}} ">{{{group2}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list3|}}}  |<tr>
-->{{#if:{{{list3|}}}  |<tr>
{{#if:{{{group3|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group3style|}}} ">{{{group3}}}</th>}}
{{#if:{{{group3|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group3style|}}} ">{{{group3}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list3style|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list3style|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list4|}}}  |<tr>
-->{{#if:{{{list4|}}}  |<tr>
{{#if:{{{group4|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group4style|}}} ">{{{group4}}}</th>}}
{{#if:{{{group4|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group4style|}}} ">{{{group4}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list4style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list4style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list5|}}}  |<tr>
-->{{#if:{{{list5|}}}  |<tr>
{{#if:{{{group5|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group5style|}}} ">{{{group5}}}</th>}}
{{#if:{{{group5|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group5style|}}} ">{{{group5}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list5style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list5style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list6|}}}  |<tr>
-->{{#if:{{{list6|}}}  |<tr>
{{#if:{{{group6|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group6style|}}} ">{{{group6}}}</th>}}
{{#if:{{{group6|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group6style|}}} ">{{{group6}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list6style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list6style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list7|}}}  |<tr>
-->{{#if:{{{list7|}}}  |<tr>
{{#if:{{{group7|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group7style|}}} ">{{{group7}}}</th>}}
{{#if:{{{group7|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group7style|}}} ">{{{group7}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list7style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list7style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list8|}}}  |<tr>
-->{{#if:{{{list8|}}}  |<tr>
{{#if:{{{group8|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group8style|}}} ">{{{group8}}}</th>}}
{{#if:{{{group8|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group8style|}}} ">{{{group8}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list8style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list8style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list9|}}}  |<tr>
-->{{#if:{{{list9|}}}  |<tr>
{{#if:{{{group9|}}}    |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group9style|}}} ">{{{group9}}}</th>}}
{{#if:{{{group9|}}}    |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group9style|}}} ">{{{group9}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list9style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list9style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list10|}}} |<tr>
-->{{#if:{{{list10|}}} |<tr>
{{#if:{{{group10|}}}  |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group10style|}}} ">{{{group10}}}</th>}}
{{#if:{{{group10|}}}  |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group10style|}}} ">{{{group10}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list10style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list10style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list11|}}} |<tr>
-->{{#if:{{{list11|}}} |<tr>
{{#if:{{{group11|}}}  |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group11style|}}} ">{{{group11}}}</th>}}
{{#if:{{{group11|}}}  |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group11style|}}} ">{{{group11}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list11style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list11style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list12|}}} |<tr>
-->{{#if:{{{list12|}}} |<tr>
{{#if:{{{group12|}}}  |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group12style|}}} ">{{{group12}}}</th>}}
{{#if:{{{group12|}}}  |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group12style|}}} ">{{{group12}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list12style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list12style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list13|}}} |<tr>
-->{{#if:{{{list13|}}} |<tr>
{{#if:{{{group13|}}}  |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group13style|}}} ">{{{group13}}}</th>}}
{{#if:{{{group13|}}}  |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group13style|}}} ">{{{group13}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list13style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list13style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list14|}}} |<tr>
-->{{#if:{{{list14|}}} |<tr>
{{#if:{{{group14|}}}  |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group14style|}}} ">{{{group14}}}</th>}}
{{#if:{{{group14|}}}  |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupoddstyle|}}}{{{group14style|}}} ">{{{group14}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list14style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td>
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list14style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td>
</tr>}} <!--
</tr>}} <!--


-->{{#if:{{{list15|}}} |<tr>
-->{{#if:{{{list15|}}} |<tr>
{{#if:{{{group15|}}}  |<th style="padding-right:0.5em;background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group15style|}}} ">{{{group15}}}</th>}}
{{#if:{{{group15|}}}  |<th style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|}}}{{{groupevenstyle|}}}{{{group15style|}}} ">{{{group15}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td></tr>}} <!--
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td></tr>}} <!--



Revision as of 23:43, 1 March 2008