5,793 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, if this limit is exceeded an error is 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
Autocompletion

In addition to manually entering individual values, the template can also automatically generate them with a formula that includes at least one x, displaying 5 values by default:

  • {{ap|2*x}} creates: 2 / 4 / 6 / 8 / 10

If the formula is known to be linear it can be generated with a start to end:

  • {{ap|60 to 200}} creates: 60 / 95 / 130 / 165 / 200

This preset can be overwritten by adding a number at the end, that indicates the amount of values displayed:

  • {{ap|60 to 200 2}} creates: 60 / 200
  • {{ap|60 to 200 4}} creates: 60 / 106.66666666667 / 153.33333333333 / 200
  • {{ap|60 to 200 6}} creates: 60 / 88 / 116 / 144 / 172 / 200

Multiple linear functions can be included to make a non-linear formula. To do so they need to be put inside parenthesis. This input also accepts x:

  • {{ap|(85 to 225)*(1+(0.3 to 0.5))}} creates: 110.5 / 162 / 217 / 275.5 / 337.5
  • {{ap|(10 to 50)*x}} creates: 10 / 40 / 90 / 160 / 250

Additional values may still be input:

  • {{ap|1|3 to 9 4|10}} creates: 1 / 3 / 5 / 7 / 9 / 10
  • {{ap|2 to 5 3|6 to 9 3}} creates: 2 / 3.5 / 5 / 6 / 7.5 / 9

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

  • {{ap|10/(3+2) to 600/3}} creates: 2 / 51.5 / 101 / 150.5 / 200

The output can be rounded as desired with the parameter round. Variables accepted: numbers; abs; ceil; floor:

  • {{ap|1/3 to 1 3|round=4}} creates: 0.3333 / 0.6667 / 1
  • {{ap|1 to 3|round=ceil}} creates: 1 / 2 / 2 / 3 / 3

Notes

  • When used on an ultimate ability page (i.e. Soul Shackles Soul Shackles) it will display 3 values by default, instead of 5.
  • Have any questions or requests? Ask Illaoi OriginalSquare AnataBakka.

See also

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