Template:Weapon: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(updated MAGIC field to SPECIAL field for support of guild and race only weapons)
Line 32: Line 32:
|-
|-
| '''Special Properties:'''
| '''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}}
|{{IfMatch|y|{{lc:{{{magic}}}}}|{{lc:{{{cambrinth}}}}}|true=*This item is magical.|false=None}}{{#ifeq:{{lc:{{{cambrinth}}}}}|y|* This item has [[cambrinth]] in it and will hold up to {{#if:{{{maxcharge|}}}|{{{maxcharge}}}|''?''}} mana.}}
|}<includeonly>
|}<includeonly>
<!-- Adds page to appropriate category based on type -->
<!-- Adds page to appropriate category based on type -->
[[Category:Items]][[Category:Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Weapons]]}}{{#switch:{{lc:{{{metal}}}}}|y|yes=[[Category:Metal Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Metal Weapons]]}}|n|no=[[Category:Non-Metal Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Non-Metal Weapons]]}}}}{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}|true=[[Category:Magic Weapons]][[Category:Magic Items]]}}{{#ifeq:{{lc:{{{cambrinth}}}}}|y|[[Category:Cambrinth Items]][[Category:Cambrinth Weapons]]}}{{#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>
[[Category:Items]][[Category:Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Weapons]]}}{{#switch:{{lc:{{{metal}}}}}|y|yes=[[Category:Metal Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} Metal Weapons]]}}|n|no=[[Category:Non-Metal Weapons]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}} 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|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> 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>
Line 76: Line 77:
|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.
|magic||y/n||Is the weapon magical?
|-
|-
|maxcharge||#||If cambrinth, the maximum mana that can be held by it
|magicnote|| ||If magical, explain. If cambrinth, leave blank and add appropriate variables
|-
|cambrinth||y/n||
|-
|maxcharge||#||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
|shop#||n/(shop)||shop where it can be bought, put "n" if not sold, are links automatically generated
Line 121: Line 118:
|weight=
|weight=
|appcost=
|appcost=
|magic=
|special=
......
|magicnote=
|special5=
|cambrinth=
|maxcharge=
|maxcharge=
|shop=
|shop=

Revision as of 22:49, 7 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
Weight: ? stones
Appraised Cost: ? Kronars
For Sale At (Base Cost):
Unknown
Unknown
Special Properties:
  • None

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=
}}

Also See