Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(removed duplicate cambrinth entry. removed juggle item type (duplicate of juggling). fix links for alchemy, crafting, enchanting, engineering, forging, and outfitting systems)
m (removing the TACK line, will adapt the HORSE line to work instead)
(21 intermediate revisions by 5 users not shown)
Line 10: Line 10:
{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#If:{{
{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#If:{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
IfMatch| gaethzen | {{{special}}} }} | * This item is [[has item property::magic]]al. }}{{
IfMatch| gaethzen | {{{special}}} }} | * This item is [[has item property::magic]]al. }}{{
IfMatch| cambrinth | {{{special}}} | true=*This item has [[cambrinth]] in it and will hold up to {{#if:{{{maxcharge|}}} | [[holds mana::{{{maxcharge}}}]] | [[missing::Infobox entry on mana capacity|''?'']]}} mana.[[has item property::uses material::cambrinth| ]]}}{{
IfMatch| cambrinth | {{{special}}} | true=*This item has [[cambrinth]] in it and will hold up to {{#if:{{{maxcharge|}}} | [[holds mana::{{{maxcharge}}}]] | [[missing::Infobox entry on mana capacity|''?'']]}} mana.[[has item property::cambrinth| ]][[uses material::cambrinth| ]]}}{{
IfMatch| gaethzen | {{{special}}} | true=*This item is made from [[has item property::uses material::gaethzen| ]][[has item property::gives light| ]][[gaethzen]] and will hold up to {{#if:{{{maxcharge|}}} | [[holds mana::{{{maxcharge}}}]] | [[missing::Infobox entry on mana capacity|''?'']]}} mana.}}{{
IfMatch| gaethzen | {{{special}}} | true=*This item is made from [[has item property::gaethzen| ]][[uses material::gaethzen| ]][[has item property::gives light| ]][[gaethzen]] and will hold up to {{#if:{{{maxcharge|}}} | [[holds mana::{{{maxcharge}}}]] | [[missing::Infobox entry on mana capacity|''?'']]}} mana.}}{{
#if:{{{spellcast|}}}{{
#if:{{{spellcast|}}}{{
IfMatch| casts spell | {{{special}}} }} | *This holds [[has item property::casts spell| ]][[has item property::magic| ]]{{
IfMatch| casts spell | {{{special}}} }} | *This holds [[has item property::casts spell| ]][[has item property::magic| ]]{{
#if:{{{spellcast|}}} | the [[item casts spell::{{{spellcast}}}]][[has item property::magic| ]] | an unknown[[missing::Infobox entry on the spell cast| ]]}} spell.}}{{
#if:{{{spellcast|}}} | the [[item casts spell::{{{spellcast}}}]][[has item property::magic| ]] | an unknown[[missing::Infobox entry on the spell cast| ]]}} spell.}}{{
#ifeq:{{{itype}}} | item | {{
#ifeq:{{{itype}}} | item | {{
IfMatch| atmo | {{{special}}} | true=*This is an [[Atmospheric item|atmo item]] that will periodically emit messaging to the entire room.[[has item property::atmo| ]]}}{{
IfMatch| clothing | {{{special}}} | true=[[has item property::clothing| ]]}}{{
IfMatch| clothing | {{{special}}} | true=[[has item property::clothing| ]]}}{{
IfMatch| jewelry | {{{special}}} | true=[[has item property::jewelry| ]]}} }}{{
IfMatch| jewelry | {{{special}}} | true=[[has item property::jewelry| ]]}} }}{{
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{
#If:{{IfMatch| clothing | {{{special}}}}}{{IfMatch| jewelry | {{{special}}}}}{{IfMatch| container | {{{special}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::Infobox is missing specific hair location| ]]|hair (tied)=*This item is tied to the hair [[worn in slot::hair (tied)| ]].|hair (placed)=*This item is placed in the hair[[worn in slot::hair (placed)| ]].|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).[[missing::Infobox is missing specific shirt location| ]]|shirt-=* This item is worn in the shirt slot but cannot be worn with armor.[[worn in slot::shirt (without armor)| ]]|shirt+=* This item is worn in the shirt slot and can be worn with armor.[[worn in slot::shirt (with armor)| ]]| generic=*This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | [[worn in slot::@@@@]] |  or  }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{
#If:{{IfMatch| clothing | {{{special}}}}}{{IfMatch| jewelry | {{{special}}}}}{{IfMatch| container | {{{special}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::Infobox is missing specific hair location| ]]|hair (tied)=*This item is tied to the hair[[worn in slot::hair (tied)| ]].|hair (placed)=*This item is placed in the hair[[worn in slot::hair (placed)| ]].|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).[[missing::Infobox is missing specific shirt location| ]]|shirt-=* This item is worn in the shirt slot but cannot be worn with armor.[[worn in slot::shirt (without armor)| ]]|shirt+=* This item is worn in the shirt slot and can be worn with armor.[[worn in slot::shirt (with armor)| ]]| generic=*This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | [[worn in slot::@@@@]] |  or  }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
Line 32: Line 34:
IfMatch| foraged | {{{special}}} | true=*This item can be obtained by foraging.[[has item property::foraged| ]]}}{{
IfMatch| foraged | {{{special}}} | true=*This item can be obtained by foraging.[[has item property::foraged| ]]}}{{
IfMatch| feature | {{{special}}} | true=*This item alters the appearance of the user.[[has item property::feature| ]]}}{{
IfMatch| feature | {{{special}}} | true=*This item alters the appearance of the user.[[has item property::feature| ]]}}{{
IfMatch| stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents. '''Note:''' because of this, it may count as two items.[[has item property::stacking| ]]}}{{
IfMatch| tack | {{{special}}} | true={{
IfMatch| stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents.[[has item property::stacking| ]] | false=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}}}{{
IfMatch| horse | {{{special}}} | true=*This item is designed to be worn by or used on a {{Cat|Tack items}} [[:Category:Horses|horse or mount]].[[has item property::tack| ]]}}{{
IfMatch| creation | {{{special}}} | true=*This item is related to a [[has item property::creation]] process that is not part of the updated [[crafting|crafting]] systems.}}{{
IfMatch| creation | {{{special}}} | true=*This item is related to a [[has item property::creation]] process that is not part of the updated [[crafting|crafting]] systems.}}{{
IfMatch| material | {{{special}}} | true=*This item is used as a [[has item property::material]] in another process, either as a [[Crafting Materials|base for crafting]] or [[alteration]] fodder.}}{{
IfMatch| material | {{{special}}} | true=*This item is used as a [[has item property::material]] in another process, either as a [[Crafting Materials|base for crafting]] or [[alteration]] fodder.}}{{
IfMatch| juggling | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{
IfMatch| juggling | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{
IfMatch| pet | {{{special}}} | true=*This item is part of the [[vanity pet]] system.}}{{
IfMatch| tie | {{{special}}} | true=*This {{{itype}}} is a {{Cat|Tie items}} [[:Category:Tie_items|tie item]].}}{{
IfMatch| tie | {{{special}}} | true=*This {{{itype}}} is a {{Cat|Tie items}} [[:Category:Tie_items|tie item]].}}{{
IfMatch| toy | {{{special}}} | true=*This item is a toy.[[has item property::toy| ]]}}{{
IfMatch| toy | {{{special}}} | true=*This item is a toy.[[has item property::toy| ]]}}{{
Line 47: Line 50:
IfMatch| string instrument | {{{special}}} }}{{
IfMatch| string instrument | {{{special}}} }}{{
IfMatch| percussion instrument | {{{special}}} }}|
IfMatch| percussion instrument | {{{special}}} }}|
*This is an [[has item property::instrument]] or a tool to fix, clean, or play one.}}{{
*This is a musical [[has item property::instrument]] (or a tool to play, repair, or clean one).}}{{
IfMatch| gives light | {{{special}}} | true=*This item [[has item property::gives light]].}}{{
IfMatch| gives light | {{{special}}} | true=*This item [[has item property::gives light]] or is used to start fires.}}{{
IfMatch| smoking | {{{special}}} | true=*This is a [[has item property::smoking]] instrument or type of tobacco.}}{{
IfMatch| smoking | {{{special}}} | true=*This is a [[has item property::smoking]] instrument or type of tobacco.}}{{
IfMatch| housing | {{{special}}} | true=*This item is designed to be used in or on [[Homes|player houses]].[[has item property::housing| ]]}}{{
IfMatch| housing | {{{special}}} | true=*This item is designed to be used in or on [[Homes|player houses]].[[has item property::housing| ]]}}{{
Line 64: Line 67:
IfMatch| prydaen style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::prydaen|Prydaen]].[[has item property::Prydaen style| ]]}}{{
IfMatch| prydaen style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::prydaen|Prydaen]].[[has item property::Prydaen style| ]]}}{{
IfMatch| rakash style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::rakash|Rakash]].[[has item property::Rakash style| ]]}}{{
IfMatch| rakash style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::rakash|Rakash]].[[has item property::Rakash style| ]]}}{{
IfMatch| skra mur style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::s'kra mur|S'Kra Mur]].[[has item property::S'Kra Mur style| ]]}}{{
IfMatch| skra mur style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::s'kra mur|S'Kra Mur]].[[has item property::S'kra Mur style| ]]}}{{
IfMatch| barbarian style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Barbarian]]s.[[has item property::Barbarian style| ]]}}{{
IfMatch| barbarian style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Barbarian]]s.[[has item property::Barbarian style| ]]}}{{
IfMatch| bard style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Bard]]s.[[has item property::Bard style| ]]}}{{
IfMatch| bard style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Bard]]s.[[has item property::Bard style| ]]}}{{
Line 81: Line 84:
|-
|-
{{#if: {{IfMatch| container | {{{special}}} |true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{#if: {{IfMatch| container | {{{special}}} |true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height x {{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} weight}}}}
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height ({{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones)}}}}
|-
|-
| '''Sources:''' ||{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch: {{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | [[source is::@@@@]] | ,  }} for {{#if:{{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']] }} | [[missing::Infobox entry on source|''Unknown'']] }}{{
| '''Sources:''' ||{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch: {{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | [[source is::@@@@]] | ,  }} for {{#if:{{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']] }} | [[missing::Infobox entry on source|''Unknown'']] }}{{
Line 88: Line 91:
#if:{{{source4|}}} | <br />{{#switch: {{lc: {{{sourcetype4}}} }} | sold by=Sold by {{#arraymap: {{{source4}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{{cost4}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}{{
#if:{{{source4|}}} | <br />{{#switch: {{lc: {{{sourcetype4}}} }} | sold by=Sold by {{#arraymap: {{{source4}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{{cost4}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}{{
#if:{{{source5|}}} | <br />{{#switch: {{lc: {{{sourcetype5}}} }} | sold by=Sold by {{#arraymap: {{{source5}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost5|}}} | {{{cost5}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source5}}} | [[missing::Infobox entry on source|''Unknown'']] }} }} }}{{
#if:{{{source5|}}} | <br />{{#switch: {{lc: {{{sourcetype5}}} }} | sold by=Sold by {{#arraymap: {{{source5}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost5|}}} | {{{cost5}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source5}}} | [[missing::Infobox entry on source|''Unknown'']] }} }} }}{{
#If:{{{rare|}}}|[[rare source::rare item::{{{rare}}}| ]]|{{#if:{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|default=|sep=+|intro=+|link=none}}|Template:RareItemProcess|+|}}|[[rare source::rare item::false| ]]|[[rare source::rare item::true| ]]}}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#ask:[[source for::{{FULLPAGENAME}}]] | format=list | default= | limit=15 | order=desc | intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{{sources|}}}|%%%%|@@@@|[[source is::@@@@| ]]|}}{{#if:{{{rev|}}}|[[ireview::{{{rev}}}| ]]|[[ireview::0| ]]}}</includeonly><noinclude>{{Essential}}This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]].
#If:{{{rare|}}}|[[rare source::true| ]][[rare item::{{{rare}}}| ]]|{{#if:{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|default=|sep=+|intro=+|link=none}}|Template:RareItemProcess|+|}}|[[rare source::true| ]][[rare item::false| ]]|[[rare source::true| ]][[rare item::true| ]]}}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#ask:[[source for::{{FULLPAGENAME}}]] | format=list | default= | limit=15 | order=desc | intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{{sources|}}}|%%%%|@@@@|[[source is::@@@@| ]]|}}{{#if:{{{rev|}}}|[[ItemReview::{{{rev}}}| ]]|[[ItemReview::0| ]]}}</includeonly><noinclude>{{Essential}}This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]].


This is because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude>
This is because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude>

Revision as of 03:52, 21 September 2019

Essential Template
  • This template is so essential that it has been protected to prevent tampering.
  • If you have suggestions to extend its function or have observed bugs, please post to the discussion page.

This template is a display and categorization plug-in for other templates, including Template:Item, Template:Shield,Template:Armor, and Template:Weapon.

This is because several of the basic ones share features in addition to becoming too large.