Template:Weapon values by level/doc
| This is a documentation subpage for Template:Weapon values by level (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page |
[edit] Usage
{{Weapon values by level
|style = A custom style for the table (optional)
|base_cost = The price of the weapon without a discount
|discount0 = % discount at level 0, omitting the percent symbol
|discount1 = % discount at level 1, omitting the percent symbol
|discount2 = % discount at level 2, omitting the percent symbol
|discount3 =
|discount4 =
|discount5 =
|discount6 =
|no_rounding_error = Enter "on" (without quotes) if the values do not suffer from rounding errors; otherwise, delete this line
|col1_name = The heading name for the first extra column
|col1_func = The name of a template that takes the computed value of a cell as its first argument (optional)
|col1_func_arg2 = The second argument to be passed into the template above (optional)
|col1_base = The base value
|col1_inc0 = The % increase from the base at level 0
|col1_inc1 = The % increase from the base at level 1
|col1_inc2 = The % increase from the base at level 2
|col1_inc3 =
|col1_inc4 =
|col1_inc5 =
|col1_inc6 =
|col2_name =
|col2_func =
|col2_func_arg2 =
|col2_base =
|col2_inc0 =
|col2_inc1 =
|col2_inc2 =
|col2_inc3 =
|col2_inc4 =
|col2_inc5 =
|col2_inc6 =
|col3_name =
|col3_func =
|col3_func_arg2 =
|col3_base =
|col3_inc0 =
|col3_inc1 =
|col3_inc2 =
|col3_inc3 =
|col3_inc4 =
|col3_inc5 =
|col3_inc6 =
|col4_name =
|col4_func =
|col4_func_arg2 =
|col4_base =
|col4_inc0 =
|col4_inc1 =
|col4_inc2 =
|col4_inc3 =
|col4_inc4 =
|col4_inc5 =
|col4_inc6 =
}}
[edit] Examples
{{Weapon values by level
|base_cost = 1000
|discount0 = 10
|discount1 = 20
|discount2 = 30
|discount3 = 40
|discount4 = 50
|discount5 = 60
|discount6 = 70
|col1_name = Damage
|col1_base = 40
|col1_inc0 = 5
|col1_inc1 = 10
|col1_inc2 = 20
|col1_inc3 = 30
|col1_inc4 = 40
|col1_inc5 = 50
|col1_inc6 = 50
|col2_name = Ammo
|col2_base = 300
|col2_inc0 = 0
|col2_inc1 = 10
|col2_inc2 = 20
|col2_inc3 = 25
|col2_inc4 = 25
|col2_inc5 = 25
|col2_inc6 = 25
}}
| Level | Discount | Price | Sale value | Damage | Ammo |
|---|---|---|---|---|---|
| Base | 0% | £1000 | £750 | 40 | 300 |
| 0 | 10% | £900 | £674 | 42 | 300 |
| 1 | 20% | £800 | £599 | 44 | 330 |
| 2 | 30% | £700 | £524 | 48 | 360 |
| 3 | 40% | £600 | £449 | 52 | 375 |
| 4 | 50% | £500 | £374 | 56 | 375 |
| 5 | 60% | £400 | £299 | 60 | 375 |
| 6 | 70% | £300 | £224 | 60 | 375 |
{{Weapon values by level
|base_cost = 800
|discount0 = 75
|discount1 = 78
|discount2 = 81
|discount3 = 84
|discount4 = 87
|discount5 = 90
|discount6 = 93
|no_rounding_error = on
}}
| Level | Discount | Price | Sale value |
|---|---|---|---|
| Base | 0% | £800 | £600 |
| 0 | 75% | £200 | £150 |
| 1 | 78% | £176 | £132 |
| 2 | 81% | £152 | £114 |
| 3 | 84% | £128 | £96 |
| 4 | 87% | £104 | £78 |
| 5 | 90% | £80 | £60 |
| 6 | 93% | £56 | £42 |