Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
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=designed to be used in or on [[item category is::housing| ]][[Homes|player houses]]|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| ]]|festival=[[rarity is::festival| ]]|incidental=[[rarity is::incidental| ]]|end loot=[[rarity is::end loot| ]]|auction=[[rarity is::auction| ]]|}} }}{{#switch:{{lc:{{{verby}}}}}|true|yes=*This item has more than normal or unusual verbs.[[verby is::true| ]]}}{{#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=designed to be used in or on [[item category is::housing| ]][[Homes|player houses]]|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| ]]|festival=[[rarity is::festival| ]]|incidental=[[rarity is::incidental| ]]|end loot=[[rarity is::end loot| ]]|auction=[[rarity is::auction| ]]|}} }}{{#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| ]]}}{{#if: {{{ptype|}}}{{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{#If:{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
Line 65: Line 65:
IfMatch| sorcery focus | {{{special}}} | true=*This item is a [[Focus_(item)#Sorcery_Focus|sorcery focus]].[[has item property::sorcery focus| ]]}}{{
IfMatch| sorcery focus | {{{special}}} | true=*This item is a [[Focus_(item)#Sorcery_Focus|sorcery focus]].[[has item property::sorcery 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| 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 (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 (concentration)| ]]}}{{
IfMatch| regenerator (vitality) | {{{special}}} | true=*This is a [[vitality regeneration]] item.[[has item property::vitality (concentration)| ]]}}{{
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| ]]}}{{

Revision as of 18:45, 2 February 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.