Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
(24 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::@@@@| ]]|}}}}
|-
|-
{{#if: {{{special|}}}{{{wearloc|}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{!}} '''Special Properties:'''
{{#if: {{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{!}} '''Special Properties:'''
{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#If:{{
{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#If:{{
IfMatch| magic | {{{special}}} }}{{
IfMatch| magic | {{{special}}} }}{{
Line 22: Line 22:
IfMatch| jewelry | {{{special}}} | true=[[has item property::jewelry| ]]}} }}{{
IfMatch| jewelry | {{{special}}} | true=[[has item property::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| 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.}}{{
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{
#If:{{IfMatch| clothing | {{{special}}}}}{{IfMatch| jewelry | {{{special}}}}}{{IfMatch| container | {{{special}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::Infobox is missing specific hair location| ]]|hair (tied)=*This item is tied to the hair[[worn in slot::hair (tied)| ]].|hair (placed)=*This item is placed in the hair[[worn in slot::hair (placed)| ]].|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).[[missing::Infobox is missing specific shirt location| ]]|shirt-=* This item is worn in the shirt slot but cannot be worn with armor.[[worn in slot::shirt (without armor)| ]]|shirt+=* This item is worn in the shirt slot and can be worn with armor.[[worn in slot::shirt (with armor)| ]]| generic=*This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | [[worn in slot::@@@@]] | &#32;or&#32; }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{
#If:{{IfMatch| clothing | {{{special}}}}}{{IfMatch| jewelry | {{{special}}}}}{{IfMatch| container | {{{special}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n= | -=[[worn in slot::-| ]] | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::Infobox is missing specific hair location| ]]|hair (tied)=*This item is tied to the hair[[worn in slot::hair (tied)| ]].|hair (placed)=*This item is placed in the hair[[worn in slot::hair (placed)| ]].|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).[[missing::Infobox is missing specific shirt location| ]]|shirt-=* This item is worn in the shirt slot but cannot be worn with armor.[[worn in slot::shirt (without armor)| ]]|shirt+=* This item is worn in the shirt slot and can be worn with armor.[[worn in slot::shirt (with armor)| ]]| generic=*This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | [[worn in slot::@@@@]] | &#32;or&#32; }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
Line 30: Line 32:
IfMatch| engineering | {{{special}}} | true=*This item is used in [[has item property::engineering]] or is projected to be part of the [[Engineering_skill|engineering]] crafting system.}}{{
IfMatch| engineering | {{{special}}} | true=*This item is used in [[has item property::engineering]] or is projected to be part of the [[Engineering_skill|engineering]] crafting system.}}{{
IfMatch| outfitting | {{{special}}} | true=*This item is used in [[has item property::outfitting]] or is projected to be part of the [[Outfitting_skill|outfitting]] crafting system.}}{{
IfMatch| outfitting | {{{special}}} | true=*This item is used in [[has item property::outfitting]] or is projected to be part of the [[Outfitting_skill|outfitting]] crafting system.}}{{
IfMatch| alchemy | {{{special}}} | true=*This item is used in [[has item property::alchemy]] or is projected to be part of the [[Alchemy_skill|alchemy]] crafting system.}}
IfMatch| alchemy | {{{special}}} | true=*This item is used in [[has item property::alchemy]] or is projected to be part of the [[Alchemy_skill|alchemy]] crafting system.}}{{#switch:{{lc:{{{enchanted}}}}}|true|yes=*This item is enchanted through the [[Enchanting_skill|enchanting]] crafting system.[[enchanted is::true| ]]}}{{
{{#switch:{{lc:{{{enchanted}}}}}|true|yes=This item is enchanted through the [[Enchanting_skill|enchanting]] crafting system.}}
{{
IfMatch| enchanting | {{{special}}} | true=*This item is used in [[has item property::enchanting]] or is projected to be part of the [[Enchanting_skill|enchanting]] crafting system.}}{{
IfMatch| enchanting | {{{special}}} | true=*This item is used in [[has item property::enchanting]] or is projected to be part of the [[Enchanting_skill|enchanting]] crafting system.}}{{
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| ]]}}{{
Line 42: Line 42:
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| mirror weapon | {{{special}}} | true=*This item is a [[T'Kashi mirror weapon]]. [[has item property::mirror weapon| ]]}}{{
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| pet | {{{special}}} | true=*This item is part of the [[vanity pet]] system.[[has item property::pet| ]]}}{{
IfMatch| tie | {{{special}}} | true=*This {{{itype}}} is a {{Cat|Tie items}} [[:Category:Tie_items|tie item]].}}{{
IfMatch| tie | {{{special}}} | true=*This {{{itype}}} is a [[:Category:Tie_items|tie item]]. {{Cat|Tie items}}[[has item property::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| ]]}}{{
IfMatch| trainer | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{
IfMatch| trainer | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{
Line 74: Line 75:
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| ]]}}{{
IfMatch| cleric style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Cleric]]s.[[has item property::Cleric style| ]]}}{{
IfMatch| cleric style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Cleric]]s.[[has item property::Cleric style| ]]}}{{
IfMatch| commoner style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Commoner]]s.[[has item property::Commoner style| ]]}}{{
IfMatch| empath style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Empath]]s.[[has item property::Empath style| ]]}}{{
IfMatch| empath style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Empath]]s.[[has item property::Empath style| ]]}}{{
IfMatch| moon mage style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Moon Mage]]s.[[has item property::Moon Mage style| ]]}}{{
IfMatch| moon mage style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Moon Mage]]s.[[has item property::Moon Mage style| ]]}}{{
Line 84: Line 86:
}} }}
}} }}
|-
|-
{{#switch:{{lc:{{{enchanted}}}}}|true|yes={{#switch: {{{potency}}} | {{!}} '''Enchantment:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{potency|}}}|[[potency is::{{{potency}}}]] ([[potency is number::{{GearProcess|{{{potency}}}|potency}}]]/10)|''?''}} potency<br/>{{#if:{{{complexity|}}}|[[complexity is::{{{complexity}}}]] ([[complexity is number::{{GearProcess|{{{complexity}}}|complexity}}]]/10)|''?''}} complexity<br/>{{#if:{{{precision|}}}|[[precision is::{{{precision}}}]] ([[precision is number::{{GearProcess|{{{precision}}}| precision}}]]/11)|''?''}} precision<br/>{{#if:{{{grade|}}}|[[grade is::{{{grade}}}]] ([[grade is number::{{GearProcess|{{{grade}}}| grade}}]]/4)|''?''}} grade}}<br/>{{#if:{{{ebonus|}}}|Bonus to [[ebonus is::{{{ebonus}}}]]|''?''}}}}
{{#switch:{{lc:{{{enchanted}}}}}|true|yes={{#switch: {{{potency}}} | {{!}} '''Enchantment:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{potency|}}}|[[potency is::{{{potency}}}]] ([[potency is number::{{GearProcess|{{{potency}}}|potency}}]]/10)|''?''}} potency<br/>{{#if:{{{complexity|}}}|[[complexity is::{{{complexity}}}]] ([[complexity is number::{{GearProcess|{{{complexity}}}|complexity}}]]/10)|''?''}} complexity<br/>{{#if:{{{precision|}}}|[[precision is::{{{precision}}}]] ([[precision is number::{{GearProcess|{{{precision}}}| precision}}]]/11)|''?''}} precision<br/>{{#if:{{{grade|}}}|[[grade is::{{{grade}}}]] ([[grade is number::{{GearProcess|{{{grade}}}| grade}}]]/4)|''?''}} grade}}<br/>{{#if:{{{ebonus|}}}|Bonus to [[ebonus is::{{{ebonus}}}]]|Bonus to ''?''}}}}
|-
|-
{{#if:{{{flare|}}}|{{!}} '''Flare:''' {{!}}{{!}} {{#if:{{{flare|}}}|[[flare is::{{{flare}}}]] damage}} {{#if:{{{fdecoration|}}}|([[fdecoration is::{{{fdecoration}}}]])}}}}
{{#if:{{{flare|}}}|{{!}} '''Flare:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{flare|}}}|[[flare is::{{{flare}}}]] damage}} {{#if:{{{fdecoration|}}}|([[fdecoration is::{{{fdecoration}}}]])}}}}
|-
{{#if:{{{glamour|}}}|{{!}} '''Glamour:''' {{!}}{{!}} {{#if:{{{glamour|}}}|[[glamour is::{{{glamour}}}]]}} {{#if:{{{gdecoration|}}}|([[gdecoration is::{{{gdecoration}}}]])}}}}
|-
|-
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}

Revision as of 15:59, 8 November 2021

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.