Template:Range: Difference between revisions
From Vintage Story Wiki
(Translate tags and Template:Documentation) |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
|{{#expr: {{{1}}} - {{{2}}} }} - {{#expr: {{{1}}} + {{{2}}} }} | |{{#expr: {{{1}}} - {{{2}}} }} - {{#expr: {{{1}}} + {{{2}}} }} | ||
|{{{1}}} | |{{{1}}} | ||
}}{{Hovertip|*|<translate>2.5 means 2 + 50% chance</translate>}}</includeonly><noinclude> | }}{{Hovertip|*|<translate><!--T:1--> 2.5 means 2 + 50% chance</translate>}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 11:10, 21 November 2023
[view | edit | history | purge this page]Documentation
Use when you want to show a range of values without doing math.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Average | 1 | no description
| Number | required |
Variance | 2 | no description
| Number | optional |
Usage
{{Range|2.3|1.2}}
Examples
{{Range|2.3|1.2}}
turns into 1.1 - 3.5*
.
[view | edit | history | purge this page]The above documentation is transcluded from Template:Range/doc.