Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="position:relative; margin:auto; background:#3F4454; border-spacing:6px; color:white; font-size:90%; text-align:left;">
+
<table style="clear:both; margin:auto; background:#3F4454; border-spacing:5px; color:white; font-size:small; text-align:left; width:100%;">
 
<tr>
 
<tr>
<th colspan="2" style="background:#3F4562; border:1px solid #6C749B; font-size:122%; text-align:center; padding:2px;"><span>{{{title}}}</span></th>
+
<th colspan="2" style="background:#3F4562; border:thin solid #8B94AA; font-size:medium; text-align:center; padding:2px;"><span>{{{title}}}</span></th>
 
</tr>
 
</tr>
 
{{#if:{{{above|}}}|
 
{{#if:{{{above|}}}|
Line 10: Line 10:
 
<tr>
 
<tr>
 
{{#if:{{{group1|}}}|
 
{{#if:{{{group1|}}}|
<th style="padding-right:6px; border-right:1px solid #6C749B;">{{{group1}}}</th>}}
+
<th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group1}}}</th>}}
<td colspan="{{#if:{{{group1|}}}|1|2}}" style="color:#6C749B;">{{{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|}}}|
 
<tr>
 
<tr>
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|
<th>{{{group2}}}</th>}}
+
<th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group2}}}</th>}}
<td colspan="{{#if:{{{group2|}}}|1|2}}">{{{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|}}}|
Line 43: Line 25:
 
<td colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
 
<td colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
 
</tr>}}
 
</tr>}}
</table>
+
</table><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:00, 10 July 2020

{{{title}}}