Template:Drops/row: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (doc) |
VeryGoodDog (talk | contribs) m (optional unnamed params?) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
|'''{{{Code}}}''' | |'''{{{Code|{{{1}}}}}}''' | ||
|{{#if: {{{Var|}}} | |{{#if: {{{Var|{{{3}}}}}} | ||
| {{#expr: {{{Avg}}} - {{{Var}}} }} - {{#expr: {{{Avg}}} + {{{Var}}} }} | | {{#expr: {{{Avg|{{{2}}}}}} - {{{Var|{{{3}}}}}} }} - {{#expr: {{{Avg|{{{2}}}}}} + {{{Var|{{{3}}}}}} }} | ||
|{{{Avg}}} | |{{{Avg|{{{2}}}}}} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 18: | Line 18: | ||
|} | |} | ||
Used in [[Template:Drops]]. | Used in [[Template:Drops]]. | ||
{{Drops/row|dirt|2|0.5}} | |||
</noinclude> | </noinclude> |
Revision as of 12:17, 19 April 2020
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Code | Required | Dirt |
Avg | Required | 1.1 |
Var | Optional | 1.4 |
Used in Template:Drops. |- |dirt |1.5 - 2.5