Board Thread:Support Requests - Getting Technical/@comment-26400668-20191020204545

I'm trying to add the {{#switch: so that you can change the color of the template instead of having to make various versions.

I have a basic understanding of how it works, but I'm not sure if I'm doing right or it's not possible through HTML.

Here is the code I have for the template so far:

This is the switch I want to add:

{{#switch: {{{1|}}}
 * DK = 8900F2, #CA96F2, #8900F2
 * DM = F9E957, #E0C52C, #F9E957
 * SA = EACC35, #F4E76B, #EACC35
 * MT = 006011, #009126, #006011
 * DB = 570070, #9243B7, #570070
 * }}

I've been trying for the last hour and haven't really gotten anywhere. The template should have a grid like this one when the switch is used.

Any help is appreciated! 