Difference between revisions of "Template:Fence"

From Wurmpedia
Jump to navigation Jump to search
m
Line 69: Line 69:
 
|skill=Masonry
 
|skill=Masonry
 
|improveItem={{#if:{{{rendered|}}}|Stone brick|{{{material}}}}}
 
|improveItem={{#if:{{{rendered|}}}|Stone brick|{{{material}}}}}
|note={{#if:{{{rendered|}}}|*You may use a [[crowbar]] to return a {{PAGENAME}} back to its original unrendered state.|*You must have at least one [[{{{material|brick}}}]] in your [[inventory]] to start building it.}}
+
|note={{#if:{{{rendered|}}}|*You may use a [[crowbar]] to return a {{PAGENAME}} back to its original unrendered state.|*You must have at least one [[{{{material}}}]] in your [[inventory]] to start building it.}}
 
{{#if:{{{type|stone parapet}}}||*Can only be built on building tile borders.}}
 
{{#if:{{{type|stone parapet}}}||*Can only be built on building tile borders.}}
 
}}
 
}}
Line 76: Line 76:
  
 
{{#if:{{{gate|}}}| Gates can be locked with a [[gate lock]], then controlled by deed [[permissions]] if applicable, as well as the [[key]].}}
 
{{#if:{{{gate|}}}| Gates can be locked with a [[gate lock]], then controlled by deed [[permissions]] if applicable, as well as the [[key]].}}
 +
{{#if:{{{type|stone parapet}}}|A stone parapet which alternates between the height of a [[small barrel]] and a [[large barrel]].  Can easily be seen over by an avatar.  Can only be built on building borders.
 +
 +
It is not possible to shoot arrows over either a stone parapet or a [[wooden parapet]] while target shooting. However, it works just fine when aiming at a living target.}}
 +
 +
{{#if:{{{type|stone parapet}}}||
 
== Skill required ==
 
== Skill required ==
 
To calculate the [[maximum slope]] you can build on, based on your [[carpentry]] or [[masonry]] skill, use the following formula submitted by [[Player:Ketza|Ketza]]:
 
To calculate the [[maximum slope]] you can build on, based on your [[carpentry]] or [[masonry]] skill, use the following formula submitted by [[Player:Ketza|Ketza]]:
Line 107: Line 112:
  
 
'''Note:''' Maximum slope is rounded ''down''
 
'''Note:''' Maximum slope is rounded ''down''
 
+
<!-- The above info should not show on parapets, so the brackets below close an if statement for that -->
 +
}}
 
== Notes ==
 
== Notes ==
 
* Repair {{PAGENAME}} with {{#if:{{{rendered|}}}|[[stone brick]]|{{{material}}}}}. Each {{#if:{{{rendered|}}}|[[stone brick]]|{{{material}}}}} will repair up to 10 damage depending on quality and repairing skill.
 
* Repair {{PAGENAME}} with {{#if:{{{rendered|}}}|[[stone brick]]|{{{material}}}}}. Each {{#if:{{{rendered|}}}|[[stone brick]]|{{{material}}}}} will repair up to 10 damage depending on quality and repairing skill.

Revision as of 17:05, 17 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, portcullis, 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"