Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="navbox collapsible {{{state|autocollapse}}}" style="margin:auto; {{{style|}}}{{{bodystyle|}}}">
+
<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:thin solid #8B94AA; font-size:medium; text-align:center; padding:2px;"><span>{{{title}}}</span></th>
----------------------------------------Titlebar-----------------------------------------
+
</tr>
--><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center;
+
{{#if:{{{above|}}}|
{{{titlestyle|}}}"><span style="font-size:110%;">{{{title}}}</span></th>
+
<tr>
</tr> <!--
+
<td colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td>
 
+
</tr>}}
-----------------------above (optional content above groups)-----------------------
+
{{#if:{{{list1|}}}|
-->{{#if:{{{above|}}} |<tr>
+
<tr>
<td style="{{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td>
+
{{#if:{{{group1|}}}|
</tr>}} <!--
+
<th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group1}}}</th>}}
 
+
<td colspan="{{#if:{{{group1|}}}|1|2}}" style="color:#8B94AA;">{{{list1}}}</td>
----------------------------------------- Groups ----------------------------------------
+
{{#if:{{{image|}}}|
-->{{#if:{{{list1|}}} |<tr>
+
<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}
{{#if:{{{group1|}}}   |<th style="{{{groupstyle|}}}">{{{group1}}}</th>}}
+
</tr>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
+
{{#if:{{{list2|}}}|
{{#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>
</tr>}} <!--
+
{{#if:{{{group2|}}}|
 
+
<th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group2}}}</th>}}
-->{{#if:{{{list2|}}} |<tr>
+
<td colspan="{{#if:{{{group2|}}}|1|2}}" style="color:#8B94AA;">{{{list2}}}</td>
{{#if:{{{group2|}}}   |<th style="{{{groupstyle|}}}">{{{group2}}}</th>}}
+
</tr>}}
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
+
{{#if:{{{below|}}}|
</tr>}} <!--
+
<tr>
 
+
<td colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
-->{{#if:{{{list3|}}}  |<tr>
+
</tr>}}
{{#if:{{{group3|}}}    |<th style="{{{groupstyle|}}}">{{{group3}}}</th>}}
+
</table><noinclude>[[Category:Templates]]</noinclude>
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list4|}}}  |<tr>
 
{{#if:{{{group4|}}}    |<th style="{{{groupstyle|}}}">{{{group4}}}</th>}}
 
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list5|}}}  |<tr>
 
{{#if:{{{group5|}}}    |<th style="{{{group5}}}</th>}}
 
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
 
</tr>}} <!--
 
 
 
-----------------------below (optional content below groups)-----------------------
 
-->{{#if:{{{below|}}} |<tr>
 
<td style="{{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
 
</tr>}}
 
</table>
 

Latest revision as of 22:00, 10 July 2020

{{{title}}}