Difference between revisions of "Template:Terrain"

From Wurmpedia
Jump to navigation Jump to search
(Edited to match itembox template colours)
(Adding CSS)
Line 1: Line 1:
 +
<templatestyles src="ItemTable/styles.css"
 
<includeonly>
 
<includeonly>
 
{| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
{| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
Line 5: Line 6:
 
| [[Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|180px|A {{{name|{{PAGENAME}}}}}]]
 
| [[Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|180px|A {{{name|{{PAGENAME}}}}}]]
 
|-
 
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | Properties
+
! class="infobox-header-row" | Properties
 
|-
 
|-
 
|
 
|
Line 13: Line 14:
 
<br />Underground: {{{underground}}}
 
<br />Underground: {{{underground}}}
 
|-
 
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | Creation
+
! class="infobox-header-row" | Creation
 
|-
 
|-
 
|
 
|
Line 20: Line 21:
  
  
! style="background-color:#4B3E30; color:#FFFFFF;" | Material
+
! class="infobox-header-row" | Material
 
|-
 
|-
 
|
 
|

Revision as of 13:02, 22 April 2021

<templatestyles src="ItemTable/styles.css" <includeonly>

Terrain
Properties

Max flat speed: {{{speed}}}
Terrain type: {{{type}}}
Player made: {{{playermade}}}
Underground: {{{underground}}}

Creation

{{{creation}}}

Material
  • Gives [[{{{material}}}]] after being

</includeonly>

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
|method=dig
}}