Template:Color: Difference between revisions

79 bytes removed ,  22:19, 16 January 2023
Multiple colors fed in as comma-separated string to convert to array working
(Add categories to colors)
(Multiple colors fed in as comma-separated string to convert to array working)
Line 26: Line 26:
           |gray=[[Category:Gray]]
           |gray=[[Category:Gray]]
           |none=none
           |none=none
           |#default=}}{{{1|}}}</span><noinclude>{{color|blue}}{{color|green}}{{color|red}}{{color|pink}}{{color|white}}{{color|black}}{{color|yellow}}{{color|orange}}{{color|brown}}{{color|purple}}{{color|gray}}{{color}}[[Category:Formatting templates]]</noinclude>
           |#default=}}{{{1|}}}</span><noinclude>
 
{{#arraydefine: b | blue,green }}
{{#arrayprint:b|,&nbsp;|arrayItem|{{color|arrayItem}}}}
 
[[Category:Formatting templates]]</noinclude>
moderator
27,065

edits