Template:Drops: Difference between revisions

From Vintage Story Wiki
(pipes make it work i hope)
No edit summary
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>
 
{{#ifeq:{{{Code1}}}|Nothing| {{!}} colspan="2" style="text-align:center;" {{!}} Nothing |
{{#if: {{{Code1|}}}
{{#if: {{{Code1|}}}
  |{{!}}- {{Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code1}}} |Avg={{{Avg1}}} |Var={{{Var1|}}} }}
Line 12: Line 12:
{{#if: {{{Code4|}}}
{{#if: {{{Code4|}}}
  |{{!}}- {{Drops/row |Code={{{Code4}}} |Avg={{{Avg4}}} |Var={{{Var4|}}} }}
  |{{!}}- {{Drops/row |Code={{{Code4}}} |Avg={{{Avg4}}} |Var={{{Var4|}}} }}
}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Use this in infoboxes to display drops.
Use this in infoboxes to display drops.


{|border="1" cellpadding="2" cellspacing="0" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative; margin-left:5px; margin-bottom: 5px;"
{|border="1" cellspacing="0" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative; margin-left:5px;"
|-
|-
{{Drops
{{Drops
|Code1=qwe
|Code1=Nothing
|Avg1=12
|Var1=
|Code2=aaa
|Avg2=3
|Var2=1
}}
}}
|}
|}
</noinclude>
</noinclude>

Revision as of 22:34, 11 March 2020

Use this in infoboxes to display drops.

Drops
Nothing