Template:Drops: Difference between revisions

From Vintage Story Wiki
No edit summary
Tag: Manual revert
No edit summary
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>
<translate>
{{#ifeq:{{{Code1}}}|Nothing
{{#ifeq:{{{Code1}}}|Nothing
  |{{!}}- {{Drops/Nothing}}|
  |{{!}}- {{Drops/Nothing}}|
Line 40: Line 41:
}}
}}
}}
}}
</translate>
</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 08:02, 21 November 2023

Other languages:

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.