Template:Drops/row: Difference between revisions
From Vintage Story Wiki
(Marked this version for translation) |
No edit summary |
||
Line 17: | Line 17: | ||
|} | |} | ||
<translate><!--T:8--> ''Code'', ''Avg'', and ''Var'' can also be supplied as anon params. E.g.</translate> <code><nowiki>{{Drops/row| | <translate><!--T:8--> ''Code'', ''Avg'', and ''Var'' can also be supplied as anon params. E.g.</translate> <code><nowiki>{{Drops/row|Dirt|1.1|0.5}}</nowiki></code> and <code><nowiki>{{Drops/row|Code=Dirt|Avg=1.1|Var=0.5}}</nowiki></code> <translate><!--T:9--> both become:</translate> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
{{Drops/row| | {{Drops/row|Dirt|1.1|0.5}} | ||
|} | |} | ||
<translate><!--T:11--> Used in</translate> [[Template:Drops]]. <translate><!--T:12--> Based on</translate> [[Template:Range]]. | <translate><!--T:11--> Used in</translate> [[Template:Drops]]. <translate><!--T:12--> Based on</translate> [[Template:Range]]. | ||
</noinclude> | </noinclude> |
Revision as of 12:15, 21 November 2023
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Code | Required | Dirt |
Avg | Required | 1.1 |
Var | Optional | 0.5 |
Code, Avg, and Var can also be supplied as anon params. E.g. {{Drops/row|Dirt|1.1|0.5}}
and {{Drops/row|Code=Dirt|Avg=1.1|Var=0.5}}
both become:
Dirt | 0.6 - 1.6* |
Used in Template:Drops. Based on Template:Range.