Template:Navbox generic: Difference between revisions
Template page
More actions
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
<tr> | <tr> | ||
<th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; background:#3F4562; border:1px solid #6C749B;"><span>{{{title}}}</span></th> | <th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; background:#3F4562; border:1px solid #6C749B;"><span>{{{title}}}</span></th> | ||
</tr> | |||
{{#if:{{{above|}}}| | {{#if:{{{above|}}}| | ||
<tr> | <tr> | ||
| Line 9: | Line 9: | ||
{{#if:{{{list1|}}}| | {{#if:{{{list1|}}}| | ||
<tr style="font-size:90%; text-align:left;"> | <tr style="font-size:90%; text-align:left;"> | ||
{{#if:{{{group1|}}} | {{#if:{{{group1|}}}| | ||
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td> | <th style="padding:0.25em 1em; text-align:left; {{{groupstyle|}}}">{{{group1}}}</th>}} | ||
{{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}} | <td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td> | ||
</tr>}} | {{#if:{{{image|}}}| | ||
<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}} | |||
</tr>}} | |||
{{#if:{{{group2|}}} | {{#if:{{{list2|}}}| | ||
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td> | <tr> | ||
</tr>}} | {{#if:{{{group2|}}}| | ||
<th style="{{{groupstyle|}}}">{{{group2}}}</th>}} | |||
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td> | |||
{{#if:{{{group3|}}} | </tr>}} | ||
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td> | {{#if:{{{list3|}}}| | ||
</tr>}} | <tr> | ||
{{#if:{{{group3|}}}| | |||
<th style="{{{groupstyle|}}}">{{{group3}}}</th>}} | |||
{{#if:{{{group4|}}} | <td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td> | ||
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td> | </tr>}} | ||
</tr>}} | {{#if:{{{list4|}}}| | ||
<tr> | |||
{{#if:{{{group4|}}}| | |||
{{#if:{{{group5|}}} | <th style="{{{groupstyle|}}}">{{{group4}}}</th>}} | ||
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td> | <td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td> | ||
</tr>}} | |||
{{#if:{{{list5|}}}| | |||
<tr> | |||
{{#if:{{{group5|}}}| | |||
<th style="{{{groupstyle|}}}">{{{group5}}}</th>}} | |||
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td> | |||
</tr>}} <!-- | </tr>}} <!-- | ||
Revision as of 14:11, 17 June 2019
| {{{title}}} |
|---|