Difference between revisions of "Template:Drop"

From Minetest Wiki
Jump to navigation Jump to search
(Add more documentation)
m (Added custom link)
Line 1: Line 1:
 
{{#if: {{{1|}}}
 
{{#if: {{{1|}}}
| [[{{{1}}}]]
+
| [[{{{link|{{{1}}} }}}|{{{1}}}]]
 
| {{{text}}}
 
| {{{text}}}
 
}} {{
 
}} {{
Line 29: Line 29:
 
<pre>{{Drop|Iron Lump|1|2|when=something happens|note=(note)}}</pre>
 
<pre>{{Drop|Iron Lump|1|2|when=something happens|note=(note)}}</pre>
 
{{Drop|Iron Lump|1|2|when=something happens|note=(note)}}
 
{{Drop|Iron Lump|1|2|when=something happens|note=(note)}}
 +
 +
<pre>{{Drop|Iron Lump|link=Iron Ore}}</pre>
 +
{{Drop|Iron Lump|link=Iron Ore}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 00:06, 29 July 2016

{{{text}}}

Usage

{{Drop|Iron Lump|1}}

Iron Lump (1)


{{Drop|Iron Lump|1|2}}

Iron Lump (1–2)


{{Drop|Iron Lump|when=something happens}}

Iron Lump when something happens


{{Drop|Iron Lump|note=(note)}}

Iron Lump (note)


{{Drop|Iron Lump|1|2|when=something happens|note=(note)}}

Iron Lump (1–2) when something happens (note)


{{Drop|Iron Lump|link=Iron Ore}}

Iron Lump