Difference between revisions of "Template:Fence"

From Wurmpedia
Jump to navigation Jump to search
m
Line 38: Line 38:
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 
  |iron = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
 
  |iron = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
 +
* 1x [[Iron fence bar]]
 
  |stone  = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
 
  |stone  = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
 
  |low stone  = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
 
  |low stone  = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
Line 46: Line 47:
  
 
}}
 
}}
<!-- 2nd line of mats -->
+
<!-- 2nd line of mats
 +
 
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 
  |iron = * 1x [[Iron fence bar]]
 
  |iron = * 1x [[Iron fence bar]]
 
  |high iron = * 2x [[Iron fence bar]]
 
  |high iron = * 2x [[Iron fence bar]]
 
  |chain = * 6x [[Large chain link]]
 
  |chain = * 6x [[Large chain link]]
}}}}
+
}}
 +
 
 +
-->
 +
}}
 
|result=*'''{{PAGENAME}}'''
 
|result=*'''{{PAGENAME}}'''
 
|skill=Masonry
 
|skill=Masonry

Revision as of 18:58, 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"