Difference between revisions of "Template:Terrain"

From Wurmpedia
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
! class="infobox-header-row" | Properties
 
! class="infobox-header-row" | Properties
 
|-
 
|-
| * Max flat speed: {{{speed}}}
+
|
| * Can be created by players?: {{{playermade}}}
+
* Max flat speed: {{{speed}}}
| * Underground: {{{underground}}}
+
* Can be created by players?: {{{playermade}}}
 +
* Underground: {{{underground}}}
 
|-
 
|-
 
! class="infobox-header-row" | Creation
 
! class="infobox-header-row" | Creation
 
|-
 
|-
 
|
 
|
{{{creation}}}
+
* {{{creation}}}
 
|-
 
|-
  
Line 23: Line 24:
 
|
 
|
  
{{#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}}|}}}}
+
{{#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}}|}}}}
  
 
|}
 
|}

Latest revision as of 22:01, 23 November 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
}}