Difference between revisions of "Template:Terrain"

From Wurmpedia
Jump to navigation Jump to search
Line 25: Line 25:
 
|
 
|
  
{{#ifeq:{{{method}}}|no|Cannot be mined/dug into.|* Gives [[{{{material}}}]] after being {{#ifeq:{{{method}}}|dig|[[digging|dug]]|}} {{#ifeq:{{{method}}}|mine|[[mining|mined]]|}} {{#ifeq:{{{method}}}|farm|[[farming|sown]]|}} {{#ifeq:{{{method}}}|harvest|[[farming|harvested]] {{#if:{{{material2|}}}| or [[{{{material2}}}]] if dryed before harvest}}|}}}}
+
{{#ifeq:{{{method}}}|no|Cannot be mined/dug into.|* Gives [[{{{material}}}]] after being {{#ifeq:{{{method}}}|dig|[[digging|dug]]|}} {{#ifeq:{{{method}}}|mine|[[mining|mined]]|}} {{#ifeq:{{{method}}}|farm|[[farming|sown]]|}} {{#ifeq:{{{method}}}|harvest|[[farming|harvested]] {{#if:{{{material2|}}}| or [[{{{material2}}}]] if dried before harvest}}|}}}}
  
 
|}
 
|}
Line 41: Line 41:
 
|creation=Player made by paving [[Packed Dirt]] with [[Stone Slabs]]
 
|creation=Player made by paving [[Packed Dirt]] with [[Stone Slabs]]
 
|material=dirt
 
|material=dirt
|method=dig
+
|material2=hay        (optional)
 +
|method=no|dig|farm|harvest
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 08:37, 29 May 2021


Usage example:

{{terrain
|name=Stone slabs
|speed=17.3 km/h
|type=Paving
|playermade=Yes
|underground=No
|creation=Player made by paving [[Packed Dirt]] with [[Stone Slabs]]
|material=dirt
|material2=hay        (optional)
|method=no|dig|farm|harvest
}}