Template:Item: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
| {{#if: {{IfMatch| housing | {{{type}}}+{{{type2}}}+{{{type3}}}+{{{type4}}}+{{{type5}}}+{{{type6}}} }} | | {{!}}'''Weight:'''{{!}}{{!}}<!--<includeonly>[[missing::Infobox entry on weight| ]]</includeonly>-->''Unknown''}} }}
| {{#if: {{IfMatch| housing | {{{type}}}+{{{type2}}}+{{{type3}}}+{{{type4}}}+{{{type5}}}+{{{type6}}} }} | | {{!}}'''Weight:'''{{!}}{{!}}<!--<includeonly>[[missing::Infobox entry on weight| ]]</includeonly>-->''Unknown''}} }}
|-
|-
{{#if: {{{metal|}}} | {{#switch:{{{metal|}}} |-={{!}} '''Metal:''' {{!}}{{!}} {{#if: {{{metal|}}} | {{#switch:{{lc:{{{metal|}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]] }} | <!--[[missing::Infobox entry for metal|''Unknown'']]--> ''Unknown'' }}| test}}}}
{{#if: {{{metal|}}} | {{#switch:{{lc:{{{metal|}}}}} |-=|{{!}} '''Metal:''' {{!}}{{!}} {{#if: {{{metal|}}} | {{#switch:{{lc:{{{metal|}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]] }} | <!--[[missing::Infobox entry for metal|''Unknown'']]--> ''Unknown'' }}}}}}
{{ItemProperties|itype=item|special={{{type|}}}{{#if:{{{type2|}}}|,{{{special2|}}}}}{{#if:{{{type3|}}}|,{{{special3|}}}}}{{#if:{{{type4|}}}|,{{{special4|}}}}}{{#if:{{{type5|}}}|,{{{special5|}}}}}{{#if:{{{type6|}}}|,{{{special6|}}}}}|hidetype={{{hidetype|}}}|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|}}}|imax={{{imax|}}}||ptype={{{ptype|}}}|rtype={{{rtype|}}}|gtype={{{gtype|}}}|verby={{{verby|}}}|atmos={{{atmos|}}}|pcrystal={{{pcrystal|}}}|istone={{{istone|}}}|rarity={{{rarity|}}}|enchanted={{{enchanted|}}}|potency={{{potency|}}}|complexity={{{complexity|}}}|precision={{{precision|}}}|grade={{{grade|}}}|ebonus={{{ebonus|}}}|glamour={{{glamour|}}}|gdecoration={{{gdecoration|}}}|ttype={{{ttype|}}}|tquality={{{tquality|}}}|tdurability={{{tdurability|}}}|tspeed={{{tspeed|}}}|itemtype={{{itype|}}}|htype={{{htype|}}}|markerduration={{{markerduration|}}}|insttype={{{insttype|}}}|instquality={{{instquality|}}}|feature-change={{{feature-change|}}}|affects_feature={{{affects_feature|}}}|feature_decoration={{{feature_decoration}}}|generator={{{generator|}}}|gentype={{{gentype|}}}|genname={{{genname|}}}|impliedcontents={{{impliedcontents|}}}|maximbue={{{maximbue|}}}|sources={{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|sep=%%%%|link=none}}|rev={{{rev|}}}|list={{#if:{{{list|}}}|{{{list}}}|{{PAGENAME}}}}}}
{{ItemProperties|itype=item|special={{{type|}}}{{#if:{{{type2|}}}|,{{{special2|}}}}}{{#if:{{{type3|}}}|,{{{special3|}}}}}{{#if:{{{type4|}}}|,{{{special4|}}}}}{{#if:{{{type5|}}}|,{{{special5|}}}}}{{#if:{{{type6|}}}|,{{{special6|}}}}}|hidetype={{{hidetype|}}}|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|}}}|imax={{{imax|}}}||ptype={{{ptype|}}}|rtype={{{rtype|}}}|gtype={{{gtype|}}}|verby={{{verby|}}}|atmos={{{atmos|}}}|pcrystal={{{pcrystal|}}}|istone={{{istone|}}}|rarity={{{rarity|}}}|enchanted={{{enchanted|}}}|potency={{{potency|}}}|complexity={{{complexity|}}}|precision={{{precision|}}}|grade={{{grade|}}}|ebonus={{{ebonus|}}}|glamour={{{glamour|}}}|gdecoration={{{gdecoration|}}}|ttype={{{ttype|}}}|tquality={{{tquality|}}}|tdurability={{{tdurability|}}}|tspeed={{{tspeed|}}}|itemtype={{{itype|}}}|htype={{{htype|}}}|markerduration={{{markerduration|}}}|insttype={{{insttype|}}}|instquality={{{instquality|}}}|feature-change={{{feature-change|}}}|affects_feature={{{affects_feature|}}}|feature_decoration={{{feature_decoration}}}|generator={{{generator|}}}|gentype={{{gentype|}}}|genname={{{genname|}}}|impliedcontents={{{impliedcontents|}}}|maximbue={{{maximbue|}}}|sources={{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|sep=%%%%|link=none}}|rev={{{rev|}}}|list={{#if:{{{list|}}}|{{{list}}}|{{PAGENAME}}}}}}
|}
|}

Revision as of 10:03, 27 December 2023

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.

Before using this template, please consult the Manual of Style!

Values

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 the item. "-" will result in "You see nothing unusual."
noun The single word noun used to interact with the item.
MTag <material>,<material>,... Comma-separated list of materials used in the item's name and/or description.
CTag <color>,<color>,... Comma-separated list of colors used in the item's name and/or description.
STag <symbol>,<symbol>,... Comma-separated list of symbols used in the item's name and/or description.
type -, alchemy, anatomy chart, atmo, cambrinth, casts spell, celestial jewelry, chakrel, challenger's beverage, clothing, container, creation, drink, enchanting, engineering, feature, food, foraged, forging, gaethzen, gives light, haste, hiding, housing, instrument, jewelry, juggling, lock, magic, material, misc, outfitting, pet, siegery, smoking, stacking, tack, tie, toy, trainer, verby, writing, <guild> style, <race> style Comma-separated list 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.

Valid instrument types include: percussion, string, wind

"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, forehead, 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 the item (used with cambrinth, gaethzen, etc).
spellcast spell The spell cast by the item.
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. This field is optional.
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.

Blank Template

You can copy/paste below when creating a new Item: page. See values above or the Manual of Style for a description of values.

{{Item
|name=
|look=
|MTag=
|CTag=
|STag=
|noun=
|type=<can be a list separated by ",">
|uses=
|weight=
|lsize=
|hsize=
|wsize=
|ilsize=
|ihsize=
|iwsize=
|csize=
|wearloc=
|maxcharge=
|spellcast=
|appcost=
|sourcetype=
|source=
|cost=
}}