Template:Crop: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#ifexpr: {{{1}}} >= 1000  
<!--{{#ifexpr: {{{1}}} >= 1000  
  | {{#ifeq: {{#sub: {{#expr: {{{1}}}/1000}} | {{#expr: {{#pos: {{#expr: {{{1}}}/1000}} |.}} + 2}} | 1 }} | 5  
  | {{#ifeq: {{#sub: {{#expr: {{{1}}}/1000}} | {{#expr: {{#pos: {{#expr: {{{1}}}/1000}} |.}} + 2}} | 1 }} | 5  
     | {{#ifeq: {{#pos:{{{1}}}|.}} | | {{#expr: {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -2}} + 0.1 }} | {{#expr: {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -3}} + 0.1 }} }}  
     | {{#ifeq: {{#pos:{{{1}}}|.}} | | {{#expr: {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -2}} + 0.1 }} | {{#expr: {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -3}} + 0.1 }} }}  
      
      
     | {{#ifeq: {{#pos:{{{1}}}|.}} | | {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -2}}| {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -3}} }}  }}k  
     | {{#ifeq: {{#pos:{{{1}}}|.}} | | {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -2}}| {{#sub: {{#expr: {{{1}}}/1000}} | 0 | -3}} }}   
 
  }}k  
 
| {{{1}}}
}}-->
{{#ifexpr: {{{1}}} >= 1000
| {{#expr: {{{1}}}/1000 round 1


  | {{{1}}}  
  | {{{1}}}  
}}
}}

Revision as of 23:01, 19 October 2014

{{#ifexpr: {{{1}}} >= 1000

| Expression error: Unrecognized punctuation character "{".