Template:Navbox subgroup: Difference between revisions
Appearance
wikademia>Sardanaphalus m typo |
wikademia>Soumyasch trying to add above and below. didn't touch any existing params, so should not break |
||
| Line 1: | Line 1: | ||
<table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0; border:none; margin:-3px; text-align:left; {{{bodystyle|}}}"> | <table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0; border:none; margin:-3px; text-align:left; {{{bodystyle|}}}"><!-- | ||
{{#if:{{{list1|}}} |<tr> | ---Above (optional)--- | ||
-->{{#if:{{{above|}}}|<tr><td style="text-align:center;background:#ddddff;{{{abovestyle|}}}" colspan="{{#if:{{{group1}}}{{{group2}}}{{{group3}}}{{{group4}}}{{{group5}}}{{{group6}}}{{{group7}}}{{{group8}}}{{{group9}}}{{{group10}}}{{{group11}}}{{{group12}}}{{{group13}}}{{{group14}}}{{{group15}}}|2|1}}">{{{above|}}}</td></tr>}}<!-- | |||
-->{{#if:{{{list1|}}} |<tr> | |||
{{#if:{{{group1|}}} |<th style="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> | ||
| Line 74: | Line 77: | ||
{{#if:{{{group15|}}} |<th style="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>}} <!-- | ||
---Above (optional)--- | |||
-->{{#if:{{{below|}}}|<tr><td style="text-align:center;background:#ddddff;{{{belowstyle|}}}" colspan="{{#if:{{{group1}}}{{{group2}}}{{{group3}}}{{{group4}}}{{{group5}}}{{{group6}}}{{{group7}}}{{{group8}}}{{{group9}}}{{{group10}}}{{{group11}}}{{{group12}}}{{{group13}}}{{{group14}}}{{{group15}}}|2|1}}">{{{below|}}}</td></tr>}}<!-- | |||
--></table><noinclude> | --></table><noinclude> | ||