From GamingWiki
Line 42: | Line 42: | ||
-->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | -->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | ||
− | + | -->{{#vardefine: columns | {{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}} }}<!-- | |
---Title and Navbar--- | ---Title and Navbar--- | ||
Line 48: | Line 48: | ||
--><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!-- | --><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!-- | ||
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!-- | --><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!-- | ||
− | -->colspan={{#expr: | + | -->colspan={{#expr:{{#var:columns}}{{#if:{{{titlegroup|}}}|-1}}}} <!-- |
-->class="navbox-title"><!-- | -->class="navbox-title"><!-- | ||
Line 79: | Line 79: | ||
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | -->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | ||
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | ||
− | -->colspan="{{#expr: | + | -->colspan="{{#expr:{{#var:columns}}}}">{{{above}}}</td></tr>}}<!-- |
Line 158: | Line 158: | ||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | ||
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- | --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- | ||
− | -->colspan="{{#expr: | + | -->colspan="{{#expr:{{#var:columns}}}}">{{{below}}}</td></tr>}}<!-- |
Revision as of 03:35, 16 April 2011
[create]
Error creating thumbnail: File missing
Template documentation Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |