Template talk:ItemProperties

From elanthipedia
Jump to: navigation, search

Can we add a new template option for items that is separate from "hood"? I think "hood" should be reserved for items that hide features, and a new option should be added for concealing items. Lets call it "conceal"? This would prevent questions from people like me when they see the phrase "hides features OR items", not knowing which it does or both. --Juugcatm 22:54, 6 April 2011 (UTC)

"stacking" items are also "tack"

I added the "stacking" type to Item:Iron lockpick ring and it was getting both the tack and the stacking messaging. Looking at the code, this is because "stacking" matches "tack" as well. Now, I tried to fix (diff) this by doing a some logic where we first check for tack, and then for stacking like follows:

{{IfMatch | tack | {{{special}}} | true={{
  IfMatch | stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents.
                                     | false=*This item is designed to be worn by or used on a horse or mount.}}

This works, however, will my change break the way the "Edit with Form" enumerates the different Item Types? - padhg (talk) 22:08, 11 May 2016 (CDT)