Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 3: Line 3:
  
 
----------------------------------------Titlebar-----------------------------------------
 
----------------------------------------Titlebar-----------------------------------------
--><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center;
+
--><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center;{{{titlestyle|}}}"><span style="font-size:110%;">{{{title}}}</span></th>
<!---deprecated:--->
 
  {{#if:{{{titlebkg|}}}{{{color|}}} |background:{{{titlebkg|}}}{{{color|}}};}}
 
  {{{title_style|}}}
 
<!---->
 
{{{titlestyle|}}}"><span style="font-size:110%;">{{{title}}}</span></th>
 
 
</tr> <!--
 
</tr> <!--
  
 
-----------------------above (optional content above groups)-----------------------
 
-----------------------above (optional content above groups)-----------------------
-->{{#if:<!---deprecated:--->{{{top|}}}<!----> {{{above|}}} |<tr>
+
-->{{#if:{{{above|}}} |<tr>
<td style="<!---deprecated:--->{{{top-style|}}}{{{above_style|}}}<!----> {{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><!---deprecated:--->{{{top|}}}<!----> {{{above|}}}</td>
+
<td style="{{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td>
 
</tr>}} <!--
 
</tr>}} <!--
  
 
----------------------------------------- Groups ----------------------------------------
 
----------------------------------------- Groups ----------------------------------------
 
-->{{#if:{{{list1|}}}  |<tr>
 
-->{{#if:{{{list1|}}}  |<tr>
{{#if:{{{group1|}}}    |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group1}}}</th>}}
+
{{#if:{{{group1|}}}    |<th style="{{{groupstyle|}}}">{{{group1}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{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}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|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}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}

Revision as of 13:48, 17 June 2019