Board Thread:Support Requests - Getting Technical/@comment-35301431-20130518102530

=_=;; I have been at this for a few hours. I created Song template that has a colorful header w/ text. In order to minimize the coding and making the keywords easier to edit, I created a Header template, this is a subtemplate that holds all the available colors the header w/ text can switch to. It works, but it took away the ability to create customized colors manually using wiki coding. I wanted to know if it was possible to override the presence of the subtemplate without removing it.

Primary template Infobox_song2
 * The coding in question.

Sub template Infobox_song2/header
 * Example of the coding

Do I need a second template within the sub template or the primary?

I tried the following.
 * Using #if in the primary template. This just causes the header to be white and the text to be black.
 * In the Sub template I created a "free = " parameter and left the space between the lines blank. No effect.
 * created a "background=" parameter that included and . It looked like this ->  |background =  background:; color:  . Again no effect.
 * created a "header =" parameter within the switch half template and also outside of it, making a second switch available. This caused the coding to break and it took some refreshing to get it back to normal. 