Difference between revisions of "Template:Navbox generic"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(47 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;{{{titlestyle|}}}"><span style="font-size:110%;">{{{title}}}</span></th>
+
{{#if:{{{above|}}}|
</tr> <!--
+
<tr>
 
+
<td colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td>
-----------------------above (optional content above groups)-----------------------
+
</tr>}}
-->{{#if:{{{above|}}} |<tr>
+
{{#if:{{{list1|}}}|
<td style="{{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td>
+
<tr>
</tr>}} <!--
+
{{#if:{{{group1|}}}|
 
+
<th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group1}}}</th>}}
----------------------------------------- Groups ----------------------------------------
+
<td colspan="{{#if:{{{group1|}}}|1|2}}" style="color:#8B94AA;">{{{list1}}}</td>
-->{{#if:{{{list1|}}} |<tr>
+
{{#if:{{{image|}}}|
{{#if:{{{group1|}}}    |<th style="{{{groupstyle|}}}">{{{group1}}}</th>}}
+
<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
+
</tr>}}
{{#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:{{{list2|}}}|
</tr>}} <!--
+
<tr>
 
+
{{#if:{{{group2|}}}|
-->{{#if:{{{list2|}}}  |<tr>
+
<th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group2}}}</th>}}
{{#if:{{{group2|}}}    |<th style="{{{groupstyle|}}}">{{{group2}}}</th>}}
+
<td colspan="{{#if:{{{group2|}}}|1|2}}" style="color:#8B94AA;">{{{list2}}}</td>
<td style="{{{liststyle|}}} {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
+
</tr>}}
</tr>}} <!--
+
{{#if:{{{below|}}}|
 
+
<tr>
-->{{#if:{{{list3|}}}  |<tr>
+
<td colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td>
{{#if:{{{group3|}}}    |<th style="{{{groupstyle|}}}">{{{group3}}}</th>}}
+
</tr>}}
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
+
</table><noinclude>[[Category:Templates]]</noinclude>
</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="{{{groupstyle|}}}">{{{group5}}}</th>}}
 
<td style="{{{liststyle|}}} {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list6|}}}  |<tr>
 
{{#if:{{{group6|}}}    |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group6}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list7|}}}  |<tr>
 
{{#if:{{{group7|}}}    |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group7}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list8|}}}  |<tr>
 
{{#if:{{{group8|}}}    |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group8}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list9|}}}  |<tr>
 
{{#if:{{{group9|}}}    |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group9}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list10|}}} |<tr>
 
{{#if:{{{group10|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group10}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list11|}}} |<tr>
 
{{#if:{{{group11|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group11}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list12|}}} |<tr>
 
{{#if:{{{group12|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group12}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list13|}}} |<tr>
 
{{#if:{{{group13|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group13}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list14|}}} |<tr>
 
{{#if:{{{group14|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group14}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list15|}}} |<tr>
 
{{#if:{{{group15|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group15}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list16|}}} |<tr>
 
{{#if:{{{group16|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group16}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group16|}}}|1|2}}">{{{list16}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list17|}}} |<tr>
 
{{#if:{{{group17|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group17}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group17|}}}|1|2}}">{{{list17}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list18|}}} |<tr>
 
{{#if:{{{group18|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group18}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group18|}}}|1|2}}">{{{list18}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list19|}}} |<tr>
 
{{#if:{{{group19|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group19}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group19|}}}|1|2}}">{{{list19}}}</td>
 
</tr>}} <!--
 
 
 
-->{{#if:{{{list20|}}} |<tr>
 
{{#if:{{{group20|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group20}}}</th>}}
 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group20|}}}|1|2}}">{{{list20}}}</td>
 
</tr>}} <!--
 
 
 
-----------------------below (optional content below groups)-----------------------
 
-->{{#if:<!---deprecated:--->{{{bottom|}}}<!----> {{{below|}}} |<tr>
 
<td style="<!---deprecated:--->{{{bottom-style|}}}{{{below_style|}}}<!----> {{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><!----deprecated:---->{{{bottom|}}}<!----> {{{below|}}}</td>
 
</tr>}}
 
 
 
</table>
 

Latest revision as of 23:00, 10 July 2020

{{{title}}}