Forum:Help regarding a template code

I found this wiki on football and while going through cleaning stuff up I came across a template which was clearly taken from Wikipedia anyway their seems to be a slight coding problem with it concerning the kit layout part of it which seems to just not want to work so I was hoping if anyone could help fix the problem before I go out of my mind editing every bit to no luck. I added the code below if that helps but the main page is --TheWho87 10:16, 15 May 2009 (UTC)


 * Every time you use an to wrap around a table row, you need to put a &gt;nowiki /&gt; tag at the beginning of the first parameter, because parser funcions trim the spaces and linebreaks. For example:


 * --Ciencia Al Poder (talk) -WikiDex 14:53, 15 May 2009 (UTC)
 * Cool. That is a much nicer way to deal with the space stripping feature than what I have been doing.  Thanks.- ~  Ph l o x   20:53, 15 May 2009 (UTC)

Ok I did that but I am still getting problems, if I use that code I get this code on top of the box 

And this one below it

With the kits spread across the page, I didn’t create the code all I did was try and get it working but this part I have no clue on how to fix it.--TheWho87 00:44, 16 May 2009 (UTC)


 * I think the problem is Template:Football kit, which uses wikitables, and the pipecharacter is causing troubles inside the of the Template:Infobox Football club. Why don't you use this template alone instead of transcluding it inside anoter template? --Ciencia Al Poder (talk) -WikiDex 10:19, 16 May 2009 (UTC)
 * I do agree with "Ciencia al Poder" the problem looks more related with the template you are transcluding using the as if you want to use the template inside other templates you have to A) avoid using pipelines unless they are on links or other parsers. B)transform all non parse pipelines into the pipeline template trick | . C) transform the table from wiki table to HTML table, thats what wikipedia has many templates tables on HTML to avoid transclusion issues --