From GamingWiki
(Created page with "<!-- Please do not edit without discussion first as this is a VERY complex template. -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbo...") |
|||
| Line 76: | Line 76: | ||
---Remaining groups/lists--- | ---Remaining groups/lists--- | ||
| + | |||
| + | -->{{#vardefine:nboxD|1}}<!-- | ||
| + | -->{{#while: | {{#ifexpr:{{#vardefineecho: nboxD| {{#expr:{{#var:nboxD}}+1}} }} < 81 | 1 }} <!-- | ||
| + | -->|<!-- | ||
| + | -->{{#vardefine: parity | {{#if: {{#expr: ({{#var:nboxD}} {{#ifeq:{{{evenodd|}}}|swap|+1}}) mod 2 }} | odd | even }} }}<!-- | ||
| + | |||
| + | -->{{#if:{{{list{{#var:nboxD}}|}}}<!-- | ||
| + | -->|<!-- this list exists | ||
| + | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | ||
| + | -->{{#if:{{{group{{#var:nboxD}}|}}}<!-- | ||
| + | -->|<!-- add a group header cell | ||
| + | --><td class="navbox-group" style="<!-- | ||
| + | -->{{{basestyle|}}};<!-- | ||
| + | -->{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}<!-- | ||
| + | -->{{{groupstyle|}}};<!-- | ||
| + | -->{{{group{{#var:nboxD}}style|}}}"><!-- | ||
| + | -->{{{group{{#var:nboxD}}}}}</td><!-- | ||
| + | --><td style="text-align:left;border-left-width:2px;border-left-style:solid;<!-- | ||
| + | -->|<!-- no group | ||
| + | --><td colspan=2 style="<!-- | ||
| + | -->}}<!-- end if group | ||
| + | cell styles: | ||
| + | -->padding:0px;<!-- | ||
| + | -->{{#if:{{{groupwidth|}}}||width:100%;}}<!-- | ||
| + | -->{{{liststyle|}}};<!-- | ||
| + | -->{{{{{#var:parity}}style|}}};<!-- | ||
| + | -->{{{list{{#var:nboxD}}style|}}}<!-- | ||
| + | -->" <!-- | ||
| + | -->class="navbox-list navbox-{{#var:parity}}"><!-- | ||
| + | --><div style="padding:{{{listpadding|0em 0.25em}}}"><!-- | ||
| + | -->{{{list{{#var:nboxD}}}}}<!-- | ||
| + | --></div></td></tr><!-- | ||
| + | -->}}<!-- end if list exists | ||
| + | |||
| + | -->}}<!-- end list while loop | ||
-->{{#if:{{{list2|}}}|<!-- | -->{{#if:{{{list2|}}}|<!-- | ||
Revision as of 18:50, 7 February 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. |