Board Thread:Support Requests - Getting Technical/@comment-4370375-20160529042344

I'm trying to make it so that the code of Template:Ws will change to [[wikispecies: | when the variable "sub=" is filled but frustratingly, I can't seem to get it to work correctly.

Can anyone help me figure out what I'm doing wrong here? 