Template:Item: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(moving function to Template:Furniture)
(→‎Usage Documentation:: added new tie type. cleanup of usage and options, plus i added some examples.)
Line 23: Line 23:
!Variable!!Supported Values!!Usage
!Variable!!Supported Values!!Usage
|-
|-
|name|| ||name of the object if it's different from the page name
|name|| ||Name of the object. Only include this if the item name is different from the page name (e.g. a ''<color'' wand).
|-
|-
|look||<text>/- ||the description gained by LOOKing at it. "-" will result in "''You see nothing unusual.''"
|look||-, <text>||the description gained by {{com|LOOK}}ing at it. "-" will result in "''You see nothing unusual.''"
|-
|-
|noun|| ||the single word '''noun''' used to interact with it
|noun|| ||the single word '''noun''' used to interact with it
|-
|-
|type#||-/alchemy/anatomy chart/cambrinth/casts spell/celestial jewelry/<br />clothing/container/creation/drink/food/gaethzen/gives light/<br />hiding/housing/jewelry/juggle/lock/magic/''<type>'' instrument/<br />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.
|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, tie, toy, tack, writing, ''<guild>'' style, ''<race>'' style||For category inclusion.

With regard to the guild/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.

"tie" indicates the item is a [[:Categeory:Tie items|tie item]].
|-
|-
|uses|| # ||The number of bites, sips, drinks, waves, etc.
|uses||#||The number of bites, sips, drinks, waves, etc.
|-
|-
|weight|| # ||weight in stones ("-" will disable)
|weight||#||weight in stones ("-" will disable)
|-
|-
|lsize / hsize / wsize || # || Length, heighth, and width of the outside of object as determined with {{com|MEASURE}}.
|lsize||#||Length of the outside of object as determined with {{com|MEASURE}}. If this is a container, make sure to CLOSE before you measure.
|-
|-
|ilsize / ihsize / iwsize / csize || # || Length, heighth, and width of the inside of container, and the weight capacity as determined with {{com|MEASURE}}.
|hsize||#||Height of the outside of object as determined with {{com|MEASURE}}.
|-
|-
|wsize||#||Width of the outside of object as determined with {{com|MEASURE}}.
|wearloc||-/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/<br>shirt/shirt-/arms/upper arm/wrist/hands/finger/back/shoulder/shoulders/<br>abdomen/waist/belt/legs/thigh/pants/ankles/feet/tail||where it is worn
|-
|-
|ilsize||#||Length of the inside of container as determined with {{com|MEASURE}}. Ensure the container is OPEN before measuring.
|maxcharge|| # ||maximum mana that can be held by it
|-
|-
|ihsize||#||Length of the inside of container as determined with {{com|MEASURE}}.
|spellcast|| spell ||the spell cast by the object
|-
|iwsize||#||Length of the inside of container as determined with {{com|MEASURE}}.
|-
|csize||#||Weight capacity as determined with {{com|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 the item is worn. "-" indicates the item is not 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 [[Kronar]]s. ("-" will disable)
|appcost||#||The cost given by an expert ([[Trader]] preferred) appraisal. Given in [[Kronar]]s. ("-" will disable)
|-
|-
|sourcetype#||sold by,other||Gives the appropriate display of the source of the item. For the most part, sources are automatically handled.
|sourcetype||-, sold by, other||Gives the appropriate display of the source of the item. When set to "-", sources are automatically handled using [[:Template:Sloot|sloot]] references on the source page. Set this to "other" when manually listing a source (see below).
|-
|-
|source#||(source)+(source version 2)+...||Where the item comes from. For the most part, sources are automatically handled.
|source||(source)+(source version 2)+...||Where the item comes from (e.g. <player1> and <player2>'s wedding). This should only be used with an "other" sourcetype (see above).
|-
|-
|cost#||# Kronars/Dokoras/Lirums||Price at preceeding store, including currency.
|cost||# Kronars/Dokoras/Lirums||Price at preceeding store, including currency.
|-
|-
|list|| ||A way to change how an item is listed in categories.
|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.
|rare||true, false|| Used to explicitly declare that an item is not commonly available at a shop or creature drop.
|-
|-
| htype || doors/free/knoll/tree<br />interior/furniture/decoration<br />pet/bed/misc/storage/chair/
|htype||doors, free, knoll, tree, interior, furniture, decoration, pet, bed, misc, storage, chair, armor stand, weapon stand, fireplace, fuel, wall, wind chime, bird house||A space for listing an items housing properties. See [[Property:Housing item type]].
: armor stand/weapon stand/fireplace/fuel/wall
wind chime/bird house
| A space for listing an items housing properties. See [[Property:Housing item type]].
|}
|}



Revision as of 16:29, 19 January 2016

item
Look:
Core Noun:
Weight: 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:Weapon. For information on listing crafted equipment, consult the Manual of Style.

Variable Supported Values Usage
name Name of the object. Only include this if the item name is different from the page name (e.g. a <color wand).
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, tie, toy, tack, writing, <guild> style, <race> style For category inclusion.

With regard to the guild/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.

"tie" indicates the item is a tie item.

uses # The number of bites, sips, drinks, waves, etc.
weight # weight in stones ("-" will disable)
lsize # Length of the outside of object as determined with MEASURE. If this is a container, make sure to CLOSE before you measure.
hsize # Height of the outside of object as determined with MEASURE.
wsize # Width of the outside of object as determined with MEASURE.
ilsize # Length of the inside of container as determined with MEASURE. Ensure the container is OPEN before measuring.
ihsize # Length of the inside of container as determined with MEASURE.
iwsize # Length of the inside of container as determined with MEASURE.
csize # 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 the item is worn. "-" indicates the item is not 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. When set to "-", sources are automatically handled using sloot references on the source page. Set this to "other" when manually listing a source (see below).
source (source)+(source version 2)+... Where the item comes from (e.g. <player1> and <player2>'s wedding). This should only be used with an "other" sourcetype (see above).
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.
htype doors, free, knoll, tree, interior, furniture, decoration, pet, bed, misc, storage, chair, armor stand, weapon stand, fireplace, fuel, wall, wind chime, bird house A space for listing an items housing properties. See Property:Housing item type.
{{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=
}}