Difference between revisions of "Template:Fence"

From Wurmpedia
Jump to navigation Jump to search
m
m
 
(23 intermediate revisions by 8 users not shown)
Line 16: Line 16:
 
|gate=yes
 
|gate=yes
 
|rendered=yes
 
|rendered=yes
 +
|inside=no
 
|optionaltext=(any notes you wish to add)
 
|optionaltext=(any notes you wish to add)
  
Line 32: Line 33:
 
|name='''{{PAGENAME}}'''
 
|name='''{{PAGENAME}}'''
 
|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|}}}
|groupM={{#if:{{{rendered|}}}|Render fence|Fence >  
+
|{{#if:{{{gate|}}}|{{#ifeq:{{{type}}}|iron|[[Iron fence gate]]|{{#ifeq:{{{type}}}|high iron|[[High iron fence gate]]|[[Portcullis]]}} }}
 +
|{{#switch: {{{type}}}
 +
|iron = [[Iron fence]]
 +
|high iron = [[High iron fence]]
 +
|portcullis = [[Portcullis]]
 +
|chain = [[Chain fence]]
 +
|stone = [[Stone fence]]
 +
|low stone = [[Low stone wall]]
 +
|tall stone = [[Tall stone wall]]
 +
|stone parapet = [[Stone parapet]]
 +
}} }} | [[Tile Border]]}}
 +
|groupM={{#if:{{{rendered|}}}|Render fence|Fence >
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 
|iron = Iron
 
|iron = Iron
Line 48: Line 60:
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 
|iron = * 10x [[{{{material|Stone brick}}}]]
 
|iron = * 10x [[{{{material|Stone brick}}}]]
* 1x [[Iron fence bar]]
+
* 1x [[Iron fence bar]]
|portcullis - *15x [[{{{material|Stone brick}}}]]
+
|portcullis = *15x [[{{{material|Stone brick}}}]]
 
* 2x [[Iron fence bars]]
 
* 2x [[Iron fence bars]]
 
* 2x [[Small wheel]]
 
* 2x [[Small wheel]]
 
* 1x [[Cordage rope]]
 
* 1x [[Cordage rope]]
|stone  = * 10x [[{{{material|Stone brick}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
+
|stone  = * 10x [[{{{material|Stone brick}}}]]
|low stone  = * 10x [[{{{material|Rock shard}}}]]{{#if:{{{type|low stone}}}| (200.00 kg)}}
+
|low stone  = * 10x [[{{{material|Rock shard}}}]] (200.00 kg)
 
|chain  = * 10x [[{{{material|Stone brick}}}]]
 
|chain  = * 10x [[{{{material|Stone brick}}}]]
 
* 6x [[Large chain link]]
 
* 6x [[Large chain link]]
Line 61: Line 73:
 
|tall stone = * 20x [[{{{material|Stone brick}}}]]
 
|tall stone = * 20x [[{{{material|Stone brick}}}]]
 
|stone parapet = * 15x [[{{{material|Stone brick}}}]]
 
|stone parapet = * 15x [[{{{material|Stone brick}}}]]
}}
+
}}}}
 
 
}}
 
 
|result=*'''{{PAGENAME}}'''
 
|result=*'''{{PAGENAME}}'''
 
|skill=Masonry
 
|skill=Masonry
Line 71: Line 81:
 
}}
 
}}
 
== Description ==
 
== Description ==
''{{{examine|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]].}}
 
{{#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.}}|
 
 
== Skill required ==
 
== Skill required ==
 
{{Template:Fence skill table}}
 
{{Template:Fence skill table}}
}}
+
 
 +
 
 
== 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 {{{material}}}. Each {{{material}}} will repair up to 10 damage depending on quality and repairing skill.
 
* At 60 damage, {{#switch: {{{type}}}
 
* At 60 damage, {{#switch: {{{type}}}
 
|iron = the iron fence bars will turn rusty in color.
 
|iron = the iron fence bars will turn rusty in color.
Line 87: Line 95:
 
|chain = the iron chains will turn rusty in color.
 
|chain = the iron chains will turn rusty in color.
 
|low stone = cracks will form on the wall.
 
|low stone = cracks will form on the wall.
 +
|stone = cracks will form on the wall.
 
|tall stone = cracks will form on the wall.
 
|tall stone = cracks will form on the wall.
 
|stone parapet = 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.}}
 
{{#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}}}}}
 
{{#if:{{{optionaltext|}}}|* {{{optionaltext}}}}}
 +
 
== See also ==
 
== See also ==
 
* [[:Category:Fences|Fences]]
 
* [[:Category:Fences|Fences]]
 
* [[:Category:Gates|Fence gates]]
 
* [[:Category:Gates|Fence gates]]
 +
 +
* [[Empirical Evaluation of Fences]]
 +
 +
  
 
{{#if:{{{gate|}}}|[[Category:Gates]]|[[Category:Fences]]}}
 
{{#if:{{{gate|}}}|[[Category:Gates]]|[[Category:Fences]]}}

Latest revision as of 13:24, 31 July 2023

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
|inside=no
|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"