Template:Weapon: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(revision on additional shops, plus inclusion of separate coin field for more obvious inclusion and to allow possiblity of categorization or searching based on weapon price)
(added additional shop slots (up to 10), plus added ability to disable damage field for bows, etc.)
Line 13: Line 13:
{{#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}}|{{!}}'''Ammo:'''{{!}}{{!}}Thrown weapon.}}
{{#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}}|{{!}}'''Ammo:'''{{!}}{{!}}Thrown weapon.}}
|-
|-
|'''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
{{#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}}}}}
|'''Balance:'''||{{#if:{{{balance|}}}|{{{balance}}}|''Unknown''}}{{#If:{{{balance2|}}}|/{{{balance2}}}}}{{#If:{{{balance3|}}}|/{{{balance3}}}}}
Line 27: Line 27:
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
|-
|-
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}}<DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}
{{#if:{{IfOR|{{{shop|}}}|{{{cost|}}}}}|{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}}Not sold|{{!}} '''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:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}{{#if:{{{shop2|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost5|''Unknown''}}}{{#if:{{{coin5|}}}|{{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}}}})}}</DL>}}}}
<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>[[{{{shop5}}}]]<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:'''
| '''Special Properties:'''
Line 54: Line 55:
|ammo||rock/bolt/arrow/thrown||Ammo type, or thrown
|ammo||rock/bolt/arrow/thrown||Ammo type, or thrown
|-
|-
|ammocap||#||how much ammo can it hold, for repeating crossbows or others
|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
|puncture#
|-
|-
|slice#||(slice)||Slice damage of the weapon, put "n" for ranged weapons that do not directly do damage
|slice#
|-
|-
|impact#||(impact)||Impact damage of the weapon, put "n" for ranged weapons that do not directly do damage
|impact#
|-
|-
|balance#||(balance)||Balance value of weapon, additional fields for other modes
|balance#
|-
|-
|suitedness#||(suitedness)||Suitedness value of weapon, additional fields for other modes
|suitedness#
|-
|-
|construction
|construction||(construction)||Construction value of weapon
|-
|-
|metal||y/n||Is it made with metal and therefore repairable at a metal forge
|metal||y/n||Is it made with metal and therefore repairable at a metal forge
Line 138: Line 139:
|cost5=
|cost5=
|coin5=
|coin5=
|shop6=
|cost6=
|coin6=
|shop7=
|cost7=
|coin7=
|shop8=
|cost8=
|coin8=
|shop9=
|cost9=
|coin9=
|shop10=
|cost10=
|coin10=
}}
}}
</pre>
</pre>

Revision as of 18:38, 6 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.
magic y/n Is the weapon magical?
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
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=
|magic=
|magicnote=
|cambrinth=
|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