Template:Range: Difference between revisions

From Vintage Story Wiki
(little template for showing ranges)
 
m (oops forgot to close if)
Line 2: Line 2:
  |{{#expr: {{{1}}} - {{{2}}} }} - {{#expr: {{{1}}} + {{{2}}} }}
  |{{#expr: {{{1}}} - {{{2}}} }} - {{#expr: {{{1}}} + {{{2}}} }}
  |{{{1}}}
  |{{{1}}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
{| class="wikitable"
{| class="wikitable"

Revision as of 12:27, 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.