Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
m (removing the TACK line, will adapt the HORSE line to work instead)
(10 intermediate revisions by 5 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| 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| tack | {{{special}}} | true={{
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| ]] | false=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}}}{{
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.}}{{
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 49: 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| ]]}}{{
Line 65: Line 67:
IfMatch| prydaen style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::prydaen|Prydaen]].[[has item property::Prydaen style| ]]}}{{
IfMatch| prydaen style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::prydaen|Prydaen]].[[has item property::Prydaen style| ]]}}{{
IfMatch| rakash style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::rakash|Rakash]].[[has item property::Rakash style| ]]}}{{
IfMatch| rakash style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::rakash|Rakash]].[[has item property::Rakash style| ]]}}{{
IfMatch| skra mur style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::s'kra mur|S'Kra Mur]].[[has item property::S'Kra Mur style| ]]}}{{
IfMatch| skra mur style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::s'kra mur|S'Kra Mur]].[[has item property::S'kra Mur style| ]]}}{{
IfMatch| barbarian style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Barbarian]]s.[[has item property::Barbarian style| ]]}}{{
IfMatch| barbarian style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Barbarian]]s.[[has item property::Barbarian style| ]]}}{{
IfMatch| bard style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Bard]]s.[[has item property::Bard style| ]]}}{{
IfMatch| bard style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Bard]]s.[[has item property::Bard style| ]]}}{{
Line 89: Line 91:
#if:{{{source4|}}} | <br />{{#switch: {{lc: {{{sourcetype4}}} }} | sold by=Sold by {{#arraymap: {{{source4}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{{cost4}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}{{
#if:{{{source4|}}} | <br />{{#switch: {{lc: {{{sourcetype4}}} }} | sold by=Sold by {{#arraymap: {{{source4}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{{cost4}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}{{
#if:{{{source5|}}} | <br />{{#switch: {{lc: {{{sourcetype5}}} }} | sold by=Sold by {{#arraymap: {{{source5}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost5|}}} | {{{cost5}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source5}}} | [[missing::Infobox entry on source|''Unknown'']] }} }} }}{{
#if:{{{source5|}}} | <br />{{#switch: {{lc: {{{sourcetype5}}} }} | sold by=Sold by {{#arraymap: {{{source5}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost5|}}} | {{{cost5}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source5}}} | [[missing::Infobox entry on source|''Unknown'']] }} }} }}{{
#If:{{{rare|}}}|[[rare source::true| ]][[rare item::{{{rare}}}| ]]|{{#if:{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|default=|sep=+|intro=+|link=none}}|Template:RareItemProcess|+|}}|[[rare source::true| ]][[rare item::false| ]]|[[rare source::true| ]][[rare item::true| ]]}}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#ask:[[source for::{{FULLPAGENAME}}]] | format=list | default= | limit=15 | order=desc | intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{{sources|}}}|%%%%|@@@@|[[source is::@@@@| ]]|}}{{#if:{{{rev|}}}|[[ireview::{{{rev}}}| ]]|[[ireview::0| ]]}}</includeonly><noinclude>{{Essential}}This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]].
#If:{{{rare|}}}|[[rare source::true| ]][[rare item::{{{rare}}}| ]]|{{#if:{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|default=|sep=+|intro=+|link=none}}|Template:RareItemProcess|+|}}|[[rare source::true| ]][[rare item::false| ]]|[[rare source::true| ]][[rare item::true| ]]}}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#ask:[[source for::{{FULLPAGENAME}}]] | format=list | default= | limit=15 | order=desc | intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{{sources|}}}|%%%%|@@@@|[[source is::@@@@| ]]|}}{{#if:{{{rev|}}}|[[ItemReview::{{{rev}}}| ]]|[[ItemReview::0| ]]}}</includeonly><noinclude>{{Essential}}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. {{cat | Templates,Templates for Templates}} </noinclude>
This is because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude>

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.