Template:Drops: Difference between revisions
From Vintage Story Wiki
Tag: Undo |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
<includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Drops</translate>'''</font> | <includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Drops</translate>'''</font> | ||
{{#ifeq:{{{Code1}}}|Nothing | {{#ifeq:{{{Code1}}}|Nothing | ||
|{{!}}- {{Drops/Nothing}}| | |{{!}}- {{Drops/Nothing}}| | ||
Line 42: | Line 40: | ||
}} | }} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<translate><!--T:2--> Use this in infoboxes to display drops.</translate> | <translate><!--T:2--> Use this in infoboxes to display drops.</translate> |
Revision as of 12:26, 21 November 2023
Use this in infoboxes to display drops.
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Code1 - Code12 | Required | Dirt |
Avg1 - Avg12 | Required for Code1 - Code4 | 2 |
Var1 - Var12 | Optional | 2 |
Pass Nothing
as the Code1
parameter to display that it drops nothing.
Use this in other templates. Based on Template:Drops/row.