Template:Drops: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) No edit summary |
VeryGoodDog (talk | contribs) m (docs) |
||
Line 16: | Line 16: | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Use this in infoboxes to display drops. | Use this in infoboxes to display drops. | ||
{| class="wikitable" | |||
{| | |||
|- | |- | ||
! Parameter !! Required or Optional, default if applicable !! Example | |||
|Nothing | |- | ||
| ''Unnamed 1'' || Optional || Nothing | |||
|- | |||
| ''Code1'' - ''Code4'' || Required if ''Unnamed 1'' is not set || Dirt | |||
|- | |||
| ''Avg1'' - ''Avg4'' || Required for ''Code1'' - ''Code4'' || 2 | |||
|- | |||
| ''Var1'' - ''Var4'' || Optional || 2 | |||
|} | |} | ||
Pass <code>Nothing</code> as an unnamed parameter to display that it drops nothing. | |||
</noinclude> | </noinclude> |
Revision as of 22:43, 11 March 2020
Use this in infoboxes to display drops.
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Unnamed 1 | Optional | Nothing |
Code1 - Code4 | Required if Unnamed 1 is not set | Dirt |
Avg1 - Avg4 | Required for Code1 - Code4 | 2 |
Var1 - Var4 | Optional | 2 |
Pass Nothing
as an unnamed parameter to display that it drops nothing.