Difference between revisions of "Template:Navbox generic"
From Summertime Saga Wiki
m |
m |
||
(31 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table style="margin:auto;background:#3F4454; | + | <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=" | + | <th colspan="2" style="background:#3F4562; border:thin solid #8B94AA; font-size:medium; text-align:center; padding:2px;"><span>{{{title}}}</span></th> |
− | + | </tr> | |
{{#if:{{{above|}}}| | {{#if:{{{above|}}}| | ||
<tr> | <tr> | ||
− | <td | + | <td colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td> |
</tr>}} | </tr>}} | ||
{{#if:{{{list1|}}}| | {{#if:{{{list1|}}}| | ||
− | <tr | + | <tr> |
− | {{#if:{{{group1|}}} | + | {{#if:{{{group1|}}}| |
− | <td | + | <th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group1}}}</th>}} |
− | {{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2 | + | <td colspan="{{#if:{{{group1|}}}|1|2}}" style="color:#8B94AA;">{{{list1}}}</td> |
− | </tr>}} | + | {{#if:{{{image|}}}| |
− | + | <td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}} | |
− | + | </tr>}} | |
− | {{#if:{{{group2|}}} | + | {{#if:{{{list2|}}}| |
− | + | <tr> | |
− | + | {{#if:{{{group2|}}}| | |
− | + | <th style="padding-right:6px; border-right:thin solid #8B94AA;">{{{group2}}}</th>}} | |
− | + | <td colspan="{{#if:{{{group2|}}}|1|2}}" style="color:#8B94AA;">{{{list2}}}</td> | |
− | + | </tr>}} | |
− | <td | + | {{#if:{{{below|}}}| |
− | + | <tr> | |
− | + | <td colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td> | |
− | + | </tr>}} | |
− | + | </table><noinclude>[[Category:Templates]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </tr>}} | ||
− | |||
− | |||
− | |||
− | <td | ||
− | </tr>}} | ||
− | </table> |
Latest revision as of 22:00, 10 July 2020
{{{title}}} |
---|