Template:Sandbox/VeryGoodDog/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> {{#ifeq:{{{Code1}}}|Nothing |{{!}}- {{Drops/No...")
 
mNo edit summary
Line 29: Line 29:
Pass <code>Nothing</code> as the <code>Code1</code> parameter to display that it drops nothing.
Pass <code>Nothing</code> as the <code>Code1</code> parameter to display that it drops nothing.


<code>
{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:190px;margin-left:5px; margin-bottom: 5px;"
{{Sandbox/VeryGoodDog/Drops|Code1=Dirt|Avg1=1}}
|-
</code>
{{Sandbox/VeryGoodDog/Drops|Code1=Nothing}}
|}


Use this in other templates. Based on [[Template:Drops/row]].
Use this in other templates. Based on [[Template:Drops/row]].
</noinclude>
</noinclude>

Revision as of 14:19, 13 October 2020

Use this in infoboxes to display drops.

Parameter Required or Optional, default if applicable Example
Code1 - Code4 Required Dirt
Avg1 - Avg4 Required for Code1 - Code4 2
Var1 - Var4 Optional 2

Pass Nothing as the Code1 parameter to display that it drops nothing.

Drops
Nothing

Use this in other templates. Based on Template:Drops/row.