Difference between revisions of "Template:ItemProperties"

From elanthipedia
Jump to: navigation, search
m (updated for ATMO & TACK)
m (updating "gives light" line)
 
(104 intermediate revisions by 2 users not shown)
Line 31: Line 31:
 
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.}}{{
 +
IfMatch| enchanted | {{{special}}} | true=*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| ]]}}{{
 
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| horse | {{{special}}} | true=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}{{
 
IfMatch| tack | {{{special}}} | true=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}{{
 
 
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| 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| 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| mount | {{{special}}} | true=*This item is or summons a [[:Category:Mount|mount]].{{Cat|mount}}}}{{
 +
IfMatch| magical tattoo | {{{special}}} | true=*This item gives you a [[magical tattoo]] that casts [[item casts spell::{{{spellcast}}}]].{{Cat|magical tattoo}} [[has item property::magical tattoo| ]]}}{{
 
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.}}{{
Line 52: Line 54:
 
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]] 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.}}{{
 
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| ]]}}{{
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{
+
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{#If:{{IfMatch | hiding | {{{special}}}}}{{{hidetype|}}}|{{Cat|Item hiders}}[[has item property::hiding| ]]{{#if:{{{hidetype|}}}|{{#switch:{{lc:{{{hidetype}}}}} | n | -= | *This item hides {{#arraymap:{{{hidetype}}}|,|@@@@|[[hides item type::@@@@]]| and }}.}} | *This item hides [[missing::Infobox entry on items hidden|''unknown'']] objects and/or features.}}}}{{
IfMatch| hiding | {{{special}}} | true=*This item can hide the wearer's features or worn items.{{Cat|Item hiders}}[[has item property::hiding| ]]}}{{
 
 
IfMatch| writing | {{{special}}} | true=*This item can be written on or with.[[has item property::writing| ]]}}{{
 
IfMatch| writing | {{{special}}} | true=*This item can be written on or with.[[has item property::writing| ]]}}{{
 
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 81: Line 82:
 
IfMatch| warrior mage style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Warrior Mage]]s.[[has item property::Warrior Mage style| ]]}}
 
IfMatch| warrior mage style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::Warrior Mage]]s.[[has item property::Warrior Mage style| ]]}}
 
  }} }}
 
  }} }}
 +
|-
 +
{{#if: {{IfMatch| enchanted | {{{special}}} |true=1 }} |
 +
 +
{{#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}}
 +
 +
}}
 
  |-
 
  |-
 
{{#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}}

Latest revision as of 21:40, 11 October 2020

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.