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;">
 
<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>
 
</tr>
 
{{#if:{{{above|}}}|
 
{{#if:{{{above|}}}|
Line 19: Line 19:
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|
 
<th style="{{{groupstyle|}}}">{{{group2}}}</th>}}
 
<th style="{{{groupstyle|}}}">{{{group2}}}</th>}}
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
+
<td style="{{{liststyle|}}} {{{evenstyle|}}}" 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 style="{{{groupstyle|}}}">{{{group3}}}</th>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
+
<td style="{{{liststyle|}}} {{{oddstyle|}}}" 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 style="{{{groupstyle|}}}">{{{group4}}}</th>}}
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
+
<td style="{{{liststyle|}}} {{{evenstyle|}}}" 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 style="{{{groupstyle|}}}">{{{group5}}}</th>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
+
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
</tr>}} <!--
+
</tr>}}
 
+
{{#if:{{{below|}}}|
-----------------------below (optional content below groups)-----------------------
+
<tr>
-->{{#if:{{{below|}}} |<tr>
+
<td style="{{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
<td style="{{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
+
</tr>}}
</tr>}}
 
 
</table>
 
</table>

Revision as of 15:18, 17 June 2019

{{{title}}}