Template:Range: Difference between revisions

From Vintage Story Wiki
mNo edit summary
m (add hover tip to end for explaination)
Line 2: Line 2:
  |{{#expr: {{{1}}} - {{{2}}} }} - {{#expr: {{{1}}} + {{{2}}} }}
  |{{#expr: {{{1}}} - {{{2}}} }} - {{#expr: {{{1}}} + {{{2}}} }}
  |{{{1}}}
  |{{{1}}}
}}</includeonly><noinclude>
}}{{Hovertip|*|2.5 means 2 + 50% chance}}</includeonly><noinclude>
{| class="wikitable"
{| class="wikitable"
|-
|-

Revision as of 12:37, 19 April 2020

Parameter Required or Optional, default if applicable Example
Unnamed 1 Required 2.3
Unnamed 2 Optional 1.2

Use when you want to show a range of values without doing math. {{Drops/range|2.3|1.2}} turns into Template:Drops/range.