Template talk:ShopItem
Custom Prices
The template doesn't allow you to enter in your own prices outside of Rupee amounts. For example, on the Cherry page, you must pay an amount of Rupees alongside an assortment of materials. Naturally, I tried to use Item Amount for this, but whenever I do that it comes out like:
"data-sort-value=IMAGE Γ 2 Ancient Screws | IMAGE Γ 2 Ancient Screws
"
Which...isn't the best. For now, I'll probably just need to use a manual table to host the shop data until custom prices can be implemented. It may be nice to have turn this into a module as well as this still uses template functions. β πππ π’ππππ¬π¨π§ππππ (πππ₯π€) 00:12, 8 April 2022 (UTC)
After looking at it a bit more, it looks like it breaks whenever {{Template:Term}} or {{Template:Plural}} is used, which Item Amount incorporates. β πππ π’ππππ¬π¨π§ππππ (πππ₯π€) 00:27, 8 April 2022 (UTC)
- I've created Template:Wares which supports item amounts (see example-2.) The template isn't fully finished yet but it does support those use cases. PhantomCaleb (talk) 19:15, 7 December 2022 (UTC)
- Update: I've finished working on Template:Wares for now. Please use that template instead of ShopItem going forward. π PhantomCaleb (talk) 14:16, 27 January 2023 (UTC)