Template:Item: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (bugfix)
mNo edit summary
Line 1: Line 1:
<includeonly><!-- Adds IncompleteItem template if non-optional information is missing-->{{#if:{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{#If:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|0}}}}|{{#If:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|2}}}}|{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{wearloc|}}}|3}}}}|{{IfAND|{{IfTHEN|{{{shop}}}|{{{cost}}}}}|{{IfTHEN|{{{shop2}}}|{{{cost2}}}}}|{{IfTHEN|{{{shop3}}}|{{{cost3}}}}}}}}}||{{IncompleteItem|Some information is missing from the item infobox.}}}}</includeonly>
<includeonly><!-- Adds IncompleteItem template if non-optional information is missing-->{{#if:{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{#If:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|0}}}}|{{#If:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|2}}}}|{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{wearloc|}}}|3}}}}|{{IfAND|{{IfTHEN|{{{shop}}}|{{{cost}}}}}|{{IfTHEN|{{{shop2}}}|{{{cost2}}}}}|{{IfTHEN|{{{shop3}}}|{{{cost3}}}}}}}}}||{{IncompleteItem|Some information is missing from the item infobox.}}}}[[is page type::item| ]]</includeonly>
{|class="wikitable" style="width:700px"
{|class="wikitable" style="width:700px"
|-style="height:40px"
|-style="height:40px"

Revision as of 20:49, 29 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
uses # The number of bites, sips, drinks, waves, etc.
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
spellcast 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?
sourcetype# sold by,dropped by,other Gives the appropriate display of the source of the item
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=
|weight=
|wearloc=
|magic=
|maxcharge=
|heldspell=
|appcost=
|traderapp=
|sourcetype=
|source=
|cost=
....
|sourcetype=
|source10=
|cost10=
}}