Difference between revisions of "Template:Police/Pay"

From Roleplay UK Wiki
Jump to navigation Jump to search
m (Add table on template page)
m (Update formula)
Line 1: Line 1:
£{{formatnum:{{#expr:17255 + (16 * (((2.75 + {{{PoliceRank|1}}})^3 )) round 0)}}}}
£{{formatnum:{{#expr:17255 + (16 * (((2.75 + {{{PoliceRank|1}}}{{#ifexpr: {{{PoliceRank|1}}} >= 4 | -1 }})^3 )) round 0)}}}}
<noinclude>
<noinclude>
{| class="wikitable" id="pay-table"
{| class="wikitable" id="pay-table"

Revision as of 17:36, 17 January 2020

£18,099

1 2 3 4 5 6 7 8 9 10 11 12
£18,099 £18,970 £20,297 £20,297 £22,176 £24,703 £27,974 £32,085 £37,132 £43,211 £50,418 £58,849

Simple template to output pay for a rank in Police

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Police RankPoliceRank

Numeric value of rank

Default
1
Numberrequired