Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
(27 intermediate revisions by 3 users not shown)
Line 7: Line 7:
|{{#if:{{IfMatch| housing | {{{special}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}}{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} <!-- [[missing::Infobox entry on appraised cost|-->''Unknown''<!--]]--> }} }}{{#if:{{{itemtype|}}}|{{#arraymap:{{{itemtype}}}|,|@@@@|[[item type is::@@@@| ]]|}}}}
|{{#if:{{IfMatch| housing | {{{special}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}}{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} <!-- [[missing::Infobox entry on appraised cost|-->''Unknown''<!--]]--> }} }}{{#if:{{{itemtype|}}}|{{#arraymap:{{{itemtype}}}|,|@@@@|[[item type is::@@@@| ]]|}}}}
|-
|-
| '''Properties:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ptype|}}}| This is {{#switch:{{{ptype}}}|clothing=an article of [[item category is::clothing]]|container=a [[item category is::container]]|crafting tool=a [[item category is::crafting tool]]|housing=a designed to be used in or on [[item category is::housing| ]][[Homes|player houses]] ({{#if:{{{htype|}}} | [[housing item type::{{{htype}}}]] {{#switch:{{{htype}}}|Armor Stand|General Storage|Large Item|Wall|Weapon Rack=- holds {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items| }} | [[missing::Infobox entry on housing item type|''?'']]}})|instrument=an [[item category is::instrument]]|jewelry=[[item category is::jewelry]]|other=[[item category is::other|an item]]|''?''}}. }}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|common=[[rarity is::common| ]][[rare source::false| ]][[rare item::false| ]]|festival=[[rarity is::festival| ]][[rare source::true| ]][[rare item::true| ]]|incidental=[[rarity is::incidental| ]][[rare source::true| ]][[rare item::true| ]]|end loot=[[rarity is::end loot| ]][[rare source::true| ]][[rare item::true| ]]|auction=[[rarity is::auction| ]][[rare source::true| ]][[rare item::true| ]]{{Cat|Auction-Tier Items}}|}} }}{{#switch:{{lc:{{{verby}}}}}|true|yes=*This item has more than normal or unusual verbs.[[verby is::true| ]]}}{{#switch:{{lc:{{{atmos}}}}}|true|yes=*This is an [[Atmospheric item|atmo item]] that will periodically emit messaging to the entire room.[[atmo is::true| ]]{{Cat|Atmospheric items}}}}{{#if: {{{ptype|}}}{{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{#If:{{
| '''Properties:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ptype|}}}| This is {{#switch:{{{ptype}}}|clothing=an article of [[item category is::clothing]]|container=a [[item category is::container]]|crafting tool=a [[item category is::crafting tool]]|housing=a designed to be used in or on [[item category is::housing| ]][[Homes|player houses]] ({{#if:{{{htype|}}} | [[housing item type::{{{htype}}}]] {{#switch:{{{htype}}}|Armor Stand|General Storage|Large Item|Wall|Weapon Rack=- holds {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items| }} | [[missing::Infobox entry on housing item type|''?'']]}})|instrument=a {{#if:{{{insttype|}}} | [[instType is::{{{insttype}}}]] | [[missing::Infobox entry on instrument type|''?'']]}} [[item category is::instrument]]|jewelry=[[item category is::jewelry]]|other=[[item category is::other|an item]]|''?''}}. }}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|common=[[rarity is::common| ]][[rare source::false| ]][[rare item::false| ]]|festival=[[rarity is::festival| ]][[rare source::true| ]][[rare item::true| ]]|incidental=[[rarity is::incidental| ]][[rare source::true| ]][[rare item::true| ]]|end loot=[[rarity is::end loot| ]][[rare source::true| ]][[rare item::true| ]]|auction=[[rarity is::auction| ]][[rare source::true| ]][[rare item::true| ]]{{Cat|Auction-Tier Items}}|}} }}{{#switch:{{lc:{{{verby}}}}}|true|yes=*This item has more than normal or unusual verbs.[[verby is::true| ]]}}{{#switch:{{lc:{{{pcrystal}}}}}|true|yes=*This item can be upgraded with {{ilink|i|potency crystal}}s.[[pcrystal is::true| ]]}}{{#switch:{{lc:{{{istone}}}}}|true|yes=*This item can have its power restored with {{ilink|i|infuser stone}}s.[[istone is::true| ]]}}{{#switch:{{lc:{{{atmos}}}}}|true|yes=*This is an [[Atmospheric item|atmo item]] that will periodically emit messaging to the entire room.[[atmo is::true| ]]{{Cat|Atmospheric items}}}}{{#if: {{{ptype|}}}{{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{#If:{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
Line 29: Line 29:
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| ]]}}.}}{{
IfMatch| challenger's beverage | {{{special}}} | true=*This item is a {{cat|Challenger's beverage}} [[:Category:Challenger's beverage|challenger's beverage]].}}{{
IfMatch| challenger's beverage | {{{special}}} | true=*This item is a {{cat|Challenger's beverage}} [[has item property::challenger's beverage| ]][[:Category:Challenger's beverage|challenger's beverage]].}}{{
IfMatch| forging | {{{special}}} | true=*This item is used in the [[Forging_skill|forging]] crafting system. [[has item property::forging| ]]}}{{
IfMatch| forging | {{{special}}} | true=*This item is used in the [[Forging_skill|forging]] crafting system. [[has item property::forging| ]]}}{{
IfMatch| engineering | {{{special}}} | true=*This item is used in the [[Engineering_skill|engineering]] crafting system. [[has item property::engineering| ]]}}{{
IfMatch| engineering | {{{special}}} | true=*This item is used in the [[Engineering_skill|engineering]] crafting system. [[has item property::engineering| ]]}}{{
Line 69: Line 69:
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]].[[item category is::housing| ]]}}{{
IfMatch| housing | {{{special}}} | true=*This item is designed to be used in or on [[Homes|player houses]].[[item category is::housing| ]]}}{{
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{#If:{{IfMatch | hiding | {{{special}}}}}{{{hidetype|}}}|{{Cat|Item hiders}}[[has item property::hiding| ]]{{#if:{{{hidetype|}}}|{{#switch:{{lc:{{{hidetype}}}}} | n | -= | *This item hides {{#arraymap:{{{hidetype}}}|,|@@@@|[[hides item type::@@@@]]|&#32;and&#32;}}.}} | *This item hides [[missing::Infobox entry on items hidden|''unknown'']] objects and/or features.}}}}{{
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{#If:{{IfMatch | hiding | {{{special}}}}}{{{hidetype|}}}|{{#if:{{{hidetype|}}}|{{#switch:{{lc:{{{hidetype}}}}} | n | -= | *This item hides {{#arraymap:{{{hidetype}}}|,|@@@@|[[hides item type::@@@@]]|&#32;and&#32;}}. {{Cat|Item hiders}}[[has item property::hiding| ]]}} | *This item hides [[missing::Infobox entry on items hidden|''unknown'']] objects and/or features. {{Cat|Item hiders}}[[has item property::hiding| ]]}}}}{{
IfMatch| writing | {{{special}}} | true=*This item can be written on or with.[[has item property::writing| ]]}}{{
IfMatch| writing | {{{special}}} | true=*This item can be written on or with.[[has item property::writing| ]]}}{{
IfMatch| ritual focus | {{{special}}} | true=*This item is a [[Focus_(item)#Ritual_Focus|ritual focus]].[[has item property::ritual focus| ]]}}{{
IfMatch| ritual focus | {{{special}}} | true=*This item is a [[Focus_(item)#Ritual_Focus|ritual focus]].[[has item property::ritual focus| ]]}}{{
Line 75: Line 75:
IfMatch| targeted magic focus | {{{special}}} | true=*This item is a [[Focus_(item)#Targeted_Magic_Focus|targeted magic focus]].[[has item property::targeted magic focus| ]]}}{{
IfMatch| targeted magic focus | {{{special}}} | true=*This item is a [[Focus_(item)#Targeted_Magic_Focus|targeted magic focus]].[[has item property::targeted magic focus| ]]}}{{
IfMatch| regenerator (concentration) | {{{special}}} | true=*This is a [[concentration regeneration]] item.[[has item property::regenerator (concentration)| ]]}}{{
IfMatch| regenerator (concentration) | {{{special}}} | true=*This is a [[concentration regeneration]] item.[[has item property::regenerator (concentration)| ]]}}{{
IfMatch| regenerator (confidence) | {{{special}}} | true=*This is a [[Thief]] [[confidence regeneration]] item.[[has item property::regenerator (confidence)| ]]}}{{
IfMatch| regenerator (devotion) | {{{special}}} | true=*This is a [[Devotion regeneration]] item.[[has item property::regenerator (devotion)| ]]}}{{
IfMatch| regenerator (elemental charge) | {{{special}}} | true=*This is an [[Elemental Charge regeneration]] item.[[has item property::regenerator (elemental charge)| ]]}}{{
IfMatch| regenerator (inner fire) | {{{special}}} | true=*This is an [[Inner Fire regeneration]] item.[[has item property::regenerator (inner fire)| ]]}}{{
IfMatch| regenerator (fatigue) | {{{special}}} | true=*This is a [[fatigue regeneration]] item.[[has item property::regenerator (fatigue)| ]]}}{{
IfMatch| regenerator (fatigue) | {{{special}}} | true=*This is a [[fatigue regeneration]] item.[[has item property::regenerator (fatigue)| ]]}}{{
IfMatch| regenerator (mana) | {{{special}}} | true=*This is a [[mana regeneration]] item.[[has item property::regenerator (mana)| ]]}}{{
IfMatch| regenerator (mana) | {{{special}}} | true=*This is a [[mana regeneration]] item.[[has item property::regenerator (mana)| ]]}}{{
IfMatch| regenerator (mojo) | {{{special}}} | true=*This is a [[Bardic Mojo]] regeneration item.[[has item property::regenerator (mojo)| ]]}}{{
IfMatch| regenerator (mojo) | {{{special}}} | true=*This is a [[Mojo Regeneration|Bardic Mojo regeneration]] item.[[has item property::regenerator (mojo)| ]]}}{{
IfMatch| regenerator (soul pool) | {{{special}}} | true=*This is a [[Paladin]] [[soul pool]] regeneration item.[[has item property::regenerator (soul pool)| ]]}}{{
IfMatch| regenerator (soul pool) | {{{special}}} | true=*This is a [[Paladin]] [[soul pool regeneration]] item.[[has item property::regenerator (soul pool)| ]]}}{{
IfMatch| regenerator (spirit) | {{{special}}} | true=*This is a [[spirit regeneration|spirit health regeneration]] item.[[has item property::regenerator (spirit)| ]]}}{{
IfMatch| regenerator (vitality) | {{{special}}} | true=*This is a [[vitality regeneration]] item.[[has item property::regenerator (vitality)| ]]}}{{
IfMatch| regenerator (vitality) | {{{special}}} | true=*This is a [[vitality regeneration]] item.[[has item property::regenerator (vitality)| ]]}}{{
IfMatch| regenerator (wilderness) | {{{special}}} | true=*This is a [[Ranger]] [[Wilderness bonus]] regeneration item.[[has item property::regenerator (wilderness)| ]]}}{{
IfMatch| regenerator (wilderness) | {{{special}}} | true=*This is a [[Ranger]] [[Wilderness regeneration|Wilderness bonus regeneration]] item.[[has item property::regenerator (wilderness)| ]]}}{{
IfMatch| regenerator (inner fire) | {{{special}}} | true=*This is a [[Thief]] [[Confidence]] regeneration item.[[has item property::regenerator (confidence)| ]]}}{{
IfMatch| regenerator (voice pool) | {{{special}}} | true=*This is a [[Barbarian]] [[Voice Pool regeneration]] item.[[has item property::regenerator (voice pool)| ]]}}{{
IfMatch| regenerator (inner fire) | {{{special}}} | true=*This is a [[Barbarian]] [[Inner Fire]] regeneration item.[[has item property::regenerator (inner fire)| ]]}}{{
IfMatch| regenerator (voice pool) | {{{special}}} | true=*This is a [[Barbarian]] [[:Category:Roars#Voice Pool|voice pool|]] regeneration item.[[has item property::regenerator (voice pool)| ]]}}{{
IfMatch| repair (weapon) | {{{special}}} | true=*This item repairs weapons.[[has item property::repair (weapon)| ]]}}{{
IfMatch| repair (weapon) | {{{special}}} | true=*This item repairs weapons.[[has item property::repair (weapon)| ]]}}{{
IfMatch| repair (armor) | {{{special}}} | true=*This item repairs armor.[[has item property::repair (armor)| ]]}}{{
IfMatch| repair (armor) | {{{special}}} | true=*This item repairs armor.[[has item property::repair (armor)| ]]}}{{
IfMatch| repair (tool) | {{{special}}} | true=*This item repairs tools.[[has item property::repair (tool)| ]]}}{{
IfMatch| repair (tool) | {{{special}}} | true=*This item repairs tools.[[has item property::repair (tool)| ]]}}{{
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{
IfMatch| weapon frog | {{{special}}} | true=*This item can display up to two weapons that are {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | waist|belt =one-handed (but not polearm)| shoulder=any melee (but not polearm) |back=of any size | ???}} }}.[[has item property::weapon frog| ]]{{cat|Weapon frogs}}}}{{
IfMatch| pilgrim's badge | {{{special}}} | true=* This is a [[pilgrim's badge]].[[has item property::pilgrim's badge| ]]}}{{
IfMatch| dwarf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::dwarf|Dwarves]].[[has item property::Dwarf style| ]]}}{{
IfMatch| dwarf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::dwarf|Dwarves]].[[has item property::Dwarf style| ]]}}{{
IfMatch| elf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::elf|Elves]].[[has item property::Elf style| ]]}}{{
IfMatch| elf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::elf|Elves]].[[has item property::Elf style| ]]}}{{
Line 123: Line 128:
*{{#if:{{{tdurability|}}}|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)|''?''}} durability
*{{#if:{{{tdurability|}}}|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)|''?''}} durability
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}}
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}}
|-
{{#if:{{{insttype|}}}|{{!}} '''Instrument Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{insttype|}}}|{{#switch:{{{insttype}}} | n | -= | This item is a {{#arraymap:{{{insttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[InstType is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} instrument with:
*{{#if:{{{instquality |}}}|[[instQuality is::{{{instquality}}}]] ([[quality is number::{{GearProcess|{{{instquality}}}|quality}}]]/9)|''?''}} quality<br/>{{Cat|Instruments}}}}
|-
|-
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}

Revision as of 10:07, 30 November 2022

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.