From GamingWiki
Line 80: | Line 80: | ||
-->{{#while: | {{#ifexpr:{{#vardefineecho: nboxD| {{#expr:{{#var:nboxD}}+1}} }} < 81 | 1 }} <!-- | -->{{#while: | {{#ifexpr:{{#vardefineecho: nboxD| {{#expr:{{#var:nboxD}}+1}} }} < 81 | 1 }} <!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->{{#vardefine: parity | {{# | + | -->{{#vardefine: parity | {{#ifeq: {{#expr: ({{#var:nboxD}} {{#ifeq:{{{evenodd|}}}|swap|+1}}) mod 2 }} | 1 | odd | even }} }}<!-- |
-->{{#if:{{{list{{#var:nboxD}}|}}}<!-- | -->{{#if:{{{list{{#var:nboxD}}|}}}<!-- | ||
Line 106: | Line 106: | ||
-->class="navbox-list navbox-{{#var:parity}}"><!-- | -->class="navbox-list navbox-{{#var:parity}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"><!-- | --><div style="padding:{{{listpadding|0em 0.25em}}}"><!-- | ||
− | -->{{Array Map | array = {{{list{{#var:nboxD}}}}} | separator = :: | after = {{·}} | afterlast = }}<!-- | + | -->{{Array Map | array = ::{{{list{{#var:nboxD}}}}} | separator = :: | after = {{·}} | afterlast = }}<!-- |
--></div></td></tr><!-- | --></div></td></tr><!-- | ||
-->}}<!-- end if list exists | -->}}<!-- end if list exists |
Revision as of 19:08, 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. |