Template:Drops: Difference between revisions

From Vintage Story Wiki
(Created page with "<includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Drops'''</font> {{#if: {{{Code1|}}} |{{!}}- {{Drops/row |Code=...")
 
(pipes make it work i hope)
Line 1: Line 1:
<includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Drops'''</font>
<includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Drops'''</font>
{{#if: {{{Code1|}}}
{{#if: {{{Code1|}}}
  |{{!}}- {{Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1}}} }}
  |{{!}}- {{Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
}}
}}
{{#if: {{{Code2|}}}
{{#if: {{{Code2|}}}
  |{{!}}- {{Drops/row |Code={{{Code2}}} |Avg={{{Avg2}}} |Var={{{Var2}}} }}
  |{{!}}- {{Drops/row |Code={{{Code2}}} |Avg={{{Avg2}}} |Var={{{Var2|}}} }}
}}
}}
{{#if: {{{Code3|}}}
{{#if: {{{Code3|}}}
  |{{!}}- {{Drops/row |Code={{{Code3}}} |Avg={{{Avg3}}} |Var={{{Var3}}} }}
  |{{!}}- {{Drops/row |Code={{{Code3}}} |Avg={{{Avg3}}} |Var={{{Var3|}}} }}
}}
}}
{{#if: {{{Code4|}}}
{{#if: {{{Code4|}}}
  |{{!}}- {{Drops/row |Code={{{Code4}}} |Avg={{{Avg4}}} |Var={{{Var4}}} }}
  |{{!}}- {{Drops/row |Code={{{Code4}}} |Avg={{{Avg4}}} |Var={{{Var4|}}} }}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 20: Line 21:
|Code1=qwe
|Code1=qwe
|Avg1=12
|Avg1=12
|Var1=
|Code2=aaa
|Code2=aaa
|Avg2=3
|Avg2=3
|Var3=1
|Var2=1
}}
}}
|}
|}
</noinclude>
</noinclude>

Revision as of 22:18, 11 March 2020

Use this in infoboxes to display drops.

Drops
qwe 12*
aaa 2 - 4*