Template:Item: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(added ability to disable weight)
Line 9: Line 9:
|-
|-
{{#if: {{{weight|}}}
{{#if: {{{weight|}}}
| {{!}}'''Weight:'''{{!}}{{!}} [[weight of::{{{weight}}}]] stones
| {{#ifeq: {{{weight}}} | - | | {{!}}'''Weight:'''{{!}}{{!}} [[weight of::{{{weight}}}]] stones
| {{#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|}}}|{{{type|}}}|{{{special|}}}}}|special2={{#if:{{{type2|}}}|{{{type2|}}}|{{{special2|}}}}}|special3={{#if:{{{type3|}}}|{{{type3|}}}|{{{special3|}}}}}|special4={{#if:{{{type4|}}}|{{{type4|}}}|{{{special4|}}}}}|special5={{#if:{{{type5|}}}|{{{type5|}}}|{{{special5|}}}}}|special6={{#if:{{{type6|}}}|{{{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|}}}|traderapp={{{traderapp|}}}|uses={{{uses|}}}}}
|itype=item|special={{#if:{{{type|}}}|{{{type|}}}|{{{special|}}}}}|special2={{#if:{{{type2|}}}|{{{type2|}}}|{{{special2|}}}}}|special3={{#if:{{{type3|}}}|{{{type3|}}}|{{{special3|}}}}}|special4={{#if:{{{type4|}}}|{{{type4|}}}|{{{special4|}}}}}|special5={{#if:{{{type5|}}}|{{{type5|}}}|{{{special5|}}}}}|special6={{#if:{{{type6|}}}|{{{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|}}}|traderapp={{{traderapp|}}}|uses={{{uses|}}}}}
Line 29: Line 29:
|type#||alchemy/clothing/container/creation/herb/jewelry/tack/rough chakrel<br />/perfect chakrel/(guild) style/container/magic/cambrinth/gaethzen/food/drink/(type) instrument/juggle/light/quest||For category inclusion
|type#||alchemy/clothing/container/creation/herb/jewelry/tack/rough chakrel<br />/perfect chakrel/(guild) style/container/magic/cambrinth/gaethzen/food/drink/(type) instrument/juggle/light/quest||For category inclusion
|-
|-
|uses||#||The number of bites, sips, drinks, waves, etc.
|uses|| # ||The number of bites, sips, drinks, waves, etc.
|-
|-
|weight||#||weight in stones
|weight|| # ||weight in stones ("-" will disable)
|-
|-
|wearloc||n/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/<br>shirt/arms/upper arm/wrist/hands/finger/back/shoulder/shoulders/<br>abdomen/waist/belt/legs/thigh/pants/ankles/feet/tail||where it is worn
|wearloc||-/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/<br>shirt/arms/upper arm/wrist/hands/finger/back/shoulder/shoulders/<br>abdomen/waist/belt/legs/thigh/pants/ankles/feet/tail||where it is worn
|-
|-
|maxcharge||#||maximum mana that can be held by it
|maxcharge|| # ||maximum mana that can be held by it
|-
|-
|spellcast|| ||the spell cast by the object
|spellcast|| spell ||the spell cast by the object
|-
|-
|appcost||#||The cost given by an expert (trader preferred) appraisal. Given in kronars
|appcost||#||The cost given by an expert ([[Trader]] preferred) appraisal. Given in [[Kronar]]s. ("-" will disable)
|-
|-
|traderapp||y/n||Was the expert appraisal done by a trader?
|traderapp||y/n||Was the expert appraisal done by a trader?

Revision as of 02:12, 18 February 2009

Item
Look:
Core Noun:
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 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/container/creation/herb/jewelry/tack/rough chakrel
/perfect chakrel/(guild) style/container/magic/cambrinth/gaethzen/food/drink/(type) instrument/juggle/light/quest
For category inclusion
uses # The number of bites, sips, drinks, waves, etc.
weight # weight in stones ("-" will disable)
wearloc -/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
spellcast spell the spell cast by the object
appcost # The cost given by an expert (Trader preferred) appraisal. Given in Kronars. ("-" will disable)
traderapp y/n Was the expert appraisal done by a trader?
sourcetype# sold by,other Gives the appropriate display of the source of the item. Note: "dropped by" is now handled by script.
source# Where it is sold
cost# # Kronars/Dokoras/Lirums Price at preceeding store, including currency
{{Item
|name=
|look=
|noun=
|type=
|type2=
|type3=
|type4=
|type5=
|type6=
|uses=
|weight=
|wearloc=
|maxcharge=
|spellcast=
|appcost=
|traderapp=
|sourcetype=
|source=
|cost=
....
|sourcetype10=
|source10=
|cost10=
}}