Template:Weapon: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (updated documentation to match shop additions)
(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)
Line 27: Line 27:
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
|-
|-
{{#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}}})|''Unknown''}}{{#if:{{{shop2|}}} | <DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}}) }}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''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>}}}}
{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>({{{cost4|''Unknown''}}})}}
{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>({{{cost5|''Unknown''}}})}}</DL>}}}}
|-
|-
| '''Special Properties:'''
| '''Special Properties:'''
Line 86: Line 84:
|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
|-
|-
|cost#||# Kronars/Lirums/Dokoras||the cost at the preceeding shop
|cost#||#||the cost at the preceeding shop
|-
|coin#||k/l/d||The type of currency at the preceeding shop
|}
|}


Line 125: Line 125:
|shop=
|shop=
|cost=
|cost=
|coin=
|shop2=
|shop2=
|cost2=
|cost2=
|coin2=
|shop3=
|shop3=
|cost3=
|cost3=
|coin3=
|shop4=
|shop4=
|cost4=
|cost4=
|coin4=
|shop5=
|shop5=
|cost5=
|cost5=
|coin5=
}}
}}
</pre>
</pre>

Revision as of 17:17, 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#
slice#
impact#
balance#
suitedness#
construction
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=
}}

Also See