Difference between revisions of "Template:Vein"

From Wurmpedia
Jump to navigation Jump to search
(don't use missing lowercase template)
(Try adding an item box to vein pages)
Line 1: Line 1:
 +
<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__
 
__NOTOC__
 
== Description ==
 
== Description ==
Line 10: Line 29:
 
*Each {{lcfirst:{{PAGENAME}}}} may contain a random amount of {{{result|ore}}} anywhere between 1 and 10000 and can be depleted.
 
*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:Veins]]
 
[[Category:Cave tiles]]
 
[[Category:Cave tiles]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 +
Template for veins and similar resources.
 +
 +
==Usage==
 +
<pre>
 +
{{Vein|metaltype=iron}}
 +
 +
{{Vein|result=marble shards|image=Marble_wall.png}}
 +
</pre>
 +
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 23:35, 1 January 2013


Template for veins and similar resources.

Usage

{{Vein|metaltype=iron}}

{{Vein|result=marble shards|image=Marble_wall.png}}