Template talk:ItemProperties: Difference between revisions
(Created page with '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 conc…') |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Would it be possible to show the imax property value for items with type=mail? The packages & envelopes can only hold 9 items maximum. The template currently only shows the dimensions and csize. --[[User:NYCDKID|NYCDKID]] ([[User talk:NYCDKID|talk]]) 15:19, 22 March 2024 (CDT) |
|||
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. --[[User:Juugcatm|Juugcatm]] 22:54, 6 April 2011 (UTC) |
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. --[[User:Juugcatm|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 ([https://elanthipedia.play.net/mediawiki/index.php?title=Template:ItemProperties&curid=9613&diff=442671&oldid=438535 diff]) this by doing a some logic where we first check for tack, and then for stacking like follows: |
|||
<pre><nowiki> |
|||
{{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.}} |
|||
}}</nowiki></pre> |
|||
This works, however, will my change break the way the "Edit with Form" enumerates the different Item Types? - [[User:RY4NPW|padhg]] ([[User talk:RY4NPW|talk]]) 22:08, 11 May 2016 (CDT) |
Latest revision as of 14:19, 22 March 2024
Would it be possible to show the imax property value for items with type=mail? The packages & envelopes can only hold 9 items maximum. The template currently only shows the dimensions and csize. --NYCDKID (talk) 15:19, 22 March 2024 (CDT)
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)