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

Other languages:
[view | edit | history | purge this page]Documentation

Use when you want to show a range of values without doing math.

Template parameters

ParameterDescriptionTypeStatus
Average1

no description

Example
2.3
Numberrequired
Variance2

no description

Example
1.2
Numberoptional

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.