Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
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.}}{{
#if:{{{impliedcontents|}}} | *This item contains {{#arraymap:{{{impliedcontents}}}|,|@@@@|[[Implied contents::@@@@]]| and }} as non-interactable objects. }}{{
#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| atmo | {{{special}}} | true=*This is an [[Atmospheric item|atmo item]] that will periodically emit messaging to the entire room.[[has item property::atmo| ]]}}{{
#if:{{{impliedcontents|}}} | *This item contains {{#arraymap:{{{impliedcontents}}}|,|@@@@|[[Implied contents::@@@@]]| and }} as non-interactable objects. }}{{
IfMatch| clothing | {{{special}}} | true=[[item category is::clothing| ]]}}{{
IfMatch| clothing | {{{special}}} | true=[[item category is::clothing| ]]}}{{
IfMatch| jewelry | {{{special}}} | true=[[item category is::jewelry| ]]}} }}{{
IfMatch| jewelry | {{{special}}} | true=[[item category is::jewelry| ]]}} }}{{

Revision as of 19:48, 2 November 2023

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.