Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
#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::@@@@ Kronars]]| or }} }} |
#arraymap:{{{appcost}}}|+|@@@@| [[appraised cost is::@@@@ Kronars]]| or }} }} |
||
|{{#if:{{IfMatch| housing | {{{special |
|{{#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|}}} | {{#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}}} }}{{ |
||
IfMatch| cambrinth | {{{special |
IfMatch| cambrinth | {{{special}}} }}{{ |
||
IfMatch| gaethzen | {{{special |
IfMatch| gaethzen | {{{special}}} }} | * This item is [[has item property::magic]]al. }}{{ |
||
IfMatch| cambrinth | {{{special |
IfMatch| cambrinth | {{{special}}} | true=*This item has [[cambrinth]] in it and will hold up to {{#if:{{{maxcharge|}}} | [[holds mana::{{{maxcharge}}}]] | [[missing::Infobox entry on mana capacity|''?'']]}} mana.[[has item property::uses material::cambrinth| ]]}}{{ |
||
IfMatch| gaethzen | {{{special |
IfMatch| gaethzen | {{{special}}} | true=*This item is made from [[has item property::uses material::gaethzen| ]][[has item property::gives light| ]][[gaethzen]] and will hold up to {{#if:{{{maxcharge|}}} | [[holds mana::{{{maxcharge}}}]] | [[missing::Infobox entry on mana capacity|''?'']]}} mana.}}{{ |
||
#if:{{{spellcast|}}}{{ |
#if:{{{spellcast|}}}{{ |
||
IfMatch| casts spell | {{{special |
IfMatch| casts spell | {{{special}}} }} | *This holds [[has item property::casts spell| ]][[has item property::magic| ]]{{ |
||
#if:{{{spellcast|}}} | the [[item casts spell::{{{spellcast}}}]][[has item property::magic| ]] | an unknown[[missing::Infobox entry on the spell cast| ]]}} spell.}}{{ |
#if:{{{spellcast|}}} | the [[item casts spell::{{{spellcast}}}]][[has item property::magic| ]] | an unknown[[missing::Infobox entry on the spell cast| ]]}} spell.}}{{ |
||
#ifeq:{{{itype}}} | item | {{ |
#ifeq:{{{itype}}} | item | {{ |
||
IfMatch| clothing | {{{special |
IfMatch| clothing | {{{special}}} | true=[[has item property::clothing| ]]}}{{ |
||
IfMatch| jewelry | {{{special |
IfMatch| jewelry | {{{special}}} | true=[[has item property::jewelry| ]]}} }}{{ |
||
IfMatch| container | {{{special |
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{ |
||
IfMatch| lock | {{{special |
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{ |
||
#If:{{IfMatch| clothing | {{{special |
#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::@@@@]] |  or  }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{ |
||
IfMatch| food | {{{special |
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{ |
||
IfMatch| drink | {{{special |
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{ |
||
IfMatch| forging | {{{special |
IfMatch| forging | {{{special}}} | true=*This item is used in [[has item property::forging]] or is projected to be part of the [[forging craft|forging system]].}}{{ |
||
IfMatch| engineering | {{{special |
IfMatch| engineering | {{{special}}} | true=*This item is used in [[has item property::engineering]] or is projected to be part of the [[engineering craft|engineering system]].}}{{ |
||
IfMatch| outfitting | {{{special |
IfMatch| outfitting | {{{special}}} | true=*This item is used in [[has item property::outfitting]] or is projected to be part of the [[outfitting craft|outfitting system]].}}{{ |
||
IfMatch| alchemy | {{{special |
IfMatch| alchemy | {{{special}}} | true=*This item is used in [[has item property::alchemy]] or is projected to be part of the [[Alchemy craft|alchemy system]].}}{{ |
||
IfMatch| enchanting | {{{special |
IfMatch| enchanting | {{{special}}} | true=*This item is used in [[has item property::enchanting]] or is projected to be part of the [[enchanting craft|enchanting system]].}}{{ |
||
IfMatch| tack | {{{special |
IfMatch| tack | {{{special}}} | true=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}{{ |
||
IfMatch| creation | {{{special |
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 |
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.}}{{ |
||
#if:{{ |
#if:{{ |
||
IfMatch| instrument | {{{special}}} |
IfMatch| instrument | {{{special}}} }}{{ |
||
IfMatch| wind instrument | {{{special}}} |
IfMatch| wind instrument | {{{special}}} }}{{ |
||
IfMatch| string instrument | {{{special}}} |
IfMatch| string instrument | {{{special}}} }}{{ |
||
IfMatch| percussion instrument | {{{special}}} |
IfMatch| percussion instrument | {{{special}}} }}| |
||
*This is a [[has item property::instrument]] or a tool to play one.}}{{ |
*This is a [[has item property::instrument]] or a tool to play one.}}{{ |
||
IfMatch| gives light | {{{special |
IfMatch| gives light | {{{special}}} | true=*This item [[has item property::gives light]].}}{{ |
||
IfMatch| smoking | {{{special |
IfMatch| smoking | {{{special}}} | true=*This is a [[has item property::smoking]] instrument or type of tobacco.}}{{ |
||
IfMatch| housing | {{{special |
IfMatch| housing | {{{special}}} | true=*This item is designed to be used in or on [[Homes|player houses]].[[has item property::housing| ]]}}{{ |
||
IfMatch| hood | {{{special |
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{ |
||
IfMatch| hiding | {{{special |
IfMatch| hiding | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hiding| ]]}}{{ |
||
IfMatch| writing | {{{special |
IfMatch| writing | {{{special}}} | true=*This item can be written on or with.[[has item property::writing| ]]}}{{ |
||
IfMatch| dwarf style | {{{special |
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| elf style | {{{special |
IfMatch| elf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::elf|Elves]].[[has item property::elf style| ]]}}{{ |
||
IfMatch| elothean style | {{{special |
IfMatch| elothean style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::elothean|Elotheans]].[[has item property::elothean style| ]]}}{{ |
||
IfMatch| gnome style | {{{special |
IfMatch| gnome style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::gnome|Gnomes]].[[has item property::gnome style| ]]}}{{ |
||
IfMatch| gortog style | {{{special |
IfMatch| gortog style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::gor'tog|Gor'Togs]].[[has item property::gortog style| ]]}}{{ |
||
IfMatch| halfling style | {{{special |
IfMatch| halfling style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::halfling|Halflings]].[[has item property::halfling style| ]]}}{{ |
||
IfMatch| human style | {{{special |
IfMatch| human style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::human|Humans]].[[has item property::human style| ]]}}{{ |
||
IfMatch| kaldar style | {{{special |
IfMatch| kaldar style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::kaldar|Kaldar]].[[has item property::kaldar style| ]]}}{{ |
||
IfMatch| prydaen style | {{{special |
IfMatch| prydaen style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::prydaen|Prydaen]].[[has item property::prydaen style| ]]}}{{ |
||
IfMatch| rakash style | {{{special |
IfMatch| rakash style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::rakash|Rakash]].[[has item property::rakash style| ]]}}{{ |
||
IfMatch| skra mur style | {{{special |
IfMatch| skra mur style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::s'kra mur|S'Kra Mur]].[[has item property::skra mur style| ]]}}{{ |
||
IfMatch| barbarian style | {{{special |
IfMatch| barbarian style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::barbarian|Barbarians]].[[has item property::barbarian style| ]]}}{{ |
||
IfMatch| bard style | {{{special |
IfMatch| bard style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::bard|Bards]].[[has item property::bard style| ]]}}{{ |
||
IfMatch| cleric style | {{{special |
IfMatch| cleric style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::cleric|Clerics]].[[has item property::cleric style| ]]}}{{ |
||
IfMatch| empath style | {{{special |
IfMatch| empath style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::empath|Empaths]].[[has item property::empath style| ]]}}{{ |
||
IfMatch| moon mage style | {{{special |
IfMatch| moon mage style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::moon mage|Moon Mages]].[[has item property::moon mage style| ]]}}{{ |
||
IfMatch| necromancer style | {{{special |
IfMatch| necromancer style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::necromancer|Necromancers]].[[has item property::necromancer style| ]]}}{{ |
||
IfMatch| paladin style | {{{special |
IfMatch| paladin style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::paladin|Paladins]].[[has item property::paladin style| ]]}}{{ |
||
IfMatch| ranger style | {{{special |
IfMatch| ranger style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::ranger|Rangers]].[[has item property::ranger style| ]]}}{{ |
||
IfMatch| thief style | {{{special |
IfMatch| thief style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::thief|Thieves]].[[has item property::thief style| ]]}}{{ |
||
IfMatch| trader style | {{{special |
IfMatch| trader style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::trader|Traders]].[[has item property::trader style| ]]}}{{ |
||
IfMatch| warrior mage style | {{{special |
IfMatch| warrior mage style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::warrior mage|Warrior Mages]].[[has item property::warrior mage style| ]]}}{{ |
||
IfMatch| trainer | {{{special |
IfMatch| trainer | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{ |
||
IfMatch| toy | {{{special |
IfMatch| toy | {{{special}}} | true=*This item is a toy.[[has item property::toy| ]]}} |
||
{{ |
{{ |
||
IfMatch| verby | {{{special |
IfMatch| verby | {{{special}}} | true=*This {{{itype}}} has more than normal or unusual verbs.[[has item property::verby| ]]}} |
||
}} }} |
}} }} |
||
|- |
|- |
||
{{#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}} |
||
|- |
|- |
||
{{#if: {{IfMatch| container | {{{special}}} |
{{#if: {{IfMatch| container | {{{special}}} |true=1 }} | {{#switch: {{{ilsize|}}} |-=| |
||
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height x {{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} weight}}}} |
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height x {{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} weight}}}} |
||
|- |
|- |
Revision as of 19:55, 14 July 2014
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.