模板:Jump reach/doc
跳到导航
跳到搜索
This template is used for calculating the total jump reach from jump duration, jump speed, and gravity.
Usage
{{ jump reach | <jump duration> | <jump speed> | <gravity> | raw = y/yes }}
The first three unnamed parameters can also be called by their names. All of them accept any valid {{#expr:}}
string.
- First unnamed parameter or jump duration
The given jump duration. Defaults to
, the base value of a default character.
15
- Second unnamed parameter or jump speed
The given jump speed. Defaults to
, the base value of a default character.
5.01
- Third unnamed parameter or gravity
The given gravity. Defaults to
, the default value outside of Space.
0.4
- raw
Set this parameter to suppress {{formatnum:}}
being applied to the output.
Examples
Code | Result |
---|---|
{{jump reach}} |
6.27 |
{{jump reach|gravity=0.0001}} |
7,848.48 |
{{jump reach|gravity=10^-4}} |
7,848.48 |
{{jump reach|gravity=0.0001|raw=y}} |
7848.48 |
{{jump reach|52/2|6.51}} tiles |
13.23 tiles |