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> |