Difference between revisions of "Template:Vein"

From Wurmpedia
Jump to navigation Jump to search
m
(Adding CSS)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
<templatestyles src="InfoTable/styles.css" />
== Description ==
+
<includeonly>
From {{PAGENAME}}s you may [[Mining|mine]] [[{{{metaltype}}} ore]].
+
{| style="float:right; margin:1em; width:200px;" 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}}}}}}}]]
 +
    }}
 +
}}
 +
|-
 +
!class="infobox-header-row" | Result
 +
|-
 +
|
 +
* [[{{{result|{{{metaltype}}} ore}}}]]
 +
|}
  
== Method ==
 
Activate a [[pickaxe]] in your inventory, right-click the vein and select 'Mine'. This will produce 1 {{{metaltype}}} ore on the floor where you stand.
 
  
 +
[[Category:Veins]]
 +
[[Category:Cave tiles]]
 +
</includeonly>
 +
<noinclude>
 +
Template for veins and similar resources.
  
*With high enough [[Prospecting]] skill you will be able to tell the rough quality of the vein and how much ore is still left in it.
+
==Usage==
*Each vein may contain a random amount of ore anywhere between 1 and 65536 and can be depleted.
+
<pre>
 +
{{Vein|metaltype=iron}}
 +
 
 +
{{Vein|result=marble shards|image=Marble_wall.png}}
 +
</pre>
  
<br>
 
<includeonly>
 
[[Category:Veins]]
 
[[Category:Cave tiles]]
 
 
[[Category:Template]]
 
[[Category:Template]]
</includeonly>
+
</noinclude>

Latest revision as of 13:00, 22 April 2021


Template for veins and similar resources.

Usage

{{Vein|metaltype=iron}}

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