Forum:Template Help

Hello, i operate the Puppet Wikia and i need some help with a template. Here it is the template name is Character http://puppet.wikia.com/wiki/Wilberforce it does not display correctly

Thanks, Phillip chat 18:57, 21 February 2007 (UTC)


 * Looks like something to do with all that t template inside of there. For a simple inputbox I don't think all that stuff is needed. I have a feeling that's an attempt at the ability to hide unused sections, but I've found that a cleaner option to use is to use parserfunctions and have it add a display: none; to the 2 cells when needed (or in the case of cleaner code, I have a hide CSS class which I add to do that). I'll take a look at it later but at the moment I'm on a computer which I can't even login on Dantman (talk) 20:06, 21 February 2007 (UTC)


 * Have you considered having the template completely rewritten? Cause I can't put a pinpoint on anything in that template. It has way to much code for the basic stuff it displays. Dantman (Talk) 02:23, 23 February 2007 (UTC)


 * this is fun and interesting i need to know what its  as i dont get it that much, why dont use wiki table parameters instead of html parameters it could become clear thought it requires a row for each parameter, but will not be notice on the display, also the last example that you had in your history it had other value keys no performer but i saw it in the code and no builder, no designer but those i did not find it in the code. i will try to wikify it first but im rusted on what td and tr mean lol i think it was row and column respectively, will come back in a while and will inform my results but a test i make most of the fields works wonderfull only some are missing and some does not display correctly --Cizagna (Talk) 19:38, 23 February 2007 (UTC)


 * The t template states that it's used for complex table nesting tricks.   is a table row, equivalent to |-, and    is a table cell equivalent to using | or || and    is a table head equivilant to using ! or !|. I don't know who tryed out these table nesting tricks, but using wikitabls, parserfunction, display: none; would work out much better for hiding sections. I think the reason for using html elements was so that they could be put inside of the parserfunctions. But if someone would write out a simple wikitable with all the options you want displayed, and say which options should dissapear, I can set it up to hide optional rows when not used. Dantman (Talk) 19:48, 23 February 2007 (UTC)
 * Ok i have clean up most of it but because of the use of TR and TD there is many redundant information i change the  for   every  T is hiddable if no info is there is no information aside from that they have this fields   and   that only hides the header my possible guess is that maybe they want to hide the full information related with that header and they mention a   but i dont see no place where they use it. Hope this helps you a little bit more other way i will keep cleaning it later as i have some things to do right now --Cizagna (Talk) 20:50, 23 February 2007 (UTC)
 * I totally remove this part from each row  dont see its use... also i clean as much as i was able moving stuff from the individual rows/cells to the header as there were almost non variating cells i mark you with comment tags what it should hide when is not used and what it needs to be hide when its used if my guess are correct. --Cizagna (Talk) 02:24, 24 February 2007 (UTC)
 * Done, though it might have been a little neater if my .hide class was inside of the puppet wiki's css. Dantman (Talk) 05:53, 24 February 2007 (UTC)