Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
m (removing the TACK line, will adapt the HORSE line to work instead)
(5 intermediate revisions by 3 users not shown)
Line 18: Line 18:
#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| ]]}} }}{{
Line 33: 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| horse | {{{special}}} | true=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}{{
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| 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| 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.[[has item property::pet| ]]}}{{
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 50: Line 51:
IfMatch| percussion instrument | {{{special}}} }}|
IfMatch| percussion instrument | {{{special}}} }}|
*This is a musical [[has item property::instrument]] (or a tool to play, repair, or clean 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| ]]}}{{

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.