Template:Weapon: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (bugfix)
No edit summary
 
(189 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{#if:{{#show: {{FULLPAGENAME}} | ?missing}}|{{IncompleteItem}}|}}{{#switch:{{lc:{{{newapp2}}}}}|true|yes=[[is outdated::false| ]]|{{OldApp}}}}
<includeonly>{{IfAND|{{IfAND|{{{noun|}}}|{{{type|}}}|{{{range|}}}|{{{balance|}}}|{{{suitedness|}}}|{{{construction|}}}|{{{metal|}}}|{{{weight|}}}|{{{appcost|}}}}}|{{IfAND|{{#ifeq:{{lc:{{{shop|}}}}}|n|1|{{IfAND|{{{cost|}}}|{{{coin|}}}}}}}|{{#if:{{{puncture2|}}}{{{impact2|}}}{{{slice2|}}}{{{balance2|}}}{{{suitedness2|}}}|{{IfAND|{{{type2|}}}|{{{puncture2|}}}|{{{impact2|}}}|{{{slice2|}}}|{{{balance2|}}}|{{{suitedness2|}}}}}}}|{{#if:{{{puncture3|}}}{{{impact3|}}}{{{slice3|}}}{{{balance3|}}}{{{suitedness3|}}}|{{IfAND|{{{type3|}}}|{{{puncture3|}}}|{{{impact3|}}}|{{{slice3|}}}|{{{balance3|}}}|{{{suitedness3|}}}}}}}|{{#if:{{{shop2|}}}{{{cost2|}}}|{{IfAND|{{{shop2|}}}{{{cost2|}}}|{{{coin2|}}}}}}}|{{#if:{{{shop3|}}}{{{cost3|}}}|{{IfAND|{{{shop3|}}}{{{cost3|}}}|{{{coin3|}}}}}}}|{{#if:{{{shop4|}}}{{{cost4|}}}|{{IfAND|{{{shop4|}}}{{{cost4|}}}|{{{coin4|}}}}}}}|{{#if:{{{shop5|}}}{{{cost5|}}}|{{IfAND|{{{shop5|}}}{{{cost5|}}}|{{{coin5|}}}}}}}|{{#if:{{{shop6|}}}{{{cost6|}}}|{{IfAND|{{{shop6|}}}{{{cost6|}}}|{{{coin6|}}}}}}}|{{#if:{{{shop7|}}}{{{cost7|}}}|{{IfAND|{{{shop7|}}}{{{cost7|}}}|{{{coin7|}}}}}}}|}}{{IfAND|{{#if:{{{shop8|}}}{{{cost8|}}}|{{IfAND|{{{shop8|}}}{{{cost8|}}}|{{{coin8|}}}}}}}|{{#if:{{{shop9|}}}{{{cost9|}}}|{{IfAND|{{{shop9|}}}{{{cost9|}}}|{{{coin9|}}}}}}}|{{#if:{{{shop10|}}}{{{cost10|}}}|{{IfAND|{{{shop10|}}}{{{cost10|}}}|{{{coin10|}}}}}}}|{{#switch:{{lc:{{{cambrinth}}}}}|y|yes={{#if:{{{maxcharge|}}}|1}}|1}}|{{#switch:{{lc:{{{range}}}}}|range|ranged={{IfAND|{{{ammo|}}}|{{{ammocap|}}}}}}}}}|false={{IncompleteItem|Some information is missing from the Infobox}}}}</includeonly>
{{#if:{{{ATag|}}}|[[Has ambiguous tags::true| ]]{{AmbiguousTags}}}}
{|class="wikitable" style="width:700px"
{{#if:{{{MTag|}}}||{{#if:{{{CTag|}}}||{{#if:{{{STag|}}}||{{IncompleteTags}}}}}}}}</includeonly>
{|class="wikitable" style="width:650px"
|-style="height:40px"
|-style="height:40px"
! {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="4" | colspan="3" }} | colspan="2" }} style="font-size:150%"|{{#if:{{{name|}}}|{{{name}}}[[needs checking::true| ]]|{{#switch:{{lc:{{{fname}}}}}|y|yes={{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}}}}}
! colspan="2" style="font-size:150%"|{{{name|{{PAGENAME}}}}}
|-
|-
|width="20%"|'''Look:'''||{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if:{{{look|}}}|{{#ifeq:{{{look}}}|-|''You see nothing unusual.''|{{{look}}}}}|<includeonly>[[missing::Infobox entry on LOOK description|''Unknown'']]</includeonly>}}{{#switch:{{{MTag|}}}|-|=|#default={{#arraymap:{{lc:{{{MTag}}}}}|,|@@@@|[[uses material::@@@@| ]]| }}}}{{#switch:{{{CTag|}}}|-|=|#default={{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@| ]]| }}}}{{#switch:{{{STag|}}}|-|=|#default={{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@| ]]| }}}}
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|-
|-
{{#if:{{{noun|}}}|[[noun is::{{lc:{{{noun}}}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}<includeonly>[[missing::Infobox entry on noun used|''Unknown'']]</includeonly>}}
{{#if:{{{noun|}}}||{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
|-
|-
{{WeaponProperties|span={{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}}|{{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}}|3|2}}|1}}|brawl={{{brawl|}}}|type={{{type|}}}|type2={{{type2|}}}|type3={{{type3|}}}|range={{{range|}}}|ammocap={{{ammocap|}}}|ammo={{{ammo|}}}|drawstrength={{{drawstrength|}}}|adraw={{{adraw|}}}|puncture={{{puncture|}}}|puncture2={{{puncture2|}}}|puncture3={{{puncture3|}}}|puncturetype={{{puncturetype|}}}|slice={{{slice|}}}|slice2={{{slice2|}}}|slice3={{{slice3|}}}|slicetype={{{slicetype|}}}|impact={{{impact|}}}|impact2={{{impact2|}}}|impact3={{{impact3|}}}|impacttype={{{impacttype|}}}|fire={{{fire|}}}|fire2={{{fire2|}}}|fire3={{{fire3|}}}|cold={{{cold|}}}|cold2={{{cold2|}}}|cold3={{{cold3|}}}|electric={{{electric|}}}|electric2={{{electric2|}}}
|'''Type:'''||{{#If:{{{type|}}}|{{SkillCode|{{{type}}}}}{{#If:{{{type2|}}}|/{{SkillCode|{{{type2}}}}}}}{{#If:{{{type3|}}}|/{{SkillCode|{{{type3}}}}}}}|''Unknown''}}
|electric3={{{electric3|}}}|foi={{{foi|}}}|foi2={{{foi2|}}}|foi3={{{foi3|}}}|balance={{{balance|}}}|balance2={{{balance2|}}}|balance3={{{balance3|}}}|suitedness={{{suitedness|}}}|suitedness2={{{suitedness2|}}}|suitedness3={{{suitedness3|}}}|construction={{{construction|}}}|metal={{{metal|}}}|weight={{{weight|}}}|rangedRT={{{rangedRT|}}}}}
|-
|-
{{ItemProperties|itype=weapon|special={{{special|}}}{{#if:{{{special2|}}}|,{{{special2|}}}}}{{#if:{{{special3|}}}|,{{{special3|}}}}}{{#if:{{{special4|}}}|,{{{special4|}}}}}{{#if:{{{special5|}}}|,{{{special5|}}}}}{{#if:{{{special6|}}}|,{{{special6|}}}}}|maxcharge={{{maxcharge|}}}|wearloc={{{wearloc|}}}|source={{#if:{{{shop|}}}|{{{shop|}}}|{{{source|}}}}}|cost={{{cost|}}}|source2={{#if:{{{shop2|}}}|{{{shop2|}}}|{{{source2|}}}}}|cost2={{{cost2|}}}|source3={{#if:{{{shop3|}}}|{{{shop3|}}}|{{{source3|}}}}}|cost3={{{cost3|}}}|source4={{#if:{{{shop4|}}}|{{{shop4|}}}|{{{source4|}}}}}|cost4={{{cost4|}}}|source5={{#if:{{{shop5|}}}|{{{shop5|}}}|{{{source5|}}}}}|cost5={{{cost5|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|rtype={{{rtype|}}}|gtype={{{gtype|}}}|verby={{{verby|}}}|atmos={{{atmos|}}}|pcrystal={{{pcrystal|}}}|istone={{{istone|}}}|rarity={{{rarity|}}}|rare={{{rare|}}}|span={{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | 3 | 2 }} | 1 }} |lsize={{{lsize|}}}|hsize={{{hsize|}}}|wsize={{{wsize|}}}|ilsize={{{ilsize|}}}|ihsize={{{ihsize|}}}|iwsize={{{iwsize|}}}|csize={{{csize|}}}|enchanted={{{enchanted|}}}|potency={{{potency|}}}|complexity={{{complexity|}}}|precision={{{precision|}}}|grade={{{grade|}}}|ebonus={{{ebonus|}}}|flare={{{flare|}}}|fdecoration={{{fdecoration|}}}|glamour={{{glamour|}}}|gdecoration={{{gdecoration|}}}|itemtype={{#if:{{{itype|}}}{{{wtype|}}}{{{noun|}}}|{{#if:{{{itype|}}}|{{lc:{{{itype}}}}}|{{#if:{{{wtype|}}}|{{lc:{{{wtype}}}}}|{{lc:{{{noun}}}}}}}}}}}|generator={{{generator|}}}|gentype={{{gentype|}}}|genname={{{genname|}}}|sources={{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|sep=%%%%|link=none}}|rev={{{rev|}}}|list={{#if:{{{list|}}}|{{{list}}}|{{PAGENAME}}}}}}
|'''Range:'''||{{#switch:{{lc:{{{range}}}}}|ranged=Ranged|pole=Pole|melee=Melee|''Unknown''}}
|}<includeonly>{{#if:{{{list|}}}|{{cat|Weapons|{{{list}}}}}|{{cat|Weapons}}}}{{#switch:{{{brawl}}}|y|yes={{#if:{{{list|}}}|{{cat|Brawling items|{{{list}}}}}|{{cat|Brawling items}}}}[[has default form::Form:BrawlItem| ]]}}[[page type is::weapon| ]]
|-
</includeonly><noinclude>
{{#ifeq:{{lc:{{{range|}}}}}|ranged|{{!}}'''Ammo:'''{{!}}{{!}}{{{ammocap|''Unknown''}}} {{{ammo|''Unknown''}}}(s).}}{{#if:{{IfMatch|lt|{{{type|}}}|{{{type2|}}}|{{{type3|}}}}}{{IfMatch|ht|{{{type|}}}|{{{type2|}}}|{{{type3|}}}}}{{#ifeq:{{lc:{{{ammo}}}}}|thrown|1}}|}}
|-
{{#ifeq:{{lc:{{{puncture}}}}}|n||{{!}}'''Damage:'''{{!}}{{!}}{{#if:{{{puncture|}}}|{{{puncture}}}|''Unknown''}}{{#If:{{{puncture2|}}}|/{{{puncture2}}}}}{{#If:{{{puncture3|}}}|/{{{puncture3}}}}} puncture damage<br>{{#if:{{{slice|}}}|{{{slice}}}|''Unknown''}}{{#If:{{{slice2|}}}|/{{{slice2}}}}}{{#If:{{{slice3|}}}|/{{{slice3}}}}} slice damage<br>{{#if:{{{impact|}}}|{{{impact}}}|''Unknown''}}{{#If:{{{impact2|}}}|/{{{impact2}}}}}{{#If:{{{impact3|}}}|/{{{impact3}}}}} impact damage}}
|-
|'''Balance:'''||{{#if:{{{balance|}}}|{{{balance}}}|''Unknown''}}{{#If:{{{balance2|}}}|/{{{balance2}}}}}{{#If:{{{balance3|}}}|/{{{balance3}}}}}
|-
|'''Suitedness:'''||{{#if:{{{suitedness|}}}|{{{suitedness}}}|''Unknown''}}{{#If:{{{suitedness2|}}}|/{{{suitedness2}}}}}{{#If:{{{suitedness3|}}}|/{{{suitedness3}}}}}
|-
|'''Construction:'''||{{#if:{{{construction|}}}|{{{construction|}}}|''Unknown''}}
|-
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal|}}}}}|yes|y=Yes|no|n=No|''Unknown''}}|''Unknown''}}
|-
|'''Weight:'''||{{#if:{{{weight|}}}|{{{weight}}}|''?''}} stones
|-
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
|-
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#If:{{{cost|}}}|&nbsp;({{{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:{{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>
<!-- Adds page to appropriate category based on type -->
[[Category:Items]][[Category:Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Weapons]]}}{{#if:{{{type2|}}}|[[Category:{{SkillCode|{{{type2}}}}} Weapons]]}}{{#if:{{{type3|}}}|[[Category:{{SkillCode|{{{type3}}}}} Weapons]]}}{{#switch:{{lc:{{{metal}}}}}|y|yes=[[Category:Metal Weapons]]{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type}}}}} Metal Weapons]]}}}}{{#if:{{{type2|}}}|{{#switch:{{lc:{{{type2}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type2}}}}} Metal Weapons]]}}}}{{#if:{{{type3|}}}|{{#switch:{{lc:{{{type3}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type3}}}}} Metal Weapons]]}}}}|n|no=[[Category:Non-Metal Weapons]]{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type}}}}} Non-Metal Weapons]]}}}}{{#if:{{{type2|}}}|{{#switch:{{lc:{{{type2}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type2}}}}} Non-Metal Weapons]]}}}}{{#if:{{{type3|}}}|{{#switch:{{lc:{{{type3}}}}}|skillcode error|lx|hx|sl|sts|sb|lob|cb=|[[Category:{{SkillCode|{{{type3}}}}} Non-Metal Weapons]]}}}}}}{{#If:{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}}}{{IfMatch|magic|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}|[[Category:Magic Items]][[Category:Magic Weapons]]}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Cambrinth Items]][[Category:Cambrinth Weapons]]}}{{IfMatch|dwarfonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Dwarf-Only Weapons]][[Category:Dwarven Weapons]]}}{{IfMatch|elfonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Elf-Only Weapons]][[Category:Elven Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]].}}{{IfMatch|elotheanonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|[[Category:Elothean-Only Weapons]][[Category:Elothean Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|gnomeonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Gnome-Only Weapons]][[Category:Gnome Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|gortogonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|[[Category:Gor'Tog-Only Weapons]][[Category:Gor'Tog Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|halflingonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Halfling-Only Weapons]][[Category:Halfling Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|humanonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Human-Only Weapons]][[Category:Human Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]].}}{{IfMatch|kaldaronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Kaldar-Only Weapons]][[Category:Kaldar Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|prydaenonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Prydaen-Only Weapons]][[Category:Prydaen Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|rakashonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=*[[Category:Rakash-Only Weapons]][[Category:Rakash Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|skramuronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:S'kra Mur-Only Weapons]][[Category:S'kra Mur Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|smallonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Small Race-Only Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|mediumonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Medium Race-Only Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|largeonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Large Race-Only Weapons]][[Category:Race Restricted Items]][[Category:Race Restricted Weapons]]}}{{IfMatch|barbarianonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Barbarian-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|moonmageonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Moon Mage-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|rangeronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Ranger-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|clericonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Cleric-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|traderonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Trader-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|thiefonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Thief-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|warriormageonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Warrior Mage-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|empathonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Empath-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|paladinonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Paladin-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|bardonly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Bard-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|necromanceronly|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Necromancer-Only Weapons]][[Category:Guild Restricted Items]][[Category:Guild Restricted Weapons]]}}{{IfMatch|light|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Light Sources]]}}{{#switch:{{lc:{{{ammo}}}}}|bolt=[[Category:Bolt-Using Weapons]]|arrow=[[Category:Arrow-Using Weapons]]|rock=[[Category:Rock-Using Weapons]]|thrown=[[Category:Thrown Weapons]]}}{{#if:{{{puncture2|}}}{{{impact2|}}}{{{slice2|}}}{{{balance2|}}}{{{suitedness2|}}}|[[Category:Swappable Weapons]]}}</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> or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items. This is also for use with brawling weapons and parry sticks.<br />
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 [[Template_talk:Weapon|discussion page]].<br>
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 [[Template_talk:Weapon|discussion page]].<br />
'''Note:''' This page is not currently set up to automatically generate <nowiki>{{incomplete}}</nowiki> tags, but will soon.


{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
!Variable!!Supported Values!!Usage
!Variable!!Supported Values!!Usage
|-
|brawl||y/n||Whether this is a brawling related item. This is REQUIRED to process brawling equipment properly. This [[Form:BrawlItem|form]] will add it automatically.
|-
|-
|name|| ||name of the object if it's different than the page name
|name|| ||name of the object if it's different than the page name
|-
|-
|look|| ||the description gained by LOOKing at it.
|look|| <text>/- ||the description gained by {{com|LOOK}}ing at it. "-" will trigger "''You see nothing unusual.''"
|-
|-
|noun|| ||the single word noun used to interact with it
|noun|| ||the single word noun used to interact with it
|-
|-
|type#||LE/ME/HE/2HE/LB/MB/HB/2HB/SL/StS/SB<br/>/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
|type#||LE/ME/HE/2HE/LB/MB/HB/2HB/SL/StS/SB<br/>/LoB/CB/LX/HX/SS/QS/PI/HAL/LT/HT/arrow<br/>/bolt/rock/dart/hand/elbow/knee/foot/parry || Weapon type, use the skill codes under EXP SKILLS, addition slots for swappable, otherwise changable, or melee/thrown weapons, and the hand/elbow/knee/foot/parry is for use with brawling equipment.
|-
|-
|range||melee/pole/ranged||farthest reachable attack range, not counting throwing
|range||melee/pole/ranged||farthest reachable attack range, not counting throwing
|-
|-
|ammo||rock/bolt/arrow/thrown||Ammo type, or thrown
|ammo||rock/bolt/arrow/dart/thrown||Ammo type '''used''', or thrown. Leave blank if not appropriate.
|-
|-
|ammocap||#||How much ammo can it hold, for repeating crossbows or others
|ammocap||#||How much ammo can it hold, for repeating crossbows or others Leave blank if not appropriate.
|-
|-
|rangedRT||#||The base RT of the ranged weapon, when loading from a non-quiver, without any stat-related reductions
|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
|-
|-
|drawstrength||(draw strength)||The draw strength value of a bow. Leave blank or omit for non-bows.
|slice#||(slice)||Slice damage of the weapon, put "n" for ranged weapons that do not directly do damage
|-
|-
|adraw||y/n||Is the draw strength adjuststable? Leave blank or omit for non-bows.
|impact#||(impact)||Impact damage of the weapon, put "n" for ranged weapons that do not directly do damage
|-
|-
|puncture#<br/>slice<br/>impact||-/(damage)||Damage of the weapon, put "-" in puncture and leave other fields blank to disable all three damage fields 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
|foi#||-/(foi)||Force of Impact value of weapon, additional fields for other modes.
|-
|balance#||-/(balance)||Balance value of weapon, additional fields for other modes. Put "-" to remove both balance and suitability for ammunition articles.
|-
|suitedness#||(suitedness)||Suitedness value of weapon, additional fields for other modes. Leave blank for ammunition articles.
|-
|-
|construction||(construction)||Construction value of weapon
|construction||(construction)||Construction value of weapon
Line 75: Line 61:
|appcost||#||The cost given by an expert (trader preferred) appraisal. Given in kronars.
|appcost||#||The cost given by an expert (trader preferred) appraisal. Given in kronars.
|-
|-
|special#||magic/cambrinth/(race)only/(guild)only/light||Any special properties.
|special#||magic/creation/cambrinth/(race) style/(guild) style/light||Any special properties. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race.
|-
|-
|maxcharge||#||If cambrinth, the maximum mana that can be held by it
|maxcharge||#||If cambrinth, the maximum mana that can be held by it
|-
|-
|sourcetype#||-/sold by/other||Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". '''Note: "dropped by" is now handled by script.'''
|shop#||n/(shop)||shop where it can be bought, put "n" if not sold, are links automatically generated
|-
|source#||(source)+(source version 2)+...||Where the item comes from. If sourcetype is "dropped by" or "sold by", links auto generated. If there are multiple versions of a store selling the item at the same cost, list them with the "+".
|-
|cost#||# Kronars\Lirums\Dokoras||If sold, the cost at the preceeding shop, otherwise leave blank. Include currency.
|-
| newapp || true/false || This property declares that this item has been updated since the [[Post:Durability 2.0- 10/10/2010 - 09:33:58|appraisal changes]].
|-
|-
|list|| ||A way to change how an item is listed in categories.
|cost#||#||the cost at the preceeding shop
|-
|-
| rare || true/false || Used to explicitly declare that an item is not commonly available at a shop or creature drop.
|coin#||k/l/d||The type of currency at the preceeding shop
|}
|}


<pre>
<pre>
{{Weapon
{{Weapon
|brawl=
|name=
|name=
|look=
|look=
Line 97: Line 90:
|ammo=
|ammo=
|ammocap=
|ammocap=
|drawstrength=
|adraw=
|puncture=
|puncture=
|slice=
|slice=
Line 106: Line 101:
|slice3=
|slice3=
|impact3=
|impact3=
|foi=
|foi2=
|foi3=
|balance=
|balance=
|balance2=
|balance2=
Line 120: Line 118:
|special5=
|special5=
|maxcharge=
|maxcharge=
|sourcetype=
|shop=
|source=
|cost=
|cost=
|sourcetype2=
|coin=
|shop2=
|source2=
|cost2=
|cost2=
|sourcetype3=
|coin2=
|shop3=
|source3=
|cost3=
|cost3=
....
|coin3=
|sourcetype10=
|shop4=
|source10=
|cost4=
|coin4=
|shop5=
|cost5=
|coin5=
|shop6=
|cost6=
|coin6=
|shop7=
|cost7=
|coin7=
|shop8=
|cost8=
|coin8=
|shop9=
|cost9=
|coin9=
|shop10=
|cost10=
|cost10=
|coin10=
|newapp=
}}
}}
</pre>
</pre>
Line 155: Line 137:
==Also See==
==Also See==
*[[Template:Armor]]
*[[Template:Armor]]
*[[Template:BrawlItem]]
*[[Template:CraftedItem]]
*[[Template:CraftedItem]]
*[[Template:Item]]
*[[Template:Item]]
*[[Template:Shield]]
*[[Template:Shield]]


{{cat|Templates}}
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 13:52, 24 September 2023

weapon
Look:
Core Noun:
Type: Unknown
Range: unknown
Puncture: Unknown
Slice: Unknown
Impact: Unknown
Force of Impact: Unknown
Balance: Unknown
Suitedness: Unknown
Construction: (??"??" is not a number./18)
Metal: Unknown
Weight: 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 or derivatives thereof. Please consult the Manual of Style for information on listing crafted items. This is also for use with brawling weapons and parry sticks.
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.

Variable Supported Values Usage
brawl y/n Whether this is a brawling related item. This is REQUIRED to process brawling equipment properly. This form will add it automatically.
name name of the object if it's different than the page name
look <text>/- the description gained by LOOKing at it. "-" will trigger "You see nothing unusual."
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/arrow
/bolt/rock/dart/hand/elbow/knee/foot/parry
Weapon type, use the skill codes under EXP SKILLS, addition slots for swappable, otherwise changable, or melee/thrown weapons, and the hand/elbow/knee/foot/parry is for use with brawling equipment.
range melee/pole/ranged farthest reachable attack range, not counting throwing
ammo rock/bolt/arrow/dart/thrown Ammo type used, or thrown. Leave blank if not appropriate.
ammocap # How much ammo can it hold, for repeating crossbows or others Leave blank if not appropriate.
rangedRT # The base RT of the ranged weapon, when loading from a non-quiver, without any stat-related reductions
drawstrength (draw strength) The draw strength value of a bow. Leave blank or omit for non-bows.
adraw y/n Is the draw strength adjuststable? Leave blank or omit for non-bows.
puncture#
slice
impact
-/(damage) Damage of the weapon, put "-" in puncture and leave other fields blank to disable all three damage fields for ranged weapons that do not directly do damage
foi# -/(foi) Force of Impact value of weapon, additional fields for other modes.
balance# -/(balance) Balance value of weapon, additional fields for other modes. Put "-" to remove both balance and suitability for ammunition articles.
suitedness# (suitedness) Suitedness value of weapon, additional fields for other modes. Leave blank for ammunition articles.
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/creation/cambrinth/(race) style/(guild) style/light Any special properties. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race.
maxcharge # If cambrinth, the maximum mana that can be held by it
sourcetype# -/sold by/other Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". Note: "dropped by" is now handled by script.
source# (source)+(source version 2)+... Where the item comes from. If sourcetype is "dropped by" or "sold by", links auto generated. If there are multiple versions of a store selling the item at the same cost, list them with the "+".
cost# # Kronars\Lirums\Dokoras If sold, the cost at the preceeding shop, otherwise leave blank. Include currency.
newapp true/false This property declares that this item has been updated since the appraisal changes.
list A way to change how an item is listed in categories.
rare true/false Used to explicitly declare that an item is not commonly available at a shop or creature drop.
{{Weapon
|brawl=
|name=
|look=
|noun=
|type=
|type2=
|type3=
|range=
|ammo=
|ammocap=
|drawstrength=
|adraw=
|puncture=
|slice=
|impact=
|puncture2=
|slice2=
|impact2=
|puncture3=
|slice3=
|impact3=
|foi=
|foi2=
|foi3=
|balance=
|balance2=
|balance3=
|suitedness=
|suitedness2=
|suitedness3=
|construction=
|metal=
|weight=
|appcost=
|special=
......
|special5=
|maxcharge=
|sourcetype=
|source=
|cost=
|sourcetype2=
|source2=
|cost2=
|sourcetype3=
|source3=
|cost3=
....
|sourcetype10=
|source10=
|cost10=
|newapp=
}}

Also See