Difference between revisions of "Template:N-star"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
Line 1: Line 1:
{{#switch: {{#expr: {{#expr:{{{4}}}}}=1}}
{{#switch: {{#expr: {{#expr:{{{4}}}}}
| 1 = {{1-star}}  
| 1 = {{1-star}}
| 0 = {{#switch: {{#expr: {{#expr:{{{4}}}}}=2}}
| 2 = {{2-star}}
  | 1 = {{2-star}}  
| 3 = {{3-star}}
  | 0 = {{#switch: {{#expr: {{#expr:{{{4}}}}}=3}}
| 4 = {{4-star}}
    | 1 = {{3-star}}  
| 5 = {{5-star}}
    | 0 = {{#switch: {{#expr: {{#expr:{{{4}}}}}=4}}
| 6 = {{6-star}}
      | 1 = {{4-star}}  
| #default = {{0-star}}
      | 0 = {{#switch: {{#expr: {{#expr:{{{4}}}}}=5}}
}}
        | 1 = {{5-star}}  
        | 0 = {{#switch: {{#expr: {{#expr:{{{4}}}}}=6}}
          | 1 = {{6-star}}  
          | 0 = {{0-star}}
}} }} }} }} }} }}

Revision as of 15:01, 22 December 2014

{{#switch: Expression error: Unexpected < operator.