Board Thread:Support Requests - Getting Technical/@comment-9605025-20150411171415

Hello, this pertains to content on the Transformers Legends Wiki. Links are provided at the end of the post.

I recently created a modified version of an existing template to accommodate a new card type in the game. Everything appears to be working properly except that there is a particular switch statement for categories that does not work. I have checked over various aspects of the page creation process and cannot figure out why this is happening.

The template has a field named "stage 4 rarity". It has been confirmed by the card page display and Special:Ask that this field is being set properly. The template should then be categorizing the page based on this field. However, as evidenced by the categories list at the bottom and the category page, this is not happening. There are 3 other switch statements for categories that are set using this same field and there are no issues with any of them. The issue appears to be only this particular statement:

-->{{#switch: {{{stage 4 rarity}} | Common = | Uncommon = | Rare = | Super Rare = | Ultra Rare = | Epic Rare = | Legendary = | Ultra Legendary = | #default = }} 