Changes

Jump to navigation Jump to search

Template:Fence

309 bytes added, 05:24, 31 July 2023
m
no edit summary
|material=stone brick
|examine=Description
|type=(iron, high iron, portcullis, chain, stone, low stone, tall stone, stone parapet)}}
OPTIONAL
|gate=yes
|rendered=yes
|inside=no
|optionaltext=(any notes you wish to add)
|name='''{{PAGENAME}}'''
|active={{#if:{{{rendered|}}}|[[Clay]]|[[Mallet]], [[Hammer]] or [[Trowel]]}}
|passive={{#if:{{{rendered|}}}|{{#if:{{{gate|}}}|{{#switchifeq:{{{type}}}|iron = |[[Iron fencegate]]|{{#ififeq:{{{gate|type}}}|high iron|[[High iron fence gate}}]]|high iron = [[High iron fencePortcullis]]}} }}|{{#ifswitch:{{{gate|type}}}|iron = [[Iron fence]]|gate}}high iron = [[High iron fence]]
|portcullis = [[Portcullis]]
|chain = [[Chain fence]]
|tall stone = [[Tall stone wall]]
|stone parapet = [[Stone parapet]]
}} }}|[[Tile Border]]}} |groupM={{#if:{{{rendered|}}}|Render fence|Fence > {{#ifswitch:{{{type|iron}}}{{{type|iron = Iron|high iron}}}{{{type= Iron|portcullis = Stone|chain}}}= Iron|low stone = Stone|tall stone = Stone|Ironstone parapet = Stone}} > Build {{PAGENAME}}}}
|materials={{#if:{{{rendered|}}}|* [[{{{material|Clay}}}]] (5.00 kg)|
<!-- Materials -->
{{#switch: {{{type}}}
|iron = * 10x [[{{{material|Stone brick}}}]]
* 1x [[Iron fence barsbar]]
|portcullis = *15x [[{{{material|Stone brick}}}]]
* 2x [[Iron fence bars]]
|tall stone = * 20x [[{{{material|Stone brick}}}]]
|stone parapet = * 15x [[{{{material|Stone brick}}}]]
}} }}
|result=*'''{{PAGENAME}}'''
|skill=Masonry
|improveItem={{#if:{{{renderedmaterial|}}}|Stone brick|{{{material}}bricks}}}|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|stone brick}}}]] in your [[inventory]] to start building it.}}{{#ififeq:{{{type}}}|stone parapet}}}|*Can only be built on building tile borders.}}{{#if:{{{type|low stone}}}||*When using combined shards, the wall will only use 20.00 kg of the total shard weight per success.}}
}}
== Description ==
''{{{examine|Description}}}''
{{#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 ==
{{Template:Fence skill table}}
<!-- The above info should not show on parapets, so the brackets below close an if statement for that -->|}}
== 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.* At 60 damage, {{#ifswitch:{{{type|iron}}}{{{type|iron = the iron fence bars will turn rusty in color.|high iron}}}{{{type|chain}}}= the iron fence bars will turn rusty in color.|portcullis = cracks will form on the wall.|chain = the iron fence bars chains will turn rusty in color.|low stone = cracks will form on the wall.|stone = cracks will form on the wall.|tall stone = cracks will form on the wall.|stone parapet = cracks will form on the wall.}}{{#ifeq:{{{inside}}}|no|* Can not be build inside buildings.}}
{{#if:{{{gate|}}}|* Intelligent monsters such as [[troll|trolls]] are able to open unlocked gates.}}
{{#ifeq:{{{type}}}|high iron|* High iron fence gates cannot be built in arched walls, [[iron fence gate]]s can.|}}
{{#if:{{{gate|}}}|* Gates can be locked with a [[gate lock]], then controlled by deed [[permissions]] if applicable, as well as the [[key]].}}
{{#ifeq:{{{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:{{{optionaltext|}}}|* {{{optionaltext}}}}}
 
== See also ==
* [[:Category:Fences|Fences]]
* [[:Category:Gates|Fence gates]]
 
* [[Empirical Evaluation of Fences]]
 
 
{{#if:{{{gate|}}}|[[Category:Gates]]|[[Category:Fences]]}}
{{#ififeq:{{{type|stone parapet}}}|stone parapet|[[Category:Walls]]}}
{{#if:{{{examine|}}}||[[Category:Missing description]]}}
[[Category:Masonry items]]

Navigation menu