Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Added instrument tool)
No edit summary
Line 80: Line 80:
IfMatch| anatomy | {{{special}}} | true=*This item teaches [[Anatomy charts|anatomy]] through a chart or textbook. {{Cat|Anatomy Charts}} [[has item property::anatomy| ]]}}{{
IfMatch| anatomy | {{{special}}} | true=*This item teaches [[Anatomy charts|anatomy]] through a chart or textbook. {{Cat|Anatomy Charts}} [[has item property::anatomy| ]]}}{{
IfMatch| verby | {{{special}}} | true=*This {{{itype}}} has more than normal or unusual verbs.[[has item property::verby| ]]}}{{
IfMatch| verby | {{{special}}} | true=*This {{{itype}}} has more than normal or unusual verbs.[[has item property::verby| ]]}}{{
#if:{{
IfMatch| instrument | {{{special}}} }}{{
IfMatch| wind instrument | {{{special}}} }}{{
IfMatch| string instrument | {{{special}}} }}{{
IfMatch| percussion instrument | {{{special}}} }}|
*This is a musical [[item category is::instrument]] (or a tool to play, repair, or clean one).}}{{
IfMatch| instrument tool| {{{special}}} | true=*This item is a tool to play, repair, or clean an instrument.[[has item property::instrument tool| ]]}}{{
IfMatch| instrument tool| {{{special}}} | true=*This item is a tool to play, repair, or clean an instrument.[[has item property::instrument tool| ]]}}{{
<!-- Only count plain 'instrument' if NOT 'instrument tool' -->
#if:
<!-- include "instrument" only if NOT "instrument tool" -->
{{#if:{{IfMatch| instrument tool | {{lc:{{{special|}}}}} | true=1}}||{{IfMatch| instrument | {{lc:{{{special|}}}}} }} }}
{{IfMatch| wind instrument | {{lc:{{{special|}}}}} }}
{{IfMatch| string instrument | {{lc:{{{special|}}}}} }}
{{IfMatch| percussion instrument | {{lc:{{{special|}}}}} }}
|
*This is a musical [[item category is::instrument]] (or a tool to play, repair, or clean one).
}}{{
IfMatch| gives light | {{{special}}} | true=*This item is a [[has item property::gives light| ]][[light source]] or is used to start fires.}}{{
IfMatch| gives light | {{{special}}} | true=*This item is a [[has item property::gives light| ]][[light source]] 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.}}{{

Revision as of 15:35, 4 October 2025

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.