5,358 Pages

Description

This template is used to show the progression of a value with an ability's level (though this template may also be used for other progressions).

  • Up to 6 values can be displayed.
  • In addition, line wrapping within the displayed progression is prevented.
  • The default decimal formatting is applied to the output.
  • All values may be generated using mathematical operations.
  • For uniformity the short version Ap should be used.

Usage

The template can be integrated anywhere with the following code: {{ap|<parameters>}}

Manual examples
  • {{ap|50|70|90}} creates: 50 / 70 / 90
  • {{ap|1|2|3|4|5|6}} creates: 1 / 2 / 3 / 4 / 5 / 6
  • {{ap|1.5|1.7|2.1}} creates: 1.5 / 1.7 / 2.1
  • {{ap|0|1/3|2/3|1}} creates: 0 / 0.33333333333333 / 0.66666666666667 / 1
Autocompletion

In addition to manually entering the individual values, the template can also automatically generate the values. For this, the start value and the end value must be specified. The intermediate values ​​are then automatically supplemented according to a linear function:

  • {{ap|60:200}} creates: 60:200

The basic values ​​of the calculation can also be formulated as a term:

  • {{ap|175/(3+2) : 525/3}} creates: 175/(3+2) : 525/3

By default, 5 values ​​are displayed. However, this preset can be overwritten as follows:

  • {{ap|60:200 2}} creates: 60:200 2
  • {{ap|60:200 4}} creates: 60:200 4
  • {{ap|60:200 6}} creates: 60:200 6

The output is rounded to 2 decimal places by default. If a deviation is desired, this can be achieved as follows:

  • {{ap|1/3 : 3/3 3|round=4}} creates: 1/3 : 3/3 3

Additional values may still be input:

  • {{ap|1|3:9 4|10}} creates: 1 / 3:9 4 / 10

See also

Community content is available under CC-BY-SA unless otherwise noted.