Template:Drops/row: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (oops added too many) |
(This template doesn't need to be translated) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
|'''{{{Code|{{{1}}} }}}''' | |'''{{{Code|{{{1}}} }}}''' | ||
|{{ | |{{Range | ||
|{{{Avg|{{{2}}} }}} | |{{{Avg|{{{2}}} }}} | ||
|{{{Var|{{{3}}} }}} | |{{{Var|{{{3}}} }}} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{ | {{Documentation}} | ||
{ | |||
</noinclude> | </noinclude> |
Latest revision as of 11:56, 30 January 2024
[view | edit | history | purge this page]Documentation
Used in Template:Drops. Based on Template:Range.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Code | 1 | Drop item info
| String | required |
Avg | 2 | Average drop value
| Number | required |
Var | 3 | Variance of Avg parameter
| Number | optional |
Usage
{{Drops/row |Code= Dirt |Avg= 1.1 |Var= 0.5 }}
Code, Avg, and Var can also be supplied as anon params.
{{Drops/row|Dirt|1.1|0.5}}
Examples
{{Drops/row|Code={{ll|Poultry}}|Avg=1.1|Var=0.5}}
turns into
Poultry | 0.6 - 1.6* |
[view | edit | history | purge this page]The above documentation is transcluded from Template:Drops/row/doc.