Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(causes too many problems, though I wished it worked)
(updating magic handling)
Line 15: Line 15:
IfMatch| gaethzen | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | 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.}}{{
IfMatch| gaethzen | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | 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}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | *This holds [[has item property::casts spell| ]]{{
IfMatch| casts spell | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | *This holds [[has item property::casts spell| ]][[has item property::magic| ]]{{
#if:{{{spellcast|}}} | the [[item casts spell::{{{spellcast}}}]] | 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}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=[[has item property::clothing| ]]}}{{
IfMatch| clothing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=[[has item property::clothing| ]]}}{{

Revision as of 01:38, 18 March 2013

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.