Template:Drops: Difference between revisions
From Vintage Story Wiki
m (extended dropcode numbers, to fit bell drop table) |
(Move documentation to subpage) |
||
Line 50: | Line 50: | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}} | |||
{ | |||
</noinclude> | </noinclude> |
Latest revision as of 12:16, 30 January 2024
[view | edit | history | purge this page]Documentation
Use this in other templates to display drops. Based on Template:Drops/row.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Code1 | Code1 | Drop item info
| String | required |
Avg1 | Avg1 | Average drop value
| Number | required |
Var1 | Var1 | Variance of Avg parameter
| Number | optional |
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* |
[view | edit | history | purge this page]The above documentation is transcluded from Template:Drops/doc.