Difference between revisions of "Template:Vehicle"

1 byte added ,  01:52, 14 January 2019
m
Fix round operator
(Add automatic rental price)
m (Fix round operator)
Line 11: Line 11:
|-
|-
| '''Rental Price:'''
| '''Rental Price:'''
| {{#if: {{{RentalPrice|}}} | £{{{RentalPrice}}} | {{#ifeq: {{{BuyPrice}}} | -1 | Not Rentable | £{{#expr: round({{{BuyPrice}}}/2)}}}}}}
| {{#if: {{{RentalPrice|}}} | £{{{RentalPrice}}} | {{#ifeq: {{{BuyPrice}}} | -1 | Not Rentable | £{{#expr: {{{BuyPrice}}}/2 round 0}}}}}}
|-
|-
| '''Retrieval Price:'''
| '''Retrieval Price:'''