Template:Item: Difference between revisions
Jump to navigation
Jump to search
(caused the core noun section to vanish if defined) |
(Added ability customizer entry) |
||
(197 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{#if:{{#show: {{FULLPAGENAME}} | ?missing}}|{{IncompleteItem}}|}}[[page type is::item| ]]{{#if:{{{type2|}}}|[[Needs updating::true| ]]|}} |
|||
<includeonly> |
|||
{{#if:{{{ATag|}}}|[[Has ambiguous tags::true| ]]{{AmbiguousTags}}}} |
|||
<!-- Adds IncompleteItem template if non-optional information is missing--> |
|||
{{#if:{{{MTag|}}}||{{#if:{{{CTag|}}}||{{#if:{{{STag|}}}||{{IncompleteTags}}}}}}}}</includeonly> |
|||
{{#if:{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{#If:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|1}}}}|{{#If:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|1}}}}|{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{wearloc|}}}|1}}}}|{{IfAND|{{IfTHEN|{{{shop}}}|{{{cost}}}}}|{{IfTHEN|{{{shop2}}}|{{{cost2}}}}}|{{IfTHEN|{{{shop3}}}|{{{cost3}}}}}}}}}||{{IncompleteItem|Some information is missing from the item infobox.}}}} |
|||
{| class="wikitable" style="width:700px" |
|||
</includeonly> |
|||
{|class="wikitable" style="width:700px" |
|||
|-style="height:40px" |
|-style="height:40px" |
||
! colspan="2" style="font-size:150%"|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |
! colspan="2" style="font-size:150%"|{{#if:{{{name|}}}|{{{name}}}[[needs checking::true| ]]|{{#switch:{{lc:{{{fname}}}}}|y|yes={{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}}}}} |
||
|- |
|- |
||
|width="15%" | '''Look:''' || {{#ifeq:{{{look}}}|-|''You see nothing unusual.''|{{#if: {{{look|}}} | {{{look}}} | <includeonly>[[missing::Infobox entry on LOOK description|''Unknown'']]</includeonly>}}}}{{#switch:{{{MTag|}}}|-|=|#default={{#arraymap:{{lc:{{{MTag}}}}}|,|@@@@|[[uses material::@@@@| ]]| }}}}{{#switch:{{{CTag|}}}|-|=|#default={{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@| ]]| }}}}{{#switch:{{{STag|}}}|-|=|#default={{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@| ]]| }}}} |
|||
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}} |
|||
|- |
|- |
||
{{#if:{{{noun|}}}||{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}} |
{{#if: {{{noun|}}} | [[noun is::{{lc:{{{noun}}}}}| ]] | {{!}} '''Core Noun:''' {{!}}{{!}} <includeonly>[[missing::Infobox entry on noun used|''Unknown'']]</includeonly>}} |
||
|- |
|- |
||
{{#if: {{{weight|}}} |
|||
| {{#ifeq: {{{weight}}} | - | | {{!}}'''Weight:'''{{!}}{{!}} [[weight of::{{{weight}}}]] stones }} |
|||
| {{#if: {{IfMatch| housing | {{{type}}}+{{{type2}}}+{{{type3}}}+{{{type4}}}+{{{type5}}}+{{{type6}}} }} | | {{!}}'''Weight:'''{{!}}{{!}}<!--<includeonly>[[missing::Infobox entry on weight| ]]</includeonly>-->''Unknown''}} }} |
|||
|- |
|- |
||
{{#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'' }}}} | {{!}} '''Metal:''' {{!}}{{!}} ''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|}}}|abilitycustomized={{{abilitycustomized|}}}|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}}}}}} |
|||
|} |
|||
<includeonly>{{#if:{{{list|}}}|{{cat|Items|{{{list}}}}}|{{cat|Items}}}}</includeonly><noinclude> |
|||
==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]]. |
|||
Before using this template, please consult the [[Elanthipedia:Manual_of_Style/Items|Manual of Style]]! |
|||
===Values=== |
|||
{| border="1" cellpadding="3" |
|||
!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). |
|||
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}| ({{{cost}}})}}|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}} {{#switch:{{lc:{{{coin}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}{{#if:{{{shop2|}}}|<DT>[[{{{shop2}}}]]<DD>{{#if:{{{cost2|}}}|({{{cost2}}} {{#switch:{{lc:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>{{#if:{{{cost3|}}}|({{{cost3}}} {{#switch:{{lc:{{{coin3}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>{{#if:{{{cost4|}}}|({{{cost4}}} {{#switch:{{lc:{{{coin4}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>{{#if:{{{cost5|}}}|({{{cost5}}} {{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop6|}}}|<DT>[[{{{shop6}}}]]<DD>{{#if:{{{cost6|}}}|({{{cost6}}} {{#switch:{{lc:{{{coin6}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop7|}}}|<DT>[[{{{shop7}}}]]<DD>{{#if:{{{cost7|}}}|({{{cost7}}} {{#switch:{{lc:{{{coin7}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop8|}}}|<DT>[[{{{shop8}}}]]<DD>{{#if:{{{cost8|}}}|({{{cost8}}} {{#switch:{{lc:{{{coin8}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop9|}}}|<DT>[[{{{shop9}}}]]<DD>{{#if:{{{cost9|}}}|({{{cost9}}} {{#switch:{{lc:{{{coin9}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop10|}}}|<DT>[[{{{shop10}}}]]<DD>{{#if:{{{cost10|}}}|({{{cost10}}} {{#switch:{{lc:{{{coin10}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}</DL>}} |
|||
|- |
|- |
||
|look||-, <text>||The description gained by {{com|LOOK}}ing at the item. "-" will result in "''You see nothing unusual.''" |
|||
| '''Appraised Cost:'''||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronar(s) |
|||
|- |
|- |
||
|noun|| ||The single word '''noun''' used to interact with the item. |
|||
| '''Special Properties:''' |
|||
|- |
|||
|{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfAND|{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||1}}}}|{{#if:{{{wearloc|}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||{{#ifeq:{{lc:{{{wearloc}}}}}|generic|*This item is worn in a generic slot.|*This item is worn in the {{{wearloc}}} slot.}}}}|*This item is worn in an ''unknown'' slot.}}}}{{#If:{{IfMatch|pocketed|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{#switch:{{{pockets}}}|y|yes=1}}|*This item has pockets.}}{{#If:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{#ifeq:{{lc:{{{magic}}}}}|y|1}}|*This item is magical.}}{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=*This item is made from [[cambrinth]] and will hold up to {{#if:{{{maxcharge|}}}|{{{maxcharge}}}|''?''}} mana.}}{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=*This item is made from [[gaethzen]] and will hold up to {{#if:{{{maxcharge|}}}|{{{maxcharge}}}|''?''}} mana.}}{{#if:{{{heldspell|}}}|*This holds the [[{{{heldspell}}}]] spell.}}{{IfMatch|gath mysanda|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*??}}{{IfMatch|food|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is food.}}{{IfMatch|drink|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is a drink.}}{{IfMatch|herb|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item will heal when used.}}{{IfMatch|alchemy|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is used in alchemical processes.}}{{IfMatch|tack|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is designed to be worn by or used on a horse or mount.}}{{IfMatch|creation|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item is used in a creation process.}}{{IfMatch|instrument|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This is an instrument or a tool to play one.}}{{IfMatch|juggle|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This is juggling item.}}{{IfMatch|light|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=*This item can provide light.}} |
|||
|MTag||<material>,<material>,...||Comma-separated list of materials used in the item's name and/or description. |
|||
|}<includeonly>[[Category:Items]] |
|||
|- |
|||
<!-- Adds page to appropriate category based on type --> |
|||
|CTag||<color>,<color>,...||Comma-separated list of colors used in the item's name and/or description. |
|||
{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Clothing]]{{#if:{{{wearloc|}}}|[[Category:Clothing ({{{wearloc}}} slot)]]}}}}{{IfMatch|container|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Containers]]{{IfAND|{{{wearloc|}}}|{{#ifeq:{{lc:{{{wearloc}}}}}|n||1}}|true=[[Category:Containers ({{{wearloc}}} slot)]]}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Jewelry]]{{#if:{{{wearloc|}}}|[[Category:Jewelry ({{{wearloc}}} slot)]]}}}}{{#if:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{#ifeq:{{lc:{{{magic}}}}}|y|1}}|[[Category:Magic Items]]}}{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=[[Category:Magic Items]][[Category:Cambrinth Items]]}}{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{magic}}}|true=[[Category:Magic Items]][[Category:Gaethzen Items]]}}{{IfMatch|perfect chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Perfect Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]][[Category:Barbarian Tools]]}}{{IfMatch|rough chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Rough Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]][[Category:Barbarian Tools]]}}{{IfMatch|barbarian|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Barbarian Items]]}}{{IfMatch|ranger|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Ranger Items]]}}{{IfMatch|empath|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Empath Items]]}}{{IfMatch|warrior mage|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Warrior Mage Items]]}}{{IfMatch|trader|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Trader Items]]}}{{IfMatch|paladin|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Paladin Items]]}}{{IfMatch|thief|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Thief Items]]}}{{IfMatch|bard|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Bard Items]]}}{{IfMatch|moon mage|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Moon Mage Items]]}}{{IfMatch|cleric|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Cleric Items]]}}{{IfMatch|food|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Food]]}}{{IfMatch|drink|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Drinks]]}}{{IfMatch|herb|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Herbs]]}}{{IfMatch|alchemy|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Alchemy Tools]]}}{{IfMatch|tack|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Tack]]}}{{IfMatch|creation|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Creation Tools]]}}{{IfMatch|instrument|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Intruments]]}}{{IfMatch|juggle|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Juggling Items]]{{#if:{{{weight|}}}|[[Category:Juggling Items ({{{weight}}} {{#switch:{{{weight}}}|1=stone|stones}})]]}}}}{{IfMatch|light|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Light Sources]]}}{{IfMatch|quest|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Quest Prizes]]}}{{IfMatch|barbarian tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Barbarian Items]][[Category:Barbarian Tools]]}}{{IfMatch|ranger tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Ranger Items]][[Category:Ranger Tools]]}}{{IfMatch|empath tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Empath Items]][[Category:Empath Tools]]}}{{IfMatch|warrior mage tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Warrior Mage Items]][[Category:Warrior Mage Tools]]}}{{IfMatch|trader tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Trader Items]][[Category:Trader Tools]]}}{{IfMatch|paladin tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Paladin Items]][[Category:Paladin Tools]]}}{{IfMatch|thief tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Thief Items]][[Category:Thief Tools]]}}{{IfMatch|bard tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Bard Items]][[Category:Bard Tools]]}}{{IfMatch|moon mage tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Moon Mage Items]][[Category:Moon Mage Tools]]}}{{IfMatch|cleric tools|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|true=[[Category:Cleric Items]][[Category:Cleric Tools]]}}</includeonly><noinclude> |
|||
|- |
|||
==Usage Documentation:== |
|||
|STag||<symbol>,<symbol>,...||Comma-separated list of symbols used in the item's name and/or description. |
|||
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:BrawlItem]]. For information on listing crafted equipment, consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]]. |
|||
|- |
|||
|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. |
|||
{| border=1 cellpadding=3 |
|||
!Variable!!Supported Values!!Usage |
|||
Valid instrument types include: percussion, string, wind |
|||
"tie" indicates the item is a [[:Category:Tie items|tie item]]. |
|||
|- |
|- |
||
|uses||#||The number of bites, sips, drinks, waves, etc. |
|||
|name|| ||name of the object if it's different than the page name |
|||
|- |
|- |
||
|weight||#||Weight in stones ("-" will disable). |
|||
|look|| ||the description gained by LOOKing at it. |
|||
|- |
|- |
||
|lsize||#||Length of the outside of object as determined with {{com|MEASURE}}. If this is a container, make sure to CLOSE before you measure. |
|||
|noun|| ||the single word '''noun''' used to interact with it |
|||
|- |
|- |
||
|hsize||#||Height of the outside of object as determined with {{com|MEASURE}}. |
|||
|type#||alchemy/clothing/creation/herb/jewelry/pocketed/tack/rough<br/>chakrel/perfect chakrel/(guild)/(guild) tools/container/magic/<br/>cambrinth/gaethzen/food/drink/instrument/juggle/light/quest||For category inclusion |
|||
|- |
|- |
||
|wsize||#||Width of the outside of object as determined with {{com|MEASURE}}. |
|||
|weight||#||weight in stones |
|||
|- |
|- |
||
|ilsize||#||Length of the inside of container as determined with {{com|MEASURE}}. Ensure the container is OPEN before measuring. |
|||
|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/pants/ankles/feet/tail||where it is worn |
|||
|- |
|- |
||
|ihsize||#||Length of the inside of container as determined with {{com|MEASURE}}. |
|||
|maxcharge||#||maximum mana that can be held by it |
|||
|- |
|- |
||
|iwsize||#||Length of the inside of container as determined with {{com|MEASURE}}. |
|||
|heldspell|| ||the spell cast by the object |
|||
|- |
|- |
||
|csize||#||Weight capacity as determined with {{com|MEASURE}}. |
|||
|appcost||#||The cost given by an expert (trader preferred) appraisal. Given in kronars |
|||
|- |
|- |
||
|imax||#||Maximum number of items which will fit inside of container. |
|||
|traderapp||y/n||Was the expert appraisal done by a trader? |
|||
|- |
|- |
||
|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. |
|||
|shop#|| ||Where it is sold |
|||
|- |
|- |
||
|maxcharge||#||maximum mana that can be held by the item (used with cambrinth, gaethzen, etc). |
|||
|cost#||#||Price at preceeding store |
|||
|- |
|- |
||
|spellcast||spell||The spell cast by the item. |
|||
|coin#||k/l/d||Automatically tags the previous price with the correct currency |
|||
|- |
|||
|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. 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 (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|values]] above or the [[Elanthipedia:Manual_of_Style/Items|Manual of Style]] for a description of values. |
|||
<pre> |
<pre> |
||
Line 62: | Line 95: | ||
|name= |
|name= |
||
|look= |
|look= |
||
|MTag= |
|||
|CTag= |
|||
|STag= |
|||
|noun= |
|noun= |
||
|type=<can be a list separated by ","> |
|||
|type= |
|||
| |
|uses= |
||
|type3= |
|||
|type4= |
|||
|type5= |
|||
|type6= |
|||
|weight= |
|weight= |
||
|lsize= |
|||
|hsize= |
|||
|wsize= |
|||
|ilsize= |
|||
|ihsize= |
|||
|iwsize= |
|||
|csize= |
|||
|imax= |
|||
|wearloc= |
|wearloc= |
||
|magic= |
|||
|maxcharge= |
|maxcharge= |
||
|spellcast= |
|||
|heldspell= |
|||
|appcost= |
|appcost= |
||
|sourcetype= |
|||
|traderapp= |
|||
| |
|source= |
||
|cost= |
|cost= |
||
|coin= |
|||
|shop2= |
|||
|cost2= |
|||
|coin2= |
|||
|shop3= |
|||
|cost3= |
|||
|coin3= |
|||
|shop4= |
|||
|cost4= |
|||
|coin4= |
|||
|shop5= |
|||
|cost5= |
|||
|coin5= |
|||
|shop6= |
|||
|cost6= |
|||
|coin6= |
|||
|shop7= |
|||
|cost7= |
|||
|coin7= |
|||
|shop8= |
|||
|cost8= |
|||
|coin8= |
|||
|shop9= |
|||
|cost9= |
|||
|coin9= |
|||
|shop10= |
|||
|cost10= |
|||
|coin10= |
|||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Templates|{{PAGENAME}}]] |
|||
{{cat|Templates}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 10:16, 14 September 2024
item | |
---|---|
Look: | |
Core Noun: | |
Weight: | Unknown |
Metal: | 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. |
imax | # | Maximum number of items which will fit inside of container. |
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= |imax= |wearloc= |maxcharge= |spellcast= |appcost= |sourcetype= |source= |cost= }}