Template:Weapon: Difference between revisions
Jump to navigation
Jump to search
(ammo handling update) |
(ItemProperties plug in test) |
||
Line 24: | Line 24: | ||
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal|}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]]|''Unknown''}}|''Unknown''}}{{#switch:{{lc:{{{traderapp}}}}}|yes|y=[[was trader appraised::true| ]]|no|n|[[was trader appraised::false| ]]}} |
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal|}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]]|''Unknown''}}|''Unknown''}}{{#switch:{{lc:{{{traderapp}}}}}|yes|y=[[was trader appraised::true| ]]|no|n|[[was trader appraised::false| ]]}} |
||
|- |
|- |
||
{{ItemProperties|itype=item|weight={{{weight|}}}|special={{{special|}}}|special2={{{special2|}}}|special3={{{special3|}}}|special4={{{special4|}}}|special4={{{special4|}}}|special5={{{special5|}}}|special6={{{special6|}}}|wearloc={{{wearloc|}}}|source={{{shop|}}}|cost={{{cost|}}}|source2={{{shop2|}}}|cost2={{{cost2|}}}|source3={{{shop3|}}}|cost3={{{cost3|}}}|source4={{{shop4|}}}|cost4={{{cost4|}}}|source5={{{shop5|}}}|cost5={{{cost5|}}}|source6={{{shop6|}}}|cost6={{{cost6|}}}|source7={{{shop7|}}}|cost7={{{cost7|}}}|source8={{{shop8|}}}|cost8={{{cost8|}}}|source9={{{shop9|}}}|cost9={{{cost9|}}}|source10={{{shop10|}}}|cost10={{{cost10|}}}|maxcharge={{{maxcharge|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|sourcetype6={{{sourcetype6|}}}|sourcetype7={{{sourcetype7|}}}|sourcetype8={{{sourcetype8|}}}|sourcetype9={{{sourcetype9|}}}|sourcetype10={{{sourcetype10|}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}}} |
|||
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]]|''?''}} stones |
|||
|- |
|||
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|[[appraised cost is::{{{appcost}}}]]|''?'' Kronars}} |
|||
|- |
|||
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#If:{{{cost|}}}| ({{{cost}}})}}|{{!}}'''For Sale At (Base Cost):'''{{!}}{{!}}<DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}} {{#if:{{{coin|}}}|{{#switch:{{lc:{{{coin}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})|''Unknown''}}{{#if:{{{shop2|}}}|<DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}} {{#if:{{{coin2|}}}|{{#switch:{{lc:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''Unknown''}}} {{#if:{{{coin3|}}}|{{#switch:{{lc:{{{coin3}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>({{{cost4|''Unknown''}}} {{#if:{{{coin4|}}}|{{#switch:{{lc:{{{coin4}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost5|''Unknown''}}} {{#if:{{{coin5|}}}|{{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop6|}}}|<DT>[[{{{shop6}}}]]<DD>({{{cost6|''Unknown''}}} {{#if:{{{coin6|}}}|{{#switch:{{lc:{{{coin6}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop7|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost7|''Unknown''}}} {{#if:{{{coin7|}}}|{{#switch:{{lc:{{{coin7}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop8|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost8|''Unknown''}}} {{#if:{{{coin8|}}}|{{#switch:{{lc:{{{coin8}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop9|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost9|''Unknown''}}} {{#if:{{{coin9|}}}|{{#switch:{{lc:{{{coin9}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop10|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost10|''Unknown''}}} {{#if:{{{coin10|}}}|{{#switch:{{lc:{{{coin10}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}</DL>}} |
|||
|- |
|||
| '''Special Properties:''' |
|||
|{{#if:{{{special|}}}|[[has special property::{{lc:{{{special}}}}}|]]}}{{#if:{{{special2|}}}|[[has special property::{{lc:{{{special2}}}}}|]]}}{{#if:{{{special3|}}}|[[has special property::{{lc:{{{special3}}}}}|]]}}{{#if:{{{special4|}}}|[[has special property::{{lc:{{{special4}}}}}|]]}}{{#if:{{{special5|}}}|[[has special property::{{lc:{{{special5}}}}}|]]}}{{#If:{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}}}{{IfMatch|magic|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}|* This item is magical.}}{{#If:{{IfMatch|y|{{{cambrinth}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{magic}}}}}|* This item has [[cambrinth]] in it and will hold up to {{#if:{{{maxcharge|}}}|{{{maxcharge}}}|''?''}} mana.}}{{IfMatch|dwarfonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Dwarf|Dwarves]].}}{{IfMatch|elfonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Elf|Elves]].}}{{IfMatch|elotheanonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Elothean]]s.}}{{IfMatch|gnomeonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Gnome]]s.}}{{IfMatch|gortogonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Gor'Tog]]s.}}{{IfMatch|halflingonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Halfling]]s.}}{{IfMatch|humanonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Human]]s.}}{{IfMatch|kaldaronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Kaldar]].}}{{IfMatch|prydaenonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Prydaen]].}}{{IfMatch|rakashonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Rakash]].}}{{IfMatch|skramuronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[S'kra Mur]].}}{{IfMatch|smallonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by the smaller races, [[Gnome]]s and [[Halfling]]s.}}{{IfMatch|mediumonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by the medium races, [[Dwarf|Dwarves]], [[Elothean]]s, [[Elf|Elves]], [[Human]]s, [[Prydaen]], [[Rakash]], and [[S'kra Mur]].}}{{IfMatch|largeonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by the large races, [[Gor'Tog]]s and [[Kaldar]].}}{{IfMatch|barbarianonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Barbarian]]s.}}{{IfMatch|moonmageonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Moon Mage]]s.}}{{IfMatch|rangeronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Ranger]]s.}}{{IfMatch|clericonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Cleric]]s.}}{{IfMatch|traderonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Trader]]s.}}{{IfMatch|thiefonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Thief]]s.}}{{IfMatch|warriormageonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Warrior Mage]]s.}}{{IfMatch|empathonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Empath]]s.}}{{IfMatch|paladinonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Paladin]]s.}}{{IfMatch|bardonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Bard]]s.}}{{IfMatch|necromanceronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*This weapon can only be used by [[Necromancer]]s.}}{{#if:{{{magic|}}}{{{cambrinth|}}}{{{special|}}}{{{special2|}}}{{{special3|}}}{{{special4|}}}{{{special5|}}}||*None}} |
|||
|}<includeonly> |
|}<includeonly> |
||
<!-- Adds page to appropriate category based on type --> |
<!-- Adds page to appropriate category based on type --> |
||
[[Category:Weapons|{{PAGENAME}}]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Weapons|{{PAGENAME}}]]}}{{#if:{{{type2|}}}|[[Category:{{SkillCode|{{{type2}}}}} Weapons|{{PAGENAME}}]]}}{{#if:{{{type3|}}}|[[Category:{{SkillCode|{{{type3}}}}} Weapons|{{PAGENAME}}]]}}{{#switch:{{lc:{{{metal}}}}}|y|yes=[[Category:Metal Weapons|{{PAGENAME}}]]{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type}}}}} Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type2|}}}|{{#switch:{{lc:{{{type2}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type2}}}}} Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type3|}}}|{{#switch:{{lc:{{{type3}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type3}}}}} Metal Weapons|{{PAGENAME}}]]}}}}|n|no=[[Category:Non-Metal Weapons|{{PAGENAME}}]]{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type}}}}} Non-Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type2|}}}|{{#switch:{{lc:{{{type2}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type2}}}}} Non-Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type3|}}}|{{#switch:{{lc:{{{type3}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type3}}}}} Non-Metal Weapons|{{PAGENAME}}]]}}}}}}{{#switch:{{lc:{{{ammo}}}}}|bolt=[[Category:Bolt-Using Weapons|{{PAGENAME}}]]|arrow=[[Category:Arrow-Using Weapons|{{PAGENAME}}]]|rock=[[Category:Rock-Using Weapons|{{PAGENAME}}]]|thrown=[[Category:Thrown Weapons|{{PAGENAME}}]]}}{{#if:{{{puncture2|}}}{{{impact2|}}}{{{slice2|}}}{{{balance2|}}}{{{suitedness2|}}}|[[Category:Swappable Weapons|{{PAGENAME}}]]}}</includeonly><noinclude> |
|||
[[Category:Weapons|{{PAGENAME}}]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Weapons|{{PAGENAME}}]]}}{{#if:{{{type2|}}}|[[Category:{{SkillCode|{{{type2}}}}} Weapons|{{PAGENAME}}]]}}{{#if:{{{type3|}}}|[[Category:{{SkillCode|{{{type3}}}}} Weapons|{{PAGENAME}}]]}}{{#switch:{{lc:{{{metal}}}}}|y|yes=[[Category:Metal Weapons|{{PAGENAME}}]]{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type}}}}} Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type2|}}}|{{#switch:{{lc:{{{type2}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type2}}}}} Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type3|}}}|{{#switch:{{lc:{{{type3}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type3}}}}} Metal Weapons|{{PAGENAME}}]]}}}}|n|no=[[Category:Non-Metal Weapons|{{PAGENAME}}]]{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type}}}}} Non-Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type2|}}}|{{#switch:{{lc:{{{type2}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type2}}}}} Non-Metal Weapons|{{PAGENAME}}]]}}}}{{#if:{{{type3|}}}|{{#switch:{{lc:{{{type3}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type3}}}}} Non-Metal Weapons|{{PAGENAME}}]]}}}}}}{{#If:{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}}}{{IfMatch|magic|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}|[[Category:Magic Items|{{PAGENAME}}]][[Category:Magic Weapons|{{PAGENAME}}]]}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Cambrinth Items|{{PAGENAME}}]][[Category:Cambrinth Weapons|{{PAGENAME}}]]}}{{IfMatch|dwarfonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Dwarf-Only Weapons|{{PAGENAME}}]][[Category:Dwarven Weapons|{{PAGENAME}}]]}}{{IfMatch|elfonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Elf-Only Weapons|{{PAGENAME}}]][[Category:Elven Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]].}}{{IfMatch|elotheanonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|[[Category:Elothean-Only Weapons|{{PAGENAME}}]][[Category:Elothean Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|gnomeonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Gnome-Only Weapons|{{PAGENAME}}]][[Category:Gnome Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|gortogonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|[[Category:Gor'Tog-Only Weapons|{{PAGENAME}}]][[Category:Gor'Tog Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|halflingonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Halfling-Only Weapons|{{PAGENAME}}]][[Category:Halfling Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|humanonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Human-Only Weapons|{{PAGENAME}}]][[Category:Human Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]].}}{{IfMatch|kaldaronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Kaldar-Only Weapons|{{PAGENAME}}]][[Category:Kaldar Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|prydaenonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Prydaen-Only Weapons|{{PAGENAME}}]][[Category:Prydaen Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|rakashonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*[[Category:Rakash-Only Weapons|{{PAGENAME}}]][[Category:Rakash Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|skramuronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:S'kra Mur-Only Weapons|{{PAGENAME}}]][[Category:S'kra Mur Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|smallonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Small Race-Only Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|mediumonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Medium Race-Only Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|largeonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Large Race-Only Weapons|{{PAGENAME}}]][[Category:Race Restricted Items|{{PAGENAME}}]][[Category:Race Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|barbarianonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Barbarian-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|moonmageonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Moon Mage-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|rangeronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Ranger-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|clericonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Cleric-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|traderonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Trader-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|thiefonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Thief-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|warriormageonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Warrior Mage-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|empathonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Empath-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|paladinonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Paladin-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|bardonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Bard-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|necromanceronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Necromancer-Only Weapons|{{PAGENAME}}]][[Category:Guild Restricted Items|{{PAGENAME}}]][[Category:Guild Restricted Weapons|{{PAGENAME}}]]}}{{IfMatch|light|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Light Sources|{{PAGENAME}}]]}}{{#switch:{{lc:{{{ammo}}}}}|bolt=[[Category:Bolt-Using Weapons|{{PAGENAME}}]]|arrow=[[Category:Arrow-Using Weapons|{{PAGENAME}}]]|rock=[[Category:Rock-Using Weapons|{{PAGENAME}}]]|thrown=[[Category:Thrown Weapons|{{PAGENAME}}]]}}{{#if:{{{puncture2|}}}{{{impact2|}}}{{{slice2|}}}{{{balance2|}}}{{{suitedness2|}}}|[[Category:Swappable Weapons|{{PAGENAME}}]]}}</includeonly><noinclude> |
|||
==Usage Documentation== |
==Usage Documentation== |
||
This template is for use with weapons that are <b>non-crafted</b> and non-brawling or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items. Please use [[Template:BrawlItem]] for parry sticks and brawling equipment.<br> |
This template is for use with weapons that are <b>non-crafted</b> and non-brawling or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items. Please use [[Template:BrawlItem]] for parry sticks and brawling equipment.<br> |
Revision as of 01:23, 15 June 2008
Weapon | |
---|---|
Look: | Unknown |
Core Noun: | Unknown |
Type: | Unknown |
Range: | Unknown |
Damage: | Unknown puncture damage Unknown slice damage Unknown impact damage |
Balance: | Unknown |
Suitedness: | Unknown |
Construction: | Unknown |
Metal: | Unknown |
Appraised Cost: | Unknown |
Properties: | |
Dimensions: | ? length x ? width x ? height |
Sources: | Unknown |
Usage Documentation
This template is for use with weapons that are non-crafted and non-brawling or derivatives thereof. Please consult the Manual of Style for information on listing crafted items. Please use Template:BrawlItem for parry sticks and brawling equipment.
Currently the only special properties this page is set up to display is magical and cambrinth equipment. If you have other suggestions, please list them on the discussion page.
Note: This page is not currently set up to automatically generate {{incomplete}} tags, but will soon.
Variable | Supported Values | Usage |
---|---|---|
name | name of the object if it's different than the page name | |
look | the description gained by LOOKing at it. | |
noun | the single word noun used to interact with it | |
type# | LE/ME/HE/2HE/LB/MB/HB/2HB/SL/StS/SB /LoB/CB/LX/HX/SS/QS/PI/HAL/LT/HT |
Weapon type, use the skill codes under EXP SKILLS, addition slots for swappable, otherwise changable, or melee/thrown weapons |
range | melee/pole/ranged | farthest reachable attack range, not counting throwing |
ammo | rock/bolt/arrow/thrown | Ammo type, or thrown |
ammocap | # | How much ammo can it hold, for repeating crossbows or others |
puncture# | n/(puncture) | Puncture damage of the weapon, put "n" to disable all three damage fields for ranged weapons that do not directly do damage |
slice# | (slice) | Slice damage of the weapon, put "n" for ranged weapons that do not directly do damage |
impact# | (impact) | Impact damage of the weapon, put "n" for ranged weapons that do not directly do damage |
balance# | (balance) | Balance value of weapon, additional fields for other modes |
suitedness# | (suitedness) | Suitedness value of weapon, additional fields for other modes |
construction | (construction) | Construction value of weapon |
metal | y/n | Is it made with metal and therefore repairable at a metal forge |
weight | # | weight in stones |
appcost | # | The cost given by an expert (trader preferred) appraisal. Given in kronars. |
special# | magic/cambrinth/(race)only/(guild)only/light | Any special properties. |
maxcharge | # | If cambrinth, the maximum mana that can be held by it |
shop# | n/(shop) | shop where it can be bought, put "n" if not sold, are links automatically generated |
cost# | # | the cost at the preceeding shop |
coin# | k/l/d | The type of currency at the preceeding shop |
{{Weapon |name= |look= |noun= |type= |type2= |type3= |range= |ammo= |ammocap= |puncture= |slice= |impact= |puncture2= |slice2= |impact2= |puncture3= |slice3= |impact3= |balance= |balance2= |balance3= |suitedness= |suitedness2= |suitedness3= |construction= |metal= |weight= |appcost= |special= ...... |special5= |maxcharge= |shop= |cost= |coin= |shop2= |cost2= |coin2= |shop3= |cost3= |coin3= |shop4= |cost4= |coin4= |shop5= |cost5= |coin5= |shop6= |cost6= |coin6= |shop7= |cost7= |coin7= |shop8= |cost8= |coin8= |shop9= |cost9= |coin9= |shop10= |cost10= |coin10= }}