Difference between revisions of "Template:Fence"

From Wurmpedia
Jump to navigation Jump to search
m
Line 33: Line 33:
 
|active={{#if:{{{rendered|}}}|[[Clay]]|[[Mallet]], [[Hammer]] or [[Trowel]]}}
 
|active={{#if:{{{rendered|}}}|[[Clay]]|[[Mallet]], [[Hammer]] or [[Trowel]]}}
 
|passive={{#if:{{{rendered|}}}|{{#if:{{{gate|}}}|{{#if:{{{type|iron}}}[[Iron fence gate]]|[[High iron fence gate]]}}|{{#if:{{{type|iron}}}|[[Iron fence]]|[[High iron fence]]}}}}|[[Tile Border]]}}
 
|passive={{#if:{{{rendered|}}}|{{#if:{{{gate|}}}|{{#if:{{{type|iron}}}[[Iron fence gate]]|[[High iron fence gate]]}}|{{#if:{{{type|iron}}}|[[Iron fence]]|[[High iron fence]]}}}}|[[Tile Border]]}}
|groupM={{#if:{{{rendered|}}}|Render fence|Fence > {{#if:{{{type|iron}}}{{{type|high iron}}}{{{type|chain}}}|Iron|Stone}} > Build {{PAGENAME}}}}
+
|groupM={{#if:{{{rendered|}}}|Render fence|Fence > {{#if:{{{type|iron}}}{{{type|high iron}}}{{{type|chain}}}|Stone|Iron}} > Build {{PAGENAME}}}}
 
|materials={{#if:{{{rendered|}}}|* [[{{{material|Clay}}}]] (5.00 kg)|
 
|materials={{#if:{{{rendered|}}}|* [[{{{material|Clay}}}]] (5.00 kg)|
 
<!-- brix-->
 
<!-- brix-->

Revision as of 19:16, 16 August 2017

Creating a fence page has never been easier! Just copy and paste and fill in the stuff below for all stone or iron fences or gates!

Note: Still a WIP, some elements may not show up properly yet. Also, only works for stone/iron, not wood/rope

{{Template:Fence
|babel=I
|image=Iron fence.jpg
|material=stone brick
|examine=Description}}
|type=(iron, high iron, chain, stone, low stone, tall stone, stone parapet)

OPTIONAL
|gate=yes
|rendered=yes
|optionaltext=*(any notes you wish to add)

  • Image = image file for page
  • Material = what type of brick is used (singular)
  • Examine = right-click description
  • Gate = include if the page is a gate
  • Rendered = include if the fence is "rendered"