Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 13: Line 13:
 
<td colspan="{{#if:{{{group1|}}}|1|2}}" style="color:#8B94AA;">{{{list1}}}</td>
 
<td colspan="{{#if:{{{group1|}}}|1|2}}" style="color:#8B94AA;">{{{list1}}}</td>
 
{{#if:{{{image|}}}|
 
{{#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 rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}
 
</tr>}}
 
</tr>}}
 
{{#if:{{{list2|}}}|
 
{{#if:{{{list2|}}}|
Line 20: Line 20:
 
<th style="padding-right:6px; border-right:1px solid #8B94AA;">{{{group2}}}</th>}}
 
<th style="padding-right:6px; border-right:1px solid #8B94AA;">{{{group2}}}</th>}}
 
<td colspan="{{#if:{{{group2|}}}|1|2}}" style="color:#8B94AA;">{{{list2}}}</td>
 
<td colspan="{{#if:{{{group2|}}}|1|2}}" style="color:#8B94AA;">{{{list2}}}</td>
</tr>}}
 
{{#if:{{{list3|}}}|
 
<tr>
 
{{#if:{{{group3|}}}|
 
<th>{{{group3}}}</th>}}
 
<td colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
 
</tr>}}
 
{{#if:{{{list4|}}}|
 
<tr>
 
{{#if:{{{group4|}}}|
 
<th>{{{group4}}}</th>}}
 
<td colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
 
</tr>}}
 
{{#if:{{{list5|}}}|
 
<tr>
 
{{#if:{{{group5|}}}|
 
<th>{{{group5}}}</th>}}
 
<td colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
 
 
</tr>}}
 
</tr>}}
 
{{#if:{{{below|}}}|
 
{{#if:{{{below|}}}|

Revision as of 20:27, 28 May 2020

{{#if:|


{{{title}}}
{{{list1}}}