Template:Drops: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
No edit summary
Line 4: Line 4:
  |{{!}}- {{Drops/Nothing}}|
  |{{!}}- {{Drops/Nothing}}|
{{#if: {{{Code1|}}}
{{#if: {{{Code1|}}}
  |{{!}}- {{Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
  |{{!}}- {{{{ll|Drops/row}} |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
}}
}}
{{#if: {{{Code2|}}}
{{#if: {{{Code2|}}}

Revision as of 07:38, 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.