Difference between revisions of "Template:Test"

m
m
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: i | 1}}
 
 
{| class="uoguidetable"
 
{| class="uoguidetable"
{{#while:
+
{{#if: {{{parameter1|}}} | {{!}} style="background-color:#000000; color:#FFFFFF;" {{!}} {{{parameter1}}} }}
| {{#ifexpr: {{#var: i}} < 6 | true}}
+
|-
| {{!}}-
+
{{#if: {{{parameter2|}}} | {{!}} style="background-color:#FF0000; color:#FFFFFF;" {{!}} {{{parameter2}}} }}
{{!}} style="background-color:#000000; color:#FFFFFF;" {{!}} {{#var: i}} {{#vardefine: i | {{#expr: {{#var: i}} + 1}} }}
+
|-
}}
+
{{#if: {{{parameter3|}}} | {{!}} style="background-color:#00FF00; color:#FFFFFF;" {{!}} {{{parameter3}}} }}
 +
|-
 +
{{#if: {{{parameter4|}}} | {{!}} style="background-color:#0000FF; color:#FFFFFF;" {{!}} {{{parameter4}}} }}
 +
|-
 +
{{#if: {{{parameter5|}}} | {{!}} style="background-color:#93E0F0; color:#FFFFFF;" {{!}} {{{parameter5}}} }}
 
|}
 
|}

Latest revision as of 19:09, 30 August 2011