Template:Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
| {{#if: {{IfMatch| housing | {{{type}}}+{{{type2}}}+{{{type3}}}+{{{type4}}}+{{{type5}}}+{{{type6}}} }} | | {{!}}'''Weight:'''{{!}}{{!}}<includeonly>[[missing::Infobox entry on weight|''Unknown'']]</includeonly> }} }} |
| {{#if: {{IfMatch| housing | {{{type}}}+{{{type2}}}+{{{type3}}}+{{{type4}}}+{{{type5}}}+{{{type6}}} }} | | {{!}}'''Weight:'''{{!}}{{!}}<includeonly>[[missing::Infobox entry on weight|''Unknown'']]</includeonly> }} }} |
||
{{ItemProperties |
{{ItemProperties |
||
|itype=item|special={{#if:{{{type|}}}{{{special|}}}|{{lc:{{{type|}}}+{{{type2|}}}+{{{special2|}}}+{{{type3|}}}+{{{special3|}}}+{{{type4|}}}+{{{special4|}}}+{{{type5|}}}+{{{special5|}}}+{{{type6|}}}+{{{special6|}}}}}}}|wearloc={{{wearloc|}}}|source={{#if:{{{shop|}}}|{{{shop|}}}|{{{source|}}}}}|cost={{{cost|}}}|source2={{#if:{{{shop2|}}}|{{{shop2|}}}|{{{source2|}}}}}|cost2={{{cost2|}}}|source3={{#if:{{{shop3|}}}|{{{shop3|}}}|{{{source3|}}}}}|cost3={{{cost3|}}}|source4={{#if:{{{shop4|}}}|{{{shop4|}}}|{{{source4|}}}}}|cost4={{{cost4|}}}|source5={{#if:{{{shop5|}}}|{{{shop5|}}}|{{{source5|}}}}}|cost5={{{cost5|}}}|source6={{#if:{{{shop6|}}}|{{{shop6|}}}|{{{source6|}}}}}|cost6={{{cost6|}}}|source7={{#if:{{{shop7|}}}|{{{shop7|}}}|{{{source7|}}}}}|cost7={{{cost7|}}}|source8={{#if:{{{shop8|}}}|{{{shop8|}}}|{{{source8|}}}}}|cost8={{{cost8|}}}|source9={{#if:{{{shop9|}}}|{{{shop9|}}}|{{{source9|}}}}}|cost9={{{cost9|}}}|source10={{#if:{{{shop10|}}}|{{{shop10|}}}|{{{source10|}}}}}|cost10={{{cost10|}}}|maxcharge={{{maxcharge|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|sourcetype6={{{sourcetype6|}}}|sourcetype7={{{sourcetype7|}}}|sourcetype8={{{sourcetype8|}}}|sourcetype9={{{sourcetype9|}}}|sourcetype10={{{sourcetype10|}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|uses={{{uses|}}}|rare={{{rare|}}}|lsize={{{lsize|}}}|hsize={{{hsize|}}}|wsize={{{wsize|}}}|ilsize={{{ilsize|}}}|ihsize={{{ihsize|}}}|iwsize={{{iwsize|}}}|csize={{{csize|}}}|itemtype={{{noun|}}},{{{itype|}}}}} |
|itype=item|special={{#if:{{{type|}}}{{{special|}}}|{{lc:{{{type|}}}+{{{type2|}}}+{{{special2|}}}+{{{type3|}}}+{{{special3|}}}+{{{type4|}}}+{{{special4|}}}+{{{type5|}}}+{{{special5|}}}+{{{type6|}}}+{{{special6|}}}}}}}|wearloc={{{wearloc|}}}|source={{#if:{{{shop|}}}|{{{shop|}}}|{{{source|}}}}}|cost={{{cost|}}}|source2={{#if:{{{shop2|}}}|{{{shop2|}}}|{{{source2|}}}}}|cost2={{{cost2|}}}|source3={{#if:{{{shop3|}}}|{{{shop3|}}}|{{{source3|}}}}}|cost3={{{cost3|}}}|source4={{#if:{{{shop4|}}}|{{{shop4|}}}|{{{source4|}}}}}|cost4={{{cost4|}}}|source5={{#if:{{{shop5|}}}|{{{shop5|}}}|{{{source5|}}}}}|cost5={{{cost5|}}}|source6={{#if:{{{shop6|}}}|{{{shop6|}}}|{{{source6|}}}}}|cost6={{{cost6|}}}|source7={{#if:{{{shop7|}}}|{{{shop7|}}}|{{{source7|}}}}}|cost7={{{cost7|}}}|source8={{#if:{{{shop8|}}}|{{{shop8|}}}|{{{source8|}}}}}|cost8={{{cost8|}}}|source9={{#if:{{{shop9|}}}|{{{shop9|}}}|{{{source9|}}}}}|cost9={{{cost9|}}}|source10={{#if:{{{shop10|}}}|{{{shop10|}}}|{{{source10|}}}}}|cost10={{{cost10|}}}|maxcharge={{{maxcharge|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|sourcetype6={{{sourcetype6|}}}|sourcetype7={{{sourcetype7|}}}|sourcetype8={{{sourcetype8|}}}|sourcetype9={{{sourcetype9|}}}|sourcetype10={{{sourcetype10|}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|uses={{{uses|}}}|rare={{{rare|}}}|lsize={{{lsize|}}}|hsize={{{hsize|}}}|wsize={{{wsize|}}}|ilsize={{{ilsize|}}}|ihsize={{{ihsize|}}}|iwsize={{{iwsize|}}}|csize={{{csize|}}}|itemtype={{{noun|}}},{{{itype|}}}|htype={{{htype|}}}}} |
||
|} |
|} |
||
<includeonly>{{#if:{{{list|}}}|{{cat|Items|{{{list}}}}}|{{cat|Items}}}}</includeonly><noinclude> |
<includeonly>{{#if:{{{list|}}}|{{cat|Items|{{{list}}}}}|{{cat|Items}}}}{{#if:{{{htype|}}}|{{#arraymap:{{lc:{{{htype}}}}}|,|@@@@|[[housing type::@@@@| ]]|}}}}</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:Weapon]]. 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:Weapon]]. For information on listing crafted equipment, consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]]. |
Revision as of 08:41, 16 April 2013
Item | |
---|---|
Look: | |
Core Noun: | |
Weight: | |
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:Weapon. For information on listing crafted equipment, consult the Manual of Style.
Variable | Supported Values | Usage |
---|---|---|
name | name of the object if it's different from the page name | |
look | <text>/- | the description gained by LOOKing at it. "-" will result in "You see nothing unusual." |
noun | the single word noun used to interact with it | |
type# | -/alchemy/anatomy chart/cambrinth/casts spell/celestial jewelry/ clothing/container/creation/drink/food/gaethzen/gives light/ hiding/housing/jewelry/juggle/lock/magic/<type> instrument/ quest/toy/tack/writing/<guild> style/<race> style |
For category inclusion. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race. |
uses | # | The number of bites, sips, drinks, waves, etc. |
weight | # | weight in stones ("-" will disable) |
lsize / hsize / wsize | # | Length, heighth, and width of the outside of object as determined with MEASURE. |
ilsize / ihsize / iwsize / csize | # | Length, heighth, and width of the inside of container, and the weight capacity as determined with MEASURE. |
wearloc | -/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/ shirt/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 |
spellcast | spell | the spell cast by the object |
appcost | # | The cost given by an expert (Trader preferred) appraisal. Given in Kronars. ("-" will disable) |
sourcetype# | sold by,other | Gives the appropriate display of the source of the item. For the most part, sources are automatically handled. |
source# | (source)+(source version 2)+... | Where the item comes from. For the most part, sources are automatically handled. |
cost# | # Kronars/Dokoras/Lirums | Price at preceeding store, including currency. |
list | A way to change how an item is listed in categories. | |
rare | true/false | Used to explicitly declare that an item is not commonly available at a shop or creature drop. |
{{Item |name= |look= |noun= |type=<can be a list separated by ","> |uses= |weight= |lsize= |hsize= |wsize= |ilsize= |ihsize= |iwsize= |csize= |wearloc= |maxcharge= |spellcast= |appcost= |sourcetype= |source= |cost= .... |sourcetype10= |source10= |cost10= }}