Template:Item: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(More logic updates) |
||
Line 20: | Line 20: | ||
|- |
|- |
||
| '''Special Properties:''' |
| '''Special Properties:''' |
||
| {{#if: |
| {{#if:{{IfOR|{{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||1}}}}}}|{{#if:{{{wearloc|}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||{{#ifeq:{{lc:{{{wearloc}}}}}|generic| |
||
*This item is generically worn.| |
|||
|} |
|||
*This item is worn on the {{{wearloc}}}.}}}}| |
|||
<includeonly> |
|||
*This item is worn in an unknown location.}}}}{{#if:{{IfMatch|pocketed|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}| |
|||
⚫ | |||
*This item has pockets.}}<!--For backwards compatability-->{{#if:{{{pockets|}}}| |
|||
*This item has pockets.}}{{#if:{{IfOR|{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}}}| |
|||
*This item is magical.}}{{#if:{{{heldspell|}}}| |
|||
*This holds the [[{{{heldspell}}}]] spell.}}{{#if:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}| |
|||
*This item is made from [[cambrinth]] and will hold up to {{{maxcharge|?}}} mana.}}{{#if:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}| |
|||
*This item is made from [[gaethzen]] and will hold up to {{{maxcharge|?}}} mana.}}{{#if:{{IfMatch|gath mysanda|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}| |
|||
*??}} |
|||
⚫ | |||
<!-- Adds page to appropriate category based on type --> |
<!-- Adds page to appropriate category based on type --> |
||
{{#if:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Clothing]]{{#if:{{{wearloc|}}}|[[Category:Clothing ({{{wearloc}}} worn)]]}}}}{{#if:{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Containers]]{{# |
{{#if:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Clothing]]{{#if:{{{wearloc|}}}|[[Category:Clothing ({{{wearloc}}} worn)]]}}}}{{#if:{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Containers]]{{IfAND|{{{wearloc|}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||1}}|true=[[Category:Containers ({{{wearloc}}} worn)]]}}}}{{#if:{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Jewelry]]{{#if:{{{wearloc}}}|[[Category:Jewelry ({{{wearloc}}} worn)]]}}}}{{#if:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Magic Items]]}}{{#if:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Magic Items]][[Category:Cambrinth Items]]}}{{#if:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Magic Items]][[Category:Gaethzen Items]]}}{{#if:{{IfMatch|perfect chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Perfect Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]]}}{{#if:{{IfMatch|rough chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Rough Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]]}}{{#if:{{IfMatch|barbarian|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Barbarian Items]]}}{{#if:{{IfMatch|ranger|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Ranger Items]]}}{{#if:{{IfMatch|empath|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Empath Items]]}}{{#if:{{IfMatch|warrior mage|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Warrior Mage Items]]}}{{#if:{{IfMatch|trader|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Trader Items]]}}{{#if:{{IfMatch|paladin|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Paladin Items]]}}{{#if:{{IfMatch|thief|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Thief Items]]}}{{#if:{{IfMatch|bard|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Bard Items]]}}{{#if:{{IfMatch|moon mage|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Moon Mage Items]]}}{{#if:{{IfMatch|cleric|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|[[Category:Cleric Items]]}}</includeonly><noinclude> |
||
==Usage Documentation:== |
==Usage Documentation:== |
||
Line 43: | Line 51: | ||
|weight||#||weight in stones |
|weight||#||weight in stones |
||
|- |
|- |
||
|wearloc||generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/<br>arms/forearm/wrist/hands/finger/back/shoulder/abdomen/belt/<br>ankles||where it is worn |
|wearloc||n/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/<br>arms/forearm/wrist/hands/finger/back/shoulder/abdomen/belt/<br>ankles||where it is worn |
||
|- |
|- |
||
|magic||y/n/cambrinth/gaethzen/gath mysanda|| |
|magic||y/n/cambrinth/gaethzen/gath mysanda||If item is not cambrinth, gaethzen, or a gath mysanda, put "y" and list explanation on the next variable |
||
|- |
|- |
||
|maxcharge||#||maximum mana that can be held by it |
|maxcharge||#||maximum mana that can be held by it |
Revision as of 15:54, 3 June 2008
Item | |
---|---|
Look: | Unknown |
Core Noun: | Unknown |
Weight: | ? stones |
Type: | Unknown |
For Sale At (Base Cost): |
|
Appraised Cost: | ? Kronars |
Special Properties: |
|
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# | magic/alchemy/herb/clothing/jewelry/tack/creation/pocketed/ rough chakrel/perfect chakrel/(guild)/container |
For category inclusion |
weight | # | weight in stones |
wearloc | n/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/ arms/forearm/wrist/hands/finger/back/shoulder/abdomen/belt/ ankles |
where it is worn |
magic | y/n/cambrinth/gaethzen/gath mysanda | If item is not cambrinth, gaethzen, or a gath mysanda, put "y" and list explanation on the next variable |
maxcharge | # | maximum mana that can be held by it |
heldspell | the spell cast by the object | |
appcost | # | The cost given by an expert appraisal. Given in kronars |
shop# | Where it is sold | |
cost# | # Kronars/Lirums/Dokoras | Price at preceeding store |
{{Item |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=magic/alchemy/herb/clothing/jewelry/tack/creation/pocketed/rough chakrel/perfect chakrel |type2= |type3= |type4= |type5= |type6= |weight= (weight in stones) |wearloc= (where it is worn) |magic=y/n/cambrinth/gaethzen/gath mysanda |maxcharge= (maximum mana that can be held by it) |heldspell= (the spell cast by the object) |appcost=(The cost given by an expert appraisal. Given in kronars.) |shop= |cost= |shop2= |cost2= |shop3= |cost3= |notes=(any additional notes) }}