Template:Infobox: Difference between revisions

80 bytes added ,  20:34, 26 July 2023
Assign trait-item type category to page, assign tag category to page (removed page category assignment from inside tag template),
(Assign color-type category to page (removed assignment from inside color template))
(Assign trait-item type category to page, assign tag category to page (removed page category assignment from inside tag template),)
Line 164: Line 164:
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag||@@@@|{{tag|@@@@}}}}
   {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@}} [[Category:@@@@]] }}
}}}}{{#if:{{{crop|}}}|<nowiki/>
}}}}{{#if:{{{crop|}}}|<nowiki/>
   {{!}}-
   {{!}}-
Line 209: Line 209:
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Traits:
   {{!}} id="infobox-label" {{!}} Traits:
   {{!}} {{#arraydefine:a-trait|{{{traits|}}}}}{{#arrayprint:a-trait||@@@@|{{tag|@@@@|{{{type|}}}}}}}
   {{!}} {{#arraydefine:a-trait|{{{traits|}}}}}{{#arrayprint:a-trait| |@@@@| {{tag|@@@@|{{{type|}}}}} [[Category:{{#if:{{{type|}}}|@@@@ {{{type|}}}|@@@@}}]] }}  
}}}}
}}}}
{{#if:{{{seed|}}}|<nowiki/>
{{#if:{{{seed|}}}|<nowiki/>
moderator
26,674

edits