Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<table class="navbox collapsible {{{state|autocollapse}}}" style="margin:auto;background:#3F4454; padding:2px;">
+
<table class="navbox collapsible {{{state|autocollapse}}}" style="margin:auto;background:#3F4454; padding:2px; color:white;">
 
<tr><!--
 
<tr><!--
  
----------------------------------------Titlebar----------------------------------------><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; color:white; background:#3f4562; border:1px solid #6c749b;"><span>{{{title}}}</span></th>
+
----------------------------------------Titlebar----------------------------------------><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; background:#3F4562; border:1px solid #6C749B;"><span>{{{title}}}</span></th>
 
</tr> <!--
 
</tr> <!--
  
Line 10: Line 10:
  
 
-----------------------------------------Groups----------------------------------------->{{#if:{{{list1|}}}  |<tr style="font-size:90%;">
 
-----------------------------------------Groups----------------------------------------->{{#if:{{{list1|}}}  |<tr style="font-size:90%;">
{{#if:{{{group1|}}}    |<th style="padding:0.25em 1em; color:white; {{{groupstyle|}}}">{{{group1}}}</th>}}
+
{{#if:{{{group1|}}}    |<th style="padding:0.25em 1em; {{{groupstyle|}}}">{{{group1}}}</th>}}
 
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
 
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
 
{{#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>}}
 
{{#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>}}

Revision as of 13:27, 17 June 2019