Template:Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 8: | Line 8: | ||
{{#if:{{{noun|}}}|[[noun is::{{lc:{{{noun}}}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}} |
{{#if:{{{noun|}}}|[[noun is::{{lc:{{{noun}}}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}} |
||
|- |
|- |
||
{{ItemProperties|itype=item|weight={{{weight|}}}|special={{{type|}}}|special2={{{type2|}}}|special3={{{type3|}}}|special4={{{type4|}}}|special4={{{type4|}}}|special5={{{type5|}}}|special6={{{type6|}}}}} |
|||
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]]|''?''}} stone(s) |
|||
|}<includeonly>[[Category:Items|{{PAGENAME}}]]</includeonly><noinclude> |
|||
|- |
|||
|'''Type:'''||{{#if:{{{type|}}}|[[has item property::{{{type}}}]]|''Unknown''}}{{#If:{{{type2|}}}|, [[has item property::{{{type2}}}]]}}{{#If:{{{type3|}}}|, [[has item property::{{{type3}}}]]}}{{#If:{{{type4|}}}|, [[has item property::{{{type4}}}]]}}{{#If:{{{type5|}}}|, [[has item property::{{{type5}}}]]}}{{#If:{{{type6|}}}|, [[has item property::{{{type6}}}]]}} |
|||
|- |
|||
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}| ({{{cost}}})}}|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}} {{#switch:{{lc:{{{coin}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}{{#if:{{{shop2|}}}|<DT>[[{{{shop2}}}]]<DD>{{#if:{{{cost2|}}}|({{{cost2}}} {{#switch:{{lc:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>{{#if:{{{cost3|}}}|({{{cost3}}} {{#switch:{{lc:{{{coin3}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>{{#if:{{{cost4|}}}|({{{cost4}}} {{#switch:{{lc:{{{coin4}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>{{#if:{{{cost5|}}}|({{{cost5}}} {{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop6|}}}|<DT>[[{{{shop6}}}]]<DD>{{#if:{{{cost6|}}}|({{{cost6}}} {{#switch:{{lc:{{{coin6}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop7|}}}|<DT>[[{{{shop7}}}]]<DD>{{#if:{{{cost7|}}}|({{{cost7}}} {{#switch:{{lc:{{{coin7}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop8|}}}|<DT>[[{{{shop8}}}]]<DD>{{#if:{{{cost8|}}}|({{{cost8}}} {{#switch:{{lc:{{{coin8}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop9|}}}|<DT>[[{{{shop9}}}]]<DD>{{#if:{{{cost9|}}}|({{{cost9}}} {{#switch:{{lc:{{{coin9}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop10|}}}|<DT>[[{{{shop10}}}]]<DD>{{#if:{{{cost10|}}}|({{{cost10}}} {{#switch:{{lc:{{{coin10}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}</DL>}} |
|||
|- |
|||
| '''Appraised Cost:'''||{{#if:{{{appcost|}}}|[[appraised cost is::{{{appcost}}}]]|''?''}} Kronar(s) |
|||
|- |
|||
| '''Special Properties:''' |
|||
|{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is a container or has pockets.}}{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfAND|{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||4}}}}|{{#if:{{{wearloc|}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||{{#ifeq:{{lc:{{{wearloc}}}}}|generic|*This item is worn in a generic slot.|*This item is worn in the {{{wearloc}}} slot.}}}}|*This item is worn in an ''unknown'' slot.}}}}{{#If:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{#ifeq:{{lc:{{{magic}}}}}|y|5}}|*This item is magical.}}{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=*This item is made from [[cambrinth]] and will hold up to {{#if:{{{maxcharge|}}}|{{{maxcharge}}}|''?''}} mana.}}{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=*This item is made from [[gaethzen]] and will hold up to {{#if:{{{maxcharge|}}}|{{{maxcharge}}}|''?''}} mana.}}{{#if:{{{heldspell|}}}|*This holds the [[{{{heldspell}}}]] spell.}}{{IfMatch|gath mysanda|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*??}}{{IfMatch|food|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is food.}}{{IfMatch|drink|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is a drink.}}{{IfMatch|herb|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item will heal when used.}}{{IfMatch|alchemy|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is used in alchemical processes.}}{{IfMatch|tack|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is designed to be worn by or used on a horse or mount.}}{{IfMatch|creation|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is used in a creation process.}}{{IfMatch|instrument|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This is an instrument or a tool to play one.}}{{IfMatch|juggle|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This is juggling item.}}{{IfMatch|light|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item can provide light.}} |
|||
|}<includeonly><!-- Adds page to appropriate category based on type --> |
|||
[[Category:Items|{{PAGENAME}}]]{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Clothing|{{PAGENAME}}]]{{#if:{{{wearloc|}}}|[[Category:Clothing ({{{wearloc}}} slot)|{{PAGENAME}}]]}}}}{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Containers|{{PAGENAME}}]]{{IfAND|{{{wearloc|}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||5}}|true=[[Category:Containers ({{{wearloc}}} slot)|{{PAGENAME}}]]}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Jewelry|{{PAGENAME}}]]{{#if:{{{wearloc|}}}|[[Category:Jewelry ({{{wearloc}}} slot)|{{PAGENAME}}]]}}}}{{#if:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{#ifeq:{{lc:{{{magic}}}}}|y|6}}|[[Category:Magic Items|{{PAGENAME}}]]}}{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=[[Category:Magic Items|{{PAGENAME}}]][[Category:Cambrinth Items|{{PAGENAME}}]]}}{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=[[Category:Magic Items|{{PAGENAME}}]][[Category:Gaethzen Items|{{PAGENAME}}]]}}{{IfMatch|perfect chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Perfect Chakrel Items|{{PAGENAME}}]][[Category:Chakrel Items|{{PAGENAME}}]][[Category:Barbarian Items|{{PAGENAME}}]][[Category:Barbarian Tools|{{PAGENAME}}]]}}{{IfMatch|rough chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Rough Chakrel Items|{{PAGENAME}}]][[Category:Chakrel Items|{{PAGENAME}}]][[Category:Barbarian Items|{{PAGENAME}}]][[Category:Barbarian Tools|{{PAGENAME}}]]}}{{IfMatch|barbarian|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Barbarian Items|{{PAGENAME}}]]}}{{IfMatch|ranger|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Ranger Items|{{PAGENAME}}]]}}{{IfMatch|empath|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Empath Items|{{PAGENAME}}]]}}{{IfMatch|warrior mage|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Warrior Mage Items|{{PAGENAME}}]]}}{{IfMatch|trader|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Trader Items|{{PAGENAME}}]]}}{{IfMatch|paladin|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Paladin Items|{{PAGENAME}}]]}}{{IfMatch|thief|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Thief Items|{{PAGENAME}}]]}}{{IfMatch|bard|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Bard Items|{{PAGENAME}}]]}}{{IfMatch|moon mage|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Moon Mage Items|{{PAGENAME}}]]}}{{IfMatch|cleric|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Cleric Items|{{PAGENAME}}]]}}{{IfMatch|food|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Food|{{PAGENAME}}]]}}{{IfMatch|drink|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Drinks|{{PAGENAME}}]]}}{{IfMatch|herb|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Herbs|{{PAGENAME}}]]}}{{IfMatch|alchemy|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Alchemy Tools|{{PAGENAME}}]]}}{{IfMatch|tack|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Tack|{{PAGENAME}}]]}}{{IfMatch|creation|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Creation Tools|{{PAGENAME}}]]}}{{IfMatch|instrument|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Instruments|{{PAGENAME}}]]}}{{IfMatch|juggle|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Juggling Items|{{PAGENAME}}]]{{#if:{{{weight|}}}|{{#switch:{{{weight}}}|9=[[Category:Juggling Items (9 stone)|{{PAGENAME}}]]|[[Category:Juggling Items ({{{weight}}} stones)|{{PAGENAME}}]]}}}}}}{{IfMatch|light|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Light Sources|{{PAGENAME}}]]}}{{IfMatch|quest|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Quest Prizes|{{PAGENAME}}]]}}{{IfMatch|barbarian tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Barbarian Items|{{PAGENAME}}]][[Category:Barbarian Tools|{{PAGENAME}}]]}}{{IfMatch|ranger tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Ranger Items|{{PAGENAME}}]][[Category:Ranger Tools|{{PAGENAME}}]]}}{{IfMatch|empath tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Empath Items|{{PAGENAME}}]][[Category:Empath Tools]]}}{{IfMatch|warrior mage tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Warrior Mage Items|{{PAGENAME}}]][[Category:Warrior Mage Tools]]}}{{IfMatch|trader tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Trader Items|{{PAGENAME}}]][[Category:Trader Tools|{{PAGENAME}}]]}}{{IfMatch|paladin tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Paladin Items|{{PAGENAME}}]][[Category:Paladin Tools|{{PAGENAME}}]]}}{{IfMatch|thief tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Thief Items|{{PAGENAME}}]][[Category:Thief Tools|{{PAGENAME}}]]}}{{IfMatch|bard tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Bard Items|{{PAGENAME}}]][[Category:Bard Tools|{{PAGENAME}}]]}}{{IfMatch|moon mage tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Moon Mage Items|{{PAGENAME}}]][[Category:Moon Mage Tools|{{PAGENAME}}]]}}{{IfMatch|cleric tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Cleric Items|{{PAGENAME}}]][[Category:Cleric Tools|{{PAGENAME}}]]}}{{IfMatch|anatomy chart|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Anatomy Charts|{{PAGENAME}}]]}}{{IfAND|{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|true=[[Category:Pocketed Clothing{{!}}{{PAGENAME}}]]{{#if:{{{wearloc|}}}|[[Category:Pocketed Clothing ({{{wearloc}}} slot){{!}}{{PAGENAME}}]]}}}}</includeonly><noinclude> |
|||
==Usage Documentation:== |
==Usage Documentation:== |
||
This template is for use with non-armor, non-weapon items. Copy the following into the item page. [[Template:Weapon|Weapons]], [[Template:Armor|armor]], and [[Template:Shield|shields]] have their own separate templates, and for brawling and related equipment use [[Template:BrawlItem]]. For information on listing crafted equipment, consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]]. |
This template is for use with non-armor, non-weapon items. Copy the following into the item page. [[Template:Weapon|Weapons]], [[Template:Armor|armor]], and [[Template:Shield|shields]] have their own separate templates, and for brawling and related equipment use [[Template:BrawlItem]]. For information on listing crafted equipment, consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]]. |
Revision as of 21:54, 14 June 2008
Item | |
---|---|
Look: | Unknown |
Core Noun: | Unknown |
Appraised Cost: | Unknown |
Properties: | |
Dimensions: | ? length x ? width x ? height |
Sources: | Unknown |
Usage Documentation:
This template is for use with non-armor, non-weapon items. Copy the following into the item page. Weapons, armor, and shields have their own separate templates, and for brawling and related equipment use Template:BrawlItem. For information on listing crafted equipment, consult the Manual of Style.
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# | alchemy/clothing/creation/herb/jewelry/pocketed/tack/rough chakrel/perfect chakrel/(guild)/(guild) tools/container/magic/ cambrinth/gaethzen/food/drink/instrument/juggle/light/quest |
For category inclusion |
weight | # | weight in stones |
wearloc | n/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/ shirt/arms/upper arm/wrist/hands/finger/back/shoulder/shoulders/ abdomen/waist/belt/legs/thigh/pants/ankles/feet/tail |
where it is worn |
maxcharge | # | maximum mana that can be held by it |
heldspell | the spell cast by the object | |
appcost | # | The cost given by an expert (trader preferred) appraisal. Given in kronars |
traderapp | y/n | Was the expert appraisal done by a trader? |
shop# | Where it is sold | |
cost# | # | Price at preceeding store |
coin# | k/l/d | Automatically tags the previous price with the correct currency |
{{Item |name= |look= |noun= |type= |type2= |type3= |type4= |type5= |type6= |weight= |wearloc= |magic= |maxcharge= |heldspell= |appcost= |traderapp= |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= }}