Difference between revisions of "Template:N-star"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{#expr: {{#expr:{{{Stars}}}}}=1}}
{{#switch: {{{1}}}
| 1 = {{1-star}}  
| 1 = {{1-star}}
| 0 = {{#switch: {{#expr: {{#expr:{{{Stars}}}}}=2}}
| 2 = {{2-star}}
  | 1 = {{2-star}}  
| 3 = {{3-star}}
  | 0 = {{#switch: {{#expr: {{#expr:{{{Stars}}}}}=3}}
| 4 = {{4-star}}
    | 1 = {{3-star}}  
| 5 = {{5-star}}
    | 0 = {{#switch: {{#expr: {{#expr:{{{Stars}}}}}=4}}
| 6 = {{6-star}}
      | 1 = {{4-star}}  
| #default = {{0-star}}
      | 0 = {{#switch: {{#expr: {{#expr:{{{Stars}}}}}=5}}
}}
        | 1 = {{5-star}}  
        | 0 = {{#switch: {{#expr: {{#expr:{{{Stars}}}}}=6}}
          | 1 = {{6-star}}  
          | 0 = {{0-star}}
}} }} }} }} }} }}

Latest revision as of 15:08, 22 December 2014