Template:Drops: Difference between revisions

From Vintage Story Wiki
m
docs
No edit summary
m (docs)
Line 16: Line 16:
</includeonly><noinclude>
</includeonly><noinclude>
Use this in infoboxes to display drops.
Use this in infoboxes to display drops.
 
{| class="wikitable"
{|border="1" cellspacing="0" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative; margin-left:5px;"
|-
|-
{{Drops
! Parameter !! Required or Optional, default if applicable !! Example
|Nothing
|-
}}
| ''Unnamed 1'' || Optional || Nothing
|-
| ''Code1'' - ''Code4'' || Required if ''Unnamed 1'' is not set || Dirt
|-
| ''Avg1'' - ''Avg4'' || Required for ''Code1'' - ''Code4''  || 2
|-
| ''Var1'' - ''Var4'' || Optional || 2
|}
|}
Pass <code>Nothing</code> as an unnamed parameter to display that it drops nothing.
</noinclude>
</noinclude>
Confirmedusers, Bureaucrats, editor, Administrators
1,522

edits