Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<table style="margin:auto;background:#3F4454; padding:2px; color:white;">
+
<table style="margin:auto;background:#3F4454; padding:2px; color:white; font-size:90%; text-align:left;">
 
<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="background:#3F4562; border:1px solid #6C749B; font-size:122%; text-align:center;"><span>{{{title}}}</span></th>
 
</tr>
 
</tr>
 
{{#if:{{{above|}}}|
 
{{#if:{{{above|}}}|
Line 8: Line 8:
 
</tr>}}
 
</tr>}}
 
{{#if:{{{list1|}}}|
 
{{#if:{{{list1|}}}|
<tr style="font-size:90%; text-align:left;">
+
<tr>
 
{{#if:{{{group1|}}}|
 
{{#if:{{{group1|}}}|
<th style="padding:0.25em 1em; text-align:left; {{{groupstyle|}}}">{{{group1}}}</th>}}
+
<th style="padding:0.25em 1em;">{{{group1}}}</th>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
+
<td colspan="{{#if:{{{group1|}}}|1|2}}">{{{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}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}
Line 18: Line 18:
 
<tr>
 
<tr>
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|
<th style="{{{groupstyle|}}}">{{{group2}}}</th>}}
+
<th>{{{group2}}}</th>}}
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
+
<td colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{list3|}}}|
 
{{#if:{{{list3|}}}|
 
<tr>
 
<tr>
 
{{#if:{{{group3|}}}|
 
{{#if:{{{group3|}}}|
<th style="{{{groupstyle|}}}">{{{group3}}}</th>}}
+
<th>{{{group3}}}</th>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
+
<td colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{list4|}}}|
 
{{#if:{{{list4|}}}|
 
<tr>
 
<tr>
 
{{#if:{{{group4|}}}|
 
{{#if:{{{group4|}}}|
<th style="{{{groupstyle|}}}">{{{group4}}}</th>}}
+
<th>{{{group4}}}</th>}}
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
+
<td colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{list5|}}}|
 
{{#if:{{{list5|}}}|
 
<tr>
 
<tr>
 
{{#if:{{{group5|}}}|
 
{{#if:{{{group5|}}}|
<th style="{{{groupstyle|}}}">{{{group5}}}</th>}}
+
<th>{{{group5}}}</th>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
+
<td colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{below|}}}|
 
{{#if:{{{below|}}}|

Revision as of 15:26, 17 June 2019

{{{title}}}