Template:Drops/row: Difference between revisions
From Vintage Story Wiki
(Move documentation to subpage) |
(This template doesn't need to be translated) |
||
Line 1: | Line 1: | ||
<includeonly>|- | |||
|'''{{{Code|{{{1}}} }}}''' | |'''{{{Code|{{{1}}} }}}''' | ||
|{{Range | |{{Range |
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.