Changes

Jump to navigation Jump to search

Template:Vein

860 bytes added, 15:35, 1 January 2013
Try adding an item box to vein pages
<includeonly>
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
|-
|
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{lcfirst:{{{name|{{PAGENAME}}}}}}}]]
| {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{lcfirst:{{{name|{{PAGENAME}}}}}}}]]
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{lcfirst:{{{name|{{PAGENAME}}}}}}}]]
}}
}}
|-
! style="background-color:#3c5" | Result
|-
|
* [[{{{result|{{{metaltype}}} ore}}}]]
|}
 
__NOTOC__
== Description ==
*Each {{lcfirst:{{PAGENAME}}}} may contain a random amount of {{{result|ore}}} anywhere between 1 and 10000 and can be depleted.
<br>
<includeonly>
[[Category:Veins]]
[[Category:Cave tiles]]
</includeonly>
<noinclude>
Template for veins and similar resources.
 
==Usage==
<pre>
{{Vein|metaltype=iron}}
 
{{Vein|result=marble shards|image=Marble_wall.png}}
</pre>
 
[[Category:Template]]
</noinclude>
editor
1,247

edits

Navigation menu