Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(39 intermediate revisions by 2 users not shown)
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]][[has item property::pockets| ]]|crafting tool=a [[item category is::crafting tool]]|housing=a designed to be used in or on [[item category is::housing| ]][[Homes|player houses]] ({{#if:{{{htype|}}} | [[housing item type::{{{htype}}}]] {{#switch:{{{htype}}}|Armor Stand|General Storage|Large Item|Wall|Weapon Rack=- holds {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items| }} | [[missing::Infobox entry on housing item type|''?'']]}})|instrument=an [[item category is::instrument]]{{Cat|Instruments}}|jewelry=[[item category is::jewelry]]|other=[[item category is::other|an item]]|''?''}}.|{{#switch:{{{itype}}}|item=[[missing::Item Type| ]]|}} }}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|common=[[rarity is::common| ]][[rare source::false| ]][[rare item::false| ]]|raffle=[[rarity is::raffle| ]][[rare source::true| ]][[rare item::true| ]]|treasure map=[[rarity is::treasure map| ]][[source is::treasure map| ]][[rare source::true| ]][[rare item::true| ]]{{Cat|Treasure Map Items}}|festival=[[rarity is::festival| ]][[rare source::true| ]][[rare item::true| ]]|gift=[[rarity is::gift| ]][[rare source::true| ]][[rare item::true| ]]|incidental=[[rarity is::incidental| ]][[rare source::true| ]][[rare item::true| ]]|end loot=[[rarity is::end loot| ]][[rare source::true| ]][[rare item::true| ]]|auction=[[rarity is::auction| ]][[rare source::true| ]][[rare item::true| ]]{{Cat|Auction-Tier Items}}|}} }}{{#switch:{{lc:{{{verby}}}}}|true|yes=*This item has more than normal or unusual verbs.[[verby is::true| ]]}}{{#switch:{{lc:{{{pcrystal}}}}}|true|yes=*This item can be upgraded with {{ilink|i|potency crystal}}s.[[pcrystal is::true| ]]}}{{#switch:{{lc:{{{istone}}}}}|true|yes=*This item can have its power restored with {{ilink|i|infuser stone}}s.[[istone 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| ]]{{Cat|Atmospheric items}}}}{{#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]][[has item property::pockets| ]]|crafting tool=a [[item category is::crafting tool]]|housing=a designed to be used in or on [[item category is::housing| ]][[Homes|player houses]] ({{#if:{{{htype|}}} | [[housing item type::{{{htype}}}]] {{#switch:{{{htype}}}|Armor Stand|General Storage|Large Item|Wall|Weapon Rack=- holds {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items| }} | [[missing::Infobox entry on housing item type|''?'']]}})|instrument=an [[item category is::instrument]]{{Cat|Instruments}}|jewelry=[[item category is::jewelry]]|other=[[item category is::other|an item]]|''?''}}.|{{#switch:{{{itype}}}|item=[[missing::Item Type| ]]|}} }}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|common=[[rarity is::common| ]][[rare source::false| ]][[rare item::false| ]]|raffle=[[rarity is::raffle| ]][[rare source::true| ]][[rare item::true| ]]|treasure map=[[rarity is::treasure map| ]][[source is::treasure map| ]][[rare source::true| ]][[rare item::true| ]]{{Cat|Treasure Map Items}}|festival=[[rarity is::festival| ]][[rare source::true| ]][[rare item::true| ]]|gift=[[rarity is::gift| ]][[rare source::true| ]][[rare item::true| ]]|invasion=[[rarity is::invasion| ]][[rare source::true| ]][[rare item::true| ]]|incidental=[[rarity is::incidental| ]][[rare source::true| ]][[rare item::true| ]]|end loot=[[rarity is::end loot| ]][[rare source::true| ]][[rare item::true| ]]|auction=[[rarity is::auction| ]][[rare source::true| ]][[rare item::true| ]]{{Cat|Auction-Tier Items}}|}} }}{{#switch:{{lc:{{{verby}}}}}|true|yes=*This item has more than normal or unusual verbs.[[verby is::true| ]]}}{{#switch:{{lc:{{{pcrystal}}}}}|true|yes=*This item can be upgraded with {{ilink|i|potency crystal}}s.[[pcrystal is::true| ]]}}{{#switch:{{lc:{{{istone}}}}}|true|yes=*This item can have its power restored with {{ilink|i|infuser stone}}s.[[istone 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| ]]{{Cat|Atmospheric items}}}}{{#if: {{{ptype|}}}{{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{#If:{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
IfMatch| cambrinth | {{{special}}} }}{{
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: {{{abilitycustomized|}}}
| * This item customizes the appearance of the [[item customizes ability::{{{abilitycustomized}}}]] spell/ability.{{cat|Ability customizers}}
|
}}{{
#if:{{{impliedcontents|}}} | *This item contains {{#arraymap:{{{impliedcontents}}}|,|@@@@|[[Implied contents::@@@@]]|&#32;and&#32;}} as non-interactable objects. }}{{
#if:{{{impliedcontents|}}} | *This item contains {{#arraymap:{{{impliedcontents}}}|,|@@@@|[[Implied contents::@@@@]]|&#32;and&#32;}} as non-interactable objects. }}{{
#ifeq:{{{itype}}} | item | {{
#ifeq:{{{itype}}} | item | {{
Line 23: Line 27:
IfMatch| jewelry | {{{special}}} | true=[[item category is::jewelry| ]]}} }}{{
IfMatch| jewelry | {{{special}}} | true=[[item category is::jewelry| ]]}} }}{{
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{
IfMatch| mail | {{{special}}} | true=*This item is used in the [[has item property::mail]] system.}}{{
IfMatch| autolooter | {{{special}}} | true=*This {{{itype}}} is an [[has item property::autolooter| ]] [[Autoloot command|autoloot container]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items.}}{{
IfMatch| autolooter | {{{special}}} | true=*This {{{itype}}} is an [[has item property::autolooter| ]] [[Autoloot command|autoloot container]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items.}}{{
IfMatch| spacious | {{{special}}} | true=*This {{{itype}}} is a [[has item property::spacious]] container that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items, in spite of how large or small the container may appear outwardly.}}{{#if:{{{ptype|}}}| {{#switch:{{{ptype}}}|clothing|jewelry|other={{
IfMatch| spacious | {{{special}}} | true=*This {{{itype}}} is a [[has item property::spacious]] container that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items, in spite of how large or small the container may appear outwardly.}}{{#if:{{{ptype|}}}| {{#switch:{{{ptype}}}|clothing|jewelry|other={{
Line 85: Line 90:
IfMatch| glamour | {{{special}}} | true=*This item is a Glamour enchantment.[[has item property::glamour| ]]}}{{
IfMatch| glamour | {{{special}}} | true=*This item is a Glamour enchantment.[[has item property::glamour| ]]}}{{
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| spell customizer | {{{special}}} | true=*This item is a {{cat|Spell customizer}} [[has item property::spell customizer| ]][[:Category:Spell customizer|spell customizer]].}}{{
IfMatch| recall | {{{special}}} | true=*This item has a unique [[recall]]. [[has item property::recall| ]] {{Cat|Items with Unique Recalls}} }}{{
IfMatch| regenerator (concentration) | {{{special}}} | true=*This is a [[concentration regeneration]] item.[[has item property::regenerator (concentration)| ]]}}{{
IfMatch| regenerator (concentration) | {{{special}}} | true=*This is a [[concentration regeneration]] item.[[has item property::regenerator (concentration)| ]]}}{{
IfMatch| regenerator (confidence) | {{{special}}} | true=*This is a [[Thief]] [[confidence regeneration]] item.[[has item property::regenerator (confidence)| ]]}}{{
IfMatch| regenerator (confidence) | {{{special}}} | true=*This is a [[Thief]] [[confidence regeneration]] item.[[has item property::regenerator (confidence)| ]]}}{{
Line 103: Line 110:
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{
IfMatch| weapon frog | {{{special}}} | true=*This item can display up to two weapons that are {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | waist|belt =one-handed (but not polearm)| shoulder=any melee (but not polearm) |back=of any size | ???}} }}.[[has item property::weapon frog| ]]{{cat|Weapon frogs}}}}{{
IfMatch| weapon frog | {{{special}}} | true=*This item can display up to two weapons that are {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | waist|belt =one-handed (but not polearm)| shoulder=any melee (but not polearm) |back=of any size | ???}} }}.[[has item property::weapon frog| ]]{{cat|Weapon frogs}}}}{{
IfMatch| whisper charm | {{{special}}} | true=*This item is a [[has item property::whisper charm]].{{cat|Whisper charms}}}}{{
IfMatch| pilgrim's badge | {{{special}}} | true=* This is a [[pilgrim's badge]].[[has item property::pilgrim's badge| ]]}}{{#switch:{{lc:{{{feature-change}}}}}|true|yes=*This item can permanently change your {{#if:{{{affects_feature|}}}|[[Affects Feature::{{{affects_feature}}}]]|''?''[[missing::Infobox entry on feature affected by item| ]]}} to {{#if:{{{feature_decoration|}}}|[[Feature Decoration::{{{feature_decoration}}}]]|''?''[[missing::Infobox entry on feature result| ]]}}.[[Changes Feature::true| ]]{{Cat|Permanent Feature Changers}}}}{{#switch:{{lc:{{{generator}}}}}|true|yes=*This item can generate {{#if:{{{gentype|}}} | {{#arraymap: {{{gentype}}} | , | @@@@ | [[item generates category::@@@@]] | &#32;and&#32; }} {{#if:{{{genname|}}} | ({{sloot|{{#switch:{{lc:{{{gentype}}}}}|ammo=w|i}}|{{{genname}}}}})[[item generates specific::{{{genname}}}|]]| | ]]}} | an unknown item[[missing::Infobox entry on the item generation type| ]]}}.[[generator is::true| ]]{{Cat|Item generators}}}}{{
IfMatch| pilgrim's badge | {{{special}}} | true=* This is a [[pilgrim's badge]].[[has item property::pilgrim's badge| ]]}}{{#switch:{{lc:{{{feature-change}}}}}|true|yes=*This item can permanently change your {{#if:{{{affects_feature|}}}|[[Affects Feature::{{{affects_feature}}}]]|''?''[[missing::Infobox entry on feature affected by item| ]]}} to {{#if:{{{feature_decoration|}}}|[[Feature Decoration::{{{feature_decoration}}}]]|''?''[[missing::Infobox entry on feature result| ]]}}.[[Changes Feature::true| ]]{{Cat|Permanent Feature Changers}}}}{{#switch:{{lc:{{{generator}}}}}|true|yes=*This item can generate {{#if:{{{gentype|}}} | {{#arraymap: {{{gentype}}} | , | @@@@ | [[item generates category::@@@@]] | &#32;and&#32; }} {{#if:{{{genname|}}} | ({{sloot|{{#switch:{{lc:{{{gentype}}}}}|ammo=w|i}}|{{{genname}}}}})[[item generates specific::{{{genname}}}|]]| | ]]}} | an unknown item[[missing::Infobox entry on the item generation type| ]]}}.[[generator is::true| ]]{{Cat|Item generators}}}}{{
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| ]]}}{{
Line 153: Line 161:
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height ({{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones)}}}}}}
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height ({{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones)}}}}}}
|-
|-
| '''Sources:''' ||{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch: {{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']] }} | [[missing::Infobox entry on source|''Unknown'']] }}{{
| '''Sources:''' ||{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch: {{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | [[source is::@@@@| ]] [[page source is::@@@@]] | ,&#32; }} for {{#if:{{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']] }} | [[missing::Infobox entry on source|''Unknown'']] }}{{
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{{cost2}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source2}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=This can be found from a [[source is::treasure map|Treasure Map]] or {{ilink|i|glass egg framed with delicate strands of gold|Glass Egg}}<br/>}} }}
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[source is::@@@@| ]] [[page source is::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{{cost2}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source2}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=This can be found from a [[source is::treasure map|Treasure Map]] or {{ilink|i|glass egg framed with delicate strands of gold|Glass Egg}}<br/>}} }}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=subject|order=desc|intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=none|order=desc}}|,|@@@@|[[source is::@@@@| ]] [[page source is::{{#replace:{{#replace:{{#replace:@@@@|<span class="smw-format list-format ">|}}|</span>|}}|<span class="smw-row"><span class="smw-field"><span class="smw-value">|}}| ]] |\s}}{{#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]].
{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=subject|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>

Latest revision as of 17:04, 29 November 2024

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.