Template:Drops: Difference between revisions

From Vintage Story Wiki
No edit summary
(Undo revision 141380 by Xandoria (talk))
Tag: Undo
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>
<!--T:12-->
{{#ifeq:{{{Code1}}}|Nothing
{{#ifeq:{{{Code1}}}|Nothing
  |{{!}}- {{Special:MyLanguage/Drops/Nothing}}|
  |{{!}}- {{Drops/Nothing}}|
{{#if: {{{Code1|}}}
{{#if: {{{Code1|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
}}
}}
{{#if: {{{Code2|}}}
{{#if: {{{Code2|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code2}}} |Avg={{{Avg2}}} |Var={{{Var2|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code2}}} |Avg={{{Avg2}}} |Var={{{Var2|}}} }}
}}
}}
{{#if: {{{Code3|}}}
{{#if: {{{Code3|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code3}}} |Avg={{{Avg3}}} |Var={{{Var3|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code3}}} |Avg={{{Avg3}}} |Var={{{Var3|}}} }}
}}
}}
{{#if: {{{Code4|}}}
{{#if: {{{Code4|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code4}}} |Avg={{{Avg4}}} |Var={{{Var4|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code4}}} |Avg={{{Avg4}}} |Var={{{Var4|}}} }}
}}
}}
{{#if: {{{Code5|}}}
{{#if: {{{Code5|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code5}}} |Avg={{{Avg5}}} |Var={{{Var5|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code5}}} |Avg={{{Avg5}}} |Var={{{Var5|}}} }}
}}
}}
{{#if: {{{Code6|}}}
{{#if: {{{Code6|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code6}}} |Avg={{{Avg6}}} |Var={{{Var6|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code6}}} |Avg={{{Avg6}}} |Var={{{Var6|}}} }}
}}
}}
{{#if: {{{Code7|}}}
{{#if: {{{Code7|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code7}}} |Avg={{{Avg7}}} |Var={{{Var7|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code7}}} |Avg={{{Avg7}}} |Var={{{Var7|}}} }}
}}
}}
{{#if: {{{Code8|}}}
{{#if: {{{Code8|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code8}}} |Avg={{{Avg8}}} |Var={{{Var8|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code8}}} |Avg={{{Avg8}}} |Var={{{Var8|}}} }}
}}
}}
{{#if: {{{Code9|}}}
{{#if: {{{Code9|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code9}}} |Avg={{{Avg9}}} |Var={{{Var9|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code9}}} |Avg={{{Avg9}}} |Var={{{Var9|}}} }}
}}
}}
{{#if: {{{Code10|}}}
{{#if: {{{Code10|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code10}}} |Avg={{{Avg10}}} |Var={{{Var10|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code10}}} |Avg={{{Avg10}}} |Var={{{Var10|}}} }}
}}
}}
{{#if: {{{Code11|}}}
{{#if: {{{Code11|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code11}}} |Avg={{{Avg11}}} |Var={{{Var11|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code11}}} |Avg={{{Avg11}}} |Var={{{Var11|}}} }}
}}
}}
{{#if: {{{Code12|}}}
{{#if: {{{Code12|}}}
  |{{!}}- {{Special:MyLanguage/Drops/row |Code={{{Code12}}} |Avg={{{Avg12}}} |Var={{{Var12|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code12}}} |Avg={{{Avg12}}} |Var={{{Var12|}}} }}
}}
}}
}}
}}
</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:13, 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.