Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(55 intermediate revisions by 3 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]]|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| ]]|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:{{{impliedcontents|}}} | *This item contains {{#arraymap:{{{impliedcontents}}}|,|@@@@|[[Implied contents::@@@@]]|&#32;and&#32;}} 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| ]]}}{{
Line 22: Line 23:
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 44: Line 46:
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::horse| ]][[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::horse| ]][[has item property::tack| ]]}}{{
IfMatch| moneybelt | {{{special}}} | true=*This {{{itype}}} is a [[has item property::moneybelt]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} coins.}}{{
IfMatch| moneybelt | {{{special}}} | true=*This {{{itype}}} is a [[has item property::moneybelt]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} coins.}}{{
IfMatch| morph | {{{special}}} | true=*This item is a [[:Category:Morph items|Morph item]], which can change colors, patterns or worn locations. {{Cat|Morph items}}[[has item property::morph| ]]}}{{
IfMatch| mount | {{{special}}} | true=*This item is or summons a [[:Category:Mount|mount]].{{Cat|mount}}}}{{
IfMatch| mount | {{{special}}} | true=*This item is or summons a [[:Category:Mount|mount]].{{Cat|mount}}}}{{
IfMatch| outrage | {{{special}}} | true=*This {{{itype}}} generates [[has item property::outrage| ]][[Outrage#Social_Outrage|Social Outrage]] or [[Outrage#Social_Corruption|Social Corruption]].}}{{
IfMatch| outrage | {{{special}}} | true=*This {{{itype}}} generates [[has item property::outrage| ]][[Outrage#Social_Outrage|Social Outrage]] or [[Outrage#Social_Corruption|Social Corruption]].}}{{
Line 135: Line 138:
{{#if:{{{ttype|}}}|{{!}} '''Tool Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ttype|}}}|{{#switch:{{{ttype}}} | n | -= | This item is a {{#arraymap:{{{ttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[tool type is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} with:
{{#if:{{{ttype|}}}|{{!}} '''Tool Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ttype|}}}|{{#switch:{{{ttype}}} | n | -= | This item is a {{#arraymap:{{{ttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[tool type is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} with:
*{{#if:{{{tquality|}}}|[[quality is::{{{tquality}}}]] ([[quality is number::{{GearProcess|{{{tquality}}}|quality}}]]/12)|''?''}} quality
*{{#if:{{{tquality|}}}|[[quality is::{{{tquality}}}]] ([[quality is number::{{GearProcess|{{{tquality}}}|quality}}]]/12)|''?''}} quality
*{{#if:{{{tdurability|}}}|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)|''?''}} durability
*{{#if:{{{tdurability|}}}|{{#switch:{{lc:{{{tdurability}}}}}| -=This item has {{#if:{{{uses|}}} | {{{uses}}} | ''?''[[missing::Infobox entry on number of uses| ]]}} uses, not|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)}}|''?''}} durability
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}}
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{#switch:{{{ttype}}} | imbuement rod= *A maximum [[imbue]]ment value of {{#if:{{{maximbue|}}} | [[imbue cap is::{{{maximbue}}}]] | [[missing::Infobox entry on imbuement max|''?'']]}}.}}{{Cat|Crafting tools}}}}
|-
|-
{{#if:{{{insttype|}}}|{{!}} '''Instrument Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{insttype|}}}|{{#switch:{{{insttype}}} | n | -= | This {{#arraymap:{{{insttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[InstType is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} instrument is:
{{#if:{{{insttype|}}}|{{!}} '''Instrument Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{insttype|}}}|{{#switch:{{{insttype}}} | n | -= | This {{#arraymap:{{{insttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[InstType is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} instrument is:
Line 152: Line 155:
|-
|-
| '''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::@@@@]] | ,&#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'']] }} }}{{
#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/>}} }}{{#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::@@@@| ]]|\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]].
#if:{{{source3|}}} | <br />{{#switch: {{lc: {{{sourcetype3}}} }} | sold by=Sold by {{#arraymap: {{{source3}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost3|}}} | {{{cost3}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source3}}} | [[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'']] }} }} }}{{#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 | 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>

Latest revision as of 09:47, 4 January 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.