Template:Weapon: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
m (disabling incomplete till fixed)
Line 1: Line 1:
<noinclude>'''Currently the incompelete handling of this template is broken. It is being worked on.'''<br /><br /></noinclude><includeonly><!-- Adds IncompleteItem template if non-optional information is missing-->{{#If:{{IfAND<!-- checks to see if the basic fields are filled-->|{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{{appcost|}}}|{{{sourcetype|}}}|{{{source|}}}}}<!--checks to see whether the ammo and ammocap fields are present if it's a ranged weapon-->|{{#If:{{IfMatch|lob|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|sl|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|sb|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|cb|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|lx|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|hx|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{#Ifeq:{{lc:{{{range}}}}}|ranged|1}}|{{#If:{{{ammo|}}}|{{#If:{{{ammocap|}}}|RANGED FIELDS FILLED}}}}|NOTRANGED}}<!-- checks to see if the damage, suitability and balance fields are properly filled-->|{{IfAND|{{#ifeq:{{lc:{{{puncture}}}}}<!-- checks to see if basic damage is filled-->|n|DISABLED|{{IfAND|{{{puncture|}}}|{{{slice|}}}|{{{impact|}}}}}}}|{{#ifeq:{{lc:{{{balance}}}}}<!--checks to see if basic balance and suitability are filled-->|n|DISABLED|{{IfAND|{{{balance|}}}|{{{suitability|}}}}}}}|{{#If:{{{type2|}}}{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}|{{IfAND|{{#ifeq:{{lc:{{{puncture2|}}}}}|n|DISABLED|{{IfAND|{{{puncture2|}}}|{{{slice2|}}}|{{{impact2|}}}}}}}|{{#ifeq:{{lc:{{{balance2}}}}}|n|DISABLED|{{IfAND|{{{balance2|}}}|{{{suitability2|}}}}}}}}}|NO SECOND TYPE}}|{{#If:{{{type3|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}|{{IfAND|{{#ifeq:{{lc:{{{puncture3}}}}}|n|DISABLED|{{IfAND|{{{puncture3|}}}|{{{slice3|}}}|{{{impact3|}}}}}}}|{{#ifeq:{{lc:{{{balance3|}}}}}|n|DISABLED|{{IfAND|{{{balance3|}}}|{{{suitability3|}}}}}}}}}|NO THIRD TYPE}}}}<!--Checks to make sure all the source, sourcetype, and cost fields are filled correctly-->|{{IfAND|{{#switch:{{lc:{{{sourcetype}}}}}|sold by={{IfAND|{{{source|}}}|{{{cost|}}}}}|{{IfAND|{{{sourcetype|}}}|{{{source|}}}}}}}|{{#If:{{{sourcetype2|}}}{{{source2|}}}{{{cost2|}}}|{{#switch:{{lc:{{{sourcetype2}}}}}|sold by={{IfAND|{{{source2|}}}|{{{cost2|}}}}}|{{IfAND|{{{sourcetype2|}}}|{{{source2|}}}}}}}|NO 2ND SOURCE}}|{{#If:{{{sourcetype3|}}}{{{source3|}}}{{{cost3|}}}|{{#switch:{{lc:{{{sourcetype3}}}}}|sold by={{IfAND|{{{source3|}}}|{{{cost3|}}}}}|{{IfAND|{{{sourcetype3|}}}|{{{source3|}}}}}}}|NO 3RD SOURCE}}|{{#If:{{{sourcetype4|}}}{{{source4|}}}{{{cost4|}}}|{{#switch:{{lc:{{{sourcetype4}}}}}|sold by={{IfAND|{{{source4|}}}|{{{cost4|}}}}}|{{IfAND|{{{sourcetype4|}}}|{{{source4|}}}}}}}|NO 4TH SOURCE}}|{{#If:{{{sourcetype5|}}}{{{source5|}}}{{{cost5|}}}|{{#switch:{{lc:{{{sourcetype5}}}}}|sold by={{IfAND|{{{source5|}}}|{{{cost5|}}}}}|{{IfAND|{{{sourcetype5|}}}|{{{source5|}}}}}}}|NO 5TH SOURCE}}|{{#If:{{{sourcetype6|}}}{{{source6|}}}{{{cost6|}}}|{{#switch:{{lc:{{{sourcetype6}}}}}|sold by={{IfAND|{{{source6|}}}|{{{cost6|}}}}}|{{IfAND|{{{sourcetype6|}}}|{{{source6|}}}}}}}|NO 6TH SOURCE}}|{{#If:{{{sourcetype7|}}}{{{source7|}}}{{{cost7|}}}|{{#switch:{{lc:{{{sourcetype7}}}}}|sold by={{IfAND|{{{source7|}}}|{{{cost7|}}}}}|{{IfAND|{{{sourcetype7|}}}|{{{source7|}}}}}}}|NO 7TH SOURCE}}|{{#If:{{{sourcetyp8|}}}{{{source8|}}}{{{cost8|}}}|{{#switch:{{lc:{{{sourcetype8}}}}}|sold by={{IfAND|{{{source8|}}}|{{{cost8|}}}}}|{{IfAND|{{{sourcetype8|}}}|{{{source8|}}}}}}}|NO 8TH SOURCE}}|{{#If:{{{sourcetype9|}}}{{{source9|}}}{{{cost9|}}}|{{#switch:{{lc:{{{sourcetype9}}}}}|sold by={{IfAND|{{{source9|}}}|{{{cost9|}}}}}|{{IfAND|{{{sourcetype9|}}}|{{{source9|}}}}}}}|NO 9TH SOURCE}}|{{#If:{{{sourcetype10|}}}{{{source10|}}}{{{cost10|}}}|{{#switch:{{lc:{{{sourcetype10}}}}}|sold by={{IfAND|{{{source10|}}}|{{{cost10|}}}}}|{{IfAND|{{{sourcetype10|}}}|{{{source10|}}}}}}}|NO 10TH SOURCE}}}}}}||{{IncompleteItem|Some information is missing from the weapon infobox.}}}}[[page type is::weapon| ]]</includeonly>
<!--<noinclude>'''Currently the incompelete handling of this template is broken. It is being worked on.'''<br /><br /></noinclude><includeonly><!-- Adds IncompleteItem template if non-optional information is missing-->{{#If:{{IfAND<!-- checks to see if the basic fields are filled-->|{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{{appcost|}}}|{{{sourcetype|}}}|{{{source|}}}}}<!--checks to see whether the ammo and ammocap fields are present if it's a ranged weapon-->|{{#If:{{IfMatch|lob|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|sl|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|sb|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|cb|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|lx|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{IfMatch|hx|{{{type}}}|{{{type2}}}|{{{type3}}}}}{{#Ifeq:{{lc:{{{range}}}}}|ranged|1}}|{{#If:{{{ammo|}}}|{{#If:{{{ammocap|}}}|RANGED FIELDS FILLED}}}}|NOTRANGED}}<!-- checks to see if the damage, suitability and balance fields are properly filled-->|{{IfAND|{{#ifeq:{{lc:{{{puncture}}}}}<!-- checks to see if basic damage is filled-->|n|DISABLED|{{IfAND|{{{puncture|}}}|{{{slice|}}}|{{{impact|}}}}}}}|{{#ifeq:{{lc:{{{balance}}}}}<!--checks to see if basic balance and suitability are filled-->|n|DISABLED|{{IfAND|{{{balance|}}}|{{{suitability|}}}}}}}|{{#If:{{{type2|}}}{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}|{{IfAND|{{#ifeq:{{lc:{{{puncture2|}}}}}|n|DISABLED|{{IfAND|{{{puncture2|}}}|{{{slice2|}}}|{{{impact2|}}}}}}}|{{#ifeq:{{lc:{{{balance2}}}}}|n|DISABLED|{{IfAND|{{{balance2|}}}|{{{suitability2|}}}}}}}}}|NO SECOND TYPE}}|{{#If:{{{type3|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}|{{IfAND|{{#ifeq:{{lc:{{{puncture3}}}}}|n|DISABLED|{{IfAND|{{{puncture3|}}}|{{{slice3|}}}|{{{impact3|}}}}}}}|{{#ifeq:{{lc:{{{balance3|}}}}}|n|DISABLED|{{IfAND|{{{balance3|}}}|{{{suitability3|}}}}}}}}}|NO THIRD TYPE}}}}<!--Checks to make sure all the source, sourcetype, and cost fields are filled correctly-->|{{IfAND|{{#switch:{{lc:{{{sourcetype}}}}}|sold by={{IfAND|{{{source|}}}|{{{cost|}}}}}|{{IfAND|{{{sourcetype|}}}|{{{source|}}}}}}}|{{#If:{{{sourcetype2|}}}{{{source2|}}}{{{cost2|}}}|{{#switch:{{lc:{{{sourcetype2}}}}}|sold by={{IfAND|{{{source2|}}}|{{{cost2|}}}}}|{{IfAND|{{{sourcetype2|}}}|{{{source2|}}}}}}}|NO 2ND SOURCE}}|{{#If:{{{sourcetype3|}}}{{{source3|}}}{{{cost3|}}}|{{#switch:{{lc:{{{sourcetype3}}}}}|sold by={{IfAND|{{{source3|}}}|{{{cost3|}}}}}|{{IfAND|{{{sourcetype3|}}}|{{{source3|}}}}}}}|NO 3RD SOURCE}}|{{#If:{{{sourcetype4|}}}{{{source4|}}}{{{cost4|}}}|{{#switch:{{lc:{{{sourcetype4}}}}}|sold by={{IfAND|{{{source4|}}}|{{{cost4|}}}}}|{{IfAND|{{{sourcetype4|}}}|{{{source4|}}}}}}}|NO 4TH SOURCE}}|{{#If:{{{sourcetype5|}}}{{{source5|}}}{{{cost5|}}}|{{#switch:{{lc:{{{sourcetype5}}}}}|sold by={{IfAND|{{{source5|}}}|{{{cost5|}}}}}|{{IfAND|{{{sourcetype5|}}}|{{{source5|}}}}}}}|NO 5TH SOURCE}}|{{#If:{{{sourcetype6|}}}{{{source6|}}}{{{cost6|}}}|{{#switch:{{lc:{{{sourcetype6}}}}}|sold by={{IfAND|{{{source6|}}}|{{{cost6|}}}}}|{{IfAND|{{{sourcetype6|}}}|{{{source6|}}}}}}}|NO 6TH SOURCE}}|{{#If:{{{sourcetype7|}}}{{{source7|}}}{{{cost7|}}}|{{#switch:{{lc:{{{sourcetype7}}}}}|sold by={{IfAND|{{{source7|}}}|{{{cost7|}}}}}|{{IfAND|{{{sourcetype7|}}}|{{{source7|}}}}}}}|NO 7TH SOURCE}}|{{#If:{{{sourcetyp8|}}}{{{source8|}}}{{{cost8|}}}|{{#switch:{{lc:{{{sourcetype8}}}}}|sold by={{IfAND|{{{source8|}}}|{{{cost8|}}}}}|{{IfAND|{{{sourcetype8|}}}|{{{source8|}}}}}}}|NO 8TH SOURCE}}|{{#If:{{{sourcetype9|}}}{{{source9|}}}{{{cost9|}}}|{{#switch:{{lc:{{{sourcetype9}}}}}|sold by={{IfAND|{{{source9|}}}|{{{cost9|}}}}}|{{IfAND|{{{sourcetype9|}}}|{{{source9|}}}}}}}|NO 9TH SOURCE}}|{{#If:{{{sourcetype10|}}}{{{source10|}}}{{{cost10|}}}|{{#switch:{{lc:{{{sourcetype10}}}}}|sold by={{IfAND|{{{source10|}}}|{{{cost10|}}}}}|{{IfAND|{{{sourcetype10|}}}|{{{source10|}}}}}}}|NO 10TH SOURCE}}}}}}||{{IncompleteItem|Some information is missing from the weapon infobox.}}}}[[page type is::weapon| ]]</includeonly>-->
{|class="wikitable" style="width:700px"
{|class="wikitable" style="width:700px"
|-style="height:40px"
|-style="height:40px"

Revision as of 23:42, 6 October 2008

Incomplete Item
  • This item is incomplete, which means that while it is not a stub, it still lacks certain data or information.
  • Some information is missing from the weapon infobox.
  • Please see Category:Incomplete items for more items that need updating.

</includeonly>-->

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 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.
Note: This page is not currently set up to automatically generate {{incomplete}} tags, but will soon.

Variable Supported Values Usage
brawl y/n Whether this is a brawling related item. This is REQUIRED to process brawling equipment properly.
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/arrow
/bolt/rock/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/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.
puncture#
slice
impact
n/(damage) Damage of the weapon, put "n" 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. Put "n" 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.
traderapp y/n Was the cost appraisal done by a trader?
special# magic/cambrinth/(race) style/(guild) style/light Any special properties.
maxcharge # If cambrinth, the maximum mana that can be held by it
sourcetype# sold by/dropped by/other What type of source
source# (source) Where the item comes from. If sourcetype is "dropped by" or "sold by", links auto generated.
cost# # Kronars\Lirums\Dokoras If sold, the cost at the preceeding shop, otherwise leave blank. Include currency.
{{Weapon
|brawl=
|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=
|sourcetype=
|source=
|cost=
|sourcetype2=
|source2=
|cost2=
|sourcetype3=
|source3=
|cost3=
....
|sourcetype10=
|source10=
|cost10=
}}

Also See