Template:Drops/doc

From Vintage Story Wiki

Use this in other templates to display drops. Based on Template:Drops/row.

Template parameters

ParameterDescriptionTypeStatus
Code1Code1

Drop item info

Example
Dirt
Stringrequired
Avg1Avg1

Average drop value

Example
1.1
Numberrequired
Var1Var1

Variance of Avg parameter

Default
0
Numberoptional

Usage

{{Drops
|Code1= Dirt
|Avg1= 1.1
|Var1= 0.5
}}

Examples

{| class="wikitable"
|-
{{Drops |Code1 = Nothing}}
|}

turns into

Drops
Nothing
{| class="wikitable"
|-
{{Drops 
|Code1={{ll|Poultry}}
|Avg1=1.25
|Var1=0.25
|Code2={{ll|Feather}}
|Avg2=12
|Var2=4
|Code3={{ll|Bone}}
|Avg3=0.5
}}
|}

turns into

Drops
Poultry 1 - 1.5*
Feather 8 - 16*
Bone 0.5*