Template:Navbox subgroup: Difference between revisions
Appearance
wikademia>Chochopk m remove blank space above documentation |
wikademia>CapitalR fixing first group, which was different than all the rest for some reason |
||
| Line 1: | Line 1: | ||
<includeonly><table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0px; border:0px; margin:-3px; {{{bodystyle|}}}"> | <includeonly><table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0px; border:0px; margin:-3px; {{{bodystyle|}}}"> | ||
{{#if:{{{list1|}}} | {{#if:{{{list1|}}} |<tr> | ||
{{#if:{{{group1|}}} |<th style="background:#e6e6ff;{{{groupstyle|}}}{{{groupoddstyle|}}}{{{group1style|}}} ">{{{group1}}}</th>}} | {{#if:{{{group1|}}} |<th style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{groupstyle|}}}{{{groupoddstyle|}}}{{{group1style|}}} ">{{{group1}}}</th>}} | ||
<td style="width:100%;text-align:left;{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td> | <td style="width:100%;text-align:left;{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{list2|}}} |<tr> | {{#if:{{{list2|}}} |<tr> | ||
{{#if:{{{group2|}}} |<th style="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="width:100%;text-align:left;{{{liststyle|}}}{{{evenstyle|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td> | <td style="width:100%;text-align:left;{{{liststyle|}}}{{{evenstyle|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td> | ||