Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Setting 'chromatic' to automatically add the "Morph items" and "Color morph items" categories.) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
{{#if: {{{appcost|}}} | {{ |
{{#if: {{{appcost|}}} | {{ |
||
#ifeq: {{{appcost}}} | - | | {{!}} '''Appraised Cost:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{ |
#ifeq: {{{appcost}}} | - | | {{!}} '''Appraised Cost:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{ |
||
#arraymap:{{{appcost}}}|+|@@@@| [[appraised cost is::{{formatnum:@@@@|R}} Kronars| {{formatnum:@@@@}} Kronars]]| or }} }} |
#arraymap:{{{appcost}}}|+|@@@@| [[appraised cost is::{{formatnum:{{#replace:@@@@|,|}}|R}} Kronars | {{formatnum:{{#replace:@@@@|,|}}}} Kronars]]| or }} }} |
||
|{{#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::@@@@| ]]|}}}} |
||
|- |
|- |
||
| Line 32: | Line 32: | ||
IfMatch| pockets | {{{special}}} | true=*This {{{itype}}} has [[has item property::pockets]].{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}| }} }}{{ |
IfMatch| pockets | {{{special}}} | true=*This {{{itype}}} has [[has item property::pockets]].{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}| }} }}{{ |
||
IfMatch| chakrel | {{{special}}} | true=*This item has [[has item property::chakrel]] and can aid with [[:Category:Meditations|meditations]].}}{{ |
IfMatch| chakrel | {{{special}}} | true=*This item has [[has item property::chakrel]] and can aid with [[:Category:Meditations|meditations]].}}{{ |
||
IfMatch| chromatic | {{{special}}} | true=*This item is [[:Category:Chromatic enchantment items|chromatic]] and can change colors.[[has item property::chromatic| ]]{{cat|Chromatic enchantment items, Morph items, Color morph items}}}}{{ |
|||
IfMatch| sanowret crystal | {{{special}}} | true=*This item is a [[has item property::sanowret crystal| ]] [[sanowret crystal]] and can train [[Arcana]].}}{{ |
IfMatch| sanowret crystal | {{{special}}} | true=*This item is a [[has item property::sanowret crystal| ]] [[sanowret crystal]] and can train [[Arcana]].}}{{ |
||
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| ]]}}{{ |
||
| Line 68: | Line 69: | ||
IfMatch| wind weapon | {{{special}}} | true=*This item is a [[:Category:Wind Weapon|wind weapon]]. [[has item property::wind weapon| ]]{{cat|Wind Weapon}}}}{{ |
IfMatch| wind weapon | {{{special}}} | true=*This item is a [[:Category:Wind Weapon|wind weapon]]. [[has item property::wind weapon| ]]{{cat|Wind Weapon}}}}{{ |
||
IfMatch| weapon of return | {{{special}}} | true=*This item is a [[:Category:Weapon of Return|weapon of return]]. [[has item property::weapon of return| ]]{{cat|Weapon of Return}}}}{{ |
IfMatch| weapon of return | {{{special}}} | true=*This item is a [[:Category:Weapon of Return|weapon of return]]. [[has item property::weapon of return| ]]{{cat|Weapon of Return}}}}{{ |
||
IfMatch| permablessed | {{{special}}} | true=*This item is a [[:Category:Permablessed Weapon|permablessed]]. [[has item property::permablessed| ]]{{cat|Permablessed 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.[[has item property::pet| ]]}}{{ |
IfMatch| pet | {{{special}}} | true=*This item is part of the [[vanity pet]] system.[[has item property::pet| ]]}}{{ |
||
| Line 116: | Line 118: | ||
IfMatch| regenerator (wilderness) | {{{special}}} | true=*This is a [[Ranger]] [[Wilderness regeneration|Wilderness bonus regeneration]] item.[[has item property::regenerator (wilderness)| ]]}}{{ |
IfMatch| regenerator (wilderness) | {{{special}}} | true=*This is a [[Ranger]] [[Wilderness regeneration|Wilderness bonus regeneration]] item.[[has item property::regenerator (wilderness)| ]]}}{{ |
||
IfMatch| regenerator (voice pool) | {{{special}}} | true=*This is a [[Barbarian]] [[Voice Pool regeneration]] item.[[has item property::regenerator (voice pool)| ]]}}{{ |
IfMatch| regenerator (voice pool) | {{{special}}} | true=*This is a [[Barbarian]] [[Voice Pool regeneration]] item.[[has item property::regenerator (voice pool)| ]]}}{{ |
||
IfMatch| vampiric (fatigue) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (fatigue) item.[[has item property::vampiric (fatigue)| ]]{{cat|Vampiric Weapons}}}}{{ |
|||
IfMatch| vampiric (mana) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (mana) item.[[has item property::vampiric (mana)| ]]{{cat|Vampiric Weapons}}}}{{ |
|||
IfMatch| vampiric (spirit) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (spirit) item.[[has item property::vampiric (spirit)| ]]{{cat|Vampiric Weapons}}}}{{ |
|||
IfMatch| vampiric (vitality) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (vitality) item.[[has item property::vampiric (vitality)| ]]{{cat|Vampiric Weapons}}}}{{ |
|||
IfMatch| repair (weapon) | {{{special}}} | true=*This item repairs weapons.[[has item property::repair (weapon)| ]]}}{{ |
IfMatch| repair (weapon) | {{{special}}} | true=*This item repairs weapons.[[has item property::repair (weapon)| ]]}}{{ |
||
IfMatch| repair (armor) | {{{special}}} | true=*This item repairs armor.[[has item property::repair (armor)| ]]}}{{ |
IfMatch| repair (armor) | {{{special}}} | true=*This item repairs armor.[[has item property::repair (armor)| ]]}}{{ |
||
IfMatch| repair (tool) | {{{special}}} | true=*This item repairs tools.[[has item property::repair (tool)| ]]}}{{ |
IfMatch| repair (tool) | {{{special}}} | true=*This item repairs tools.[[has item property::repair (tool)| ]]}}{{ |
||
IfMatch| stun hider | {{{special}}} | true=*This item hides you when stunned.[[has item property::stun hider| ]]{{Cat|Stun hider}}}}{{ |
|||
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{ |
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{ |
||
IfMatch| warhorn | {{{special}}} | true=*This item is a [[warhorn]].[[has item property::warhorn| ]]{{Cat|Warhorn}}}}{{ |
IfMatch| warhorn | {{{special}}} | true=*This item is a [[warhorn]].[[has item property::warhorn| ]]{{Cat|Warhorn}}}}{{ |
||
Latest revision as of 20:54, 1 December 2025
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.