Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
No edit summary |
||
(17 intermediate revisions by one other 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.[[enchanted is::true| ]]}}{{ |
||
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 42: | Line 41: | ||
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| 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}} |
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 73: | Line 72: | ||
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 83: | Line 83: | ||
}} }} |
}} }} |
||
|- |
|- |
||
{{#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 20:48, 14 June 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.