Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(Auto-add category for Tag + Hairstyle - as hairstyles do not have filters, these are difficult to sort by in the UI, and have been shown to be of interest in the community) |
(clause to prevent Hairstyle Hairstyle category) |
||
Line 235: | Line 235: | ||
{{!}}- | {{!}}- | ||
{{!}} id="infobox-label" {{!}} Tags: | {{!}} id="infobox-label" {{!}} Tags: | ||
{{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@|{{{type|}}}|category=yes}} {{#ifeq:{{{category|}}}|Hairstyle|[[Category:@@@@ Hairstyle]]|}} }} {{#if:{{{eventTokens|}}}|{{tag|starpath|{{#switch:{{{from|}}} | {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@|{{{type|}}}|category=yes}} {{#ifeq:{{{category|}}}|Hairstyle| {{#ifeq:@@@@|Hairstyle|<!--Do not create Hairstyle Hairstyle Category-->|[[Category:@@@@ Hairstyle]]}}|}} }} {{#if:{{{eventTokens|}}}|{{tag|starpath|{{#switch:{{{from|}}} | ||
|Pixar Fest Star Path=Pixar Fest | |Pixar Fest Star Path=Pixar Fest | ||
|Villains' Star Path=Villains | |Villains' Star Path=Villains |
Revision as of 19:16, 21 March 2024
For usage guidelines, please see: Template:Infobox/doc