Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 545505 by TEVESHSZAT (talk))
No edit summary
(28 intermediate revisions by the same user 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 30: Line 30:
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.}}{{
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| ]]}}{{
Line 83: Line 82:
}} }}
}} }}
|-
|-
{{#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: {{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<br/>{{#if:{{{grade|}}}|[[grade is::{{{grade}}}]] ([[grade is number::{{GearProcess|{{{grade}}}| grade}}]]/4)|''?''}} grade}}
{{#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 23:40, 28 March 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.