Forum:Using Wikipedia Template:Navigation generic

Has anyone sorted out how to transfer Wikipedia,s Template:Navigation generic over to Wikia. I have been trying to use it on the Psychology Wiki but it only produces a mess with a lot of tags see Template:Ion channels. Any help would be appreciated Dr Joe Kiff 17:43, 8 July 2007 (UTC)
 * Is Help:Dynamic navigation any helpful? Putting all that code in their correct places should make it work.--Richard1990 talkedits 20:05, 8 July 2007 (UTC)
 * Thanks Richard. Does that mean you have to insert the code into my css file? Does it matter where it goes? How do I edit the css file if I need to? Dr Joe Kiff 23:12, 8 July 2007 (UTC)


 * The ugly code is becauase Wikia doesn't have HTMLTidy installed, and Wikimedia does. This prevents us using html tags (including tables) inside parserfunctions. You have to replace the html tables with wikitables in such templates (messy). --Splarka (talk) 08:25, 9 July 2007 (UTC)
 * Thanks Sparka. So will we get HTMLTidy installed? If not is there anyway you or others could replace the tables, at least on this template as it is so widely used? I know nothing about html tables and wikitables so its all way beyond me. Does that also mean fiddling with the css code isnt relevent? Dr Joe Kiff 22:28, 9 July 2007 (UTC)
 * w:c:psychology:Template:Navbox_generic? That is a horribly esoteric and complex template (click edit to get a taste). Can you tell me your requirements for such a template? It would probably be much easier to start over more simply. --Splarka (talk) 07:59, 11 July 2007 (UTC)
 * If you click on the "what links here" you can see the template are used on many pages, as it seems to be the main base for WP templates. Whats the situation with HTMLtidy, is that problematic to use? It seems to be the obvious answer to maintain compatibility Dr Joe Kiff 21:27, 11 July 2007 (UTC)

I too would be interested in having Template:Navbox generic working or in having a Wikia equivalent - for more than one of the Wikia on which I am active. See http://genealogy.wikia.com/wiki/Virginia (a work in progress), for example. Also Template:Navigation - e.g. http://genealogy.wikia.com/wiki/Town; and a number of others that don't look as good as on WP. Robin Patterson 00:04, 12 July 2007 (UTC)


 * Well, I've been trying for about a year to convince everyone we needed Tidy. Here is the the old bugzilla entry about it. --Splarka (talk) 06:36, 12 July 2007 (UTC)
 * But we had tidy on for a while if i recall well but it was bugged so it was turned off.
 * On a side note wikipedia uses strange procedures sometimes like this portal instead of using a central template to work out te heather and the footer they use 2 templates, that system works in wikipedia but here it does not because of htmltidy, also dont understand why the separate the template when they can do it one. Also why they prefer to code in html instead of wiki text, etc etc --Cizagna (Talk) 18:06, 12 July 2007 (UTC)
 * oh forgot if you want i can translate all that html into wiki text but i need to know what to do with the deprecated elements and the inflated comments --Cizagna (Talk) 18:12, 12 July 2007 (UTC)


 * If HTMLTidy is the answer, and WP seem to have it working, what is the drawback at having another go at implementing it? Is it still buggy or has work been done on it since we tried it? What have been the objections to Sparka,s arguments?Dr Joe Kiff 23:04, 12 July 2007 (UTC)
 * Thanks for offering to rewrite Cizanga - if it is necessary it would be appreciated. What is a deprecated element and an inflated comment? As long as the links are clear and workable and arranged in the appropriate groups thats what counts. I like the ability to roll it up into the headline banner as wellDr Joe Kiff 23:04, 12 July 2007 (UTC)

For example this one group-style and group_style are deprecated elements (they should not be use any more) and should use groupstyle now as this is a hight profile template (its highly use) you cant break the template in sake of improvement one must create compatibility with old ones until some one finally notices it and corrects it. So want to make sure i can remove all the deprecated fields.

for me inflated comments are like this one makes it more visual but rather excessive so whats what i want to know if you want to keep them or i can change them --Cizagna (Talk) 00:21, 13 July 2007 (UTC)
 * OK Cizagna do what you think is best, it seems OK to me to drop the code that is no longer relevent.  Thanks for your helpDr Joe Kiff 22:59, 13 July 2007 (UTC)
 * Just been on the site and realised you've started work already! But there are still problems with the implementation of the generic template when it is used for the base of others See w:c:psychology:Template:Ion channels and compare with WP version where the grouping of the terms is so much clearer. Can you work on it more? Dr Joe Kiff 23:11, 13 July 2007 (UTC)
 * Yah thats because i didn't finish at that moment had to do RL stuff (think i left a note in the summaries), now i have finish and the template code is complete and properly working, you just need to add the CSS and the JS that the psychology.wikia.com is missing from wikipedia --Cizagna (Talk) 01:45, 14 July 2007 (UTC)
 * Brilliant Cizagna. Thanks very much. How do I edit the CSS and JS? Does it matter where I cut and paste the code too? Dr Joe Kiff 11:07, 14 July 2007 (UTC)
 * I have found out what to do - my JS was empty and I just appended the code to that already in CSS. It doesnt seem to make much difference. I would like now to colour the title bar with #ccccff Dr Joe Kiff 11:28, 14 July 2007 (UTC)
 * I have had a go trying to put style="background:#ccccff"| into the code but it doesnt work any chance you could fix it Cizagna?Dr Joe Kiff 11:42, 14 July 2007 (UTC)
 * The template is designate to put on style by just adding the CSS code i marked in blue  the part marked red will produce errors. Also as a note every time you finish a CSS arrangement use   (always forget the name of that dot comma thing) eg   because there are some style fields  that are shared and by not informing that you have ended that arrangement it will ignore both of them if i recall well.
 * Now i review your edits on the template, as i dont know what page you where referring. First you are already in the style area that uses CSS, because you added the pipeline  you told that there was the end of the cell configuration part, by adding   you were over redundant and you where already inside as 2 styles cant and will not coexists in that way, what i notice that was wrong and i just corrected, its that i missed to say where was the ending tag of the style   so it should work fine by now. Tell me if you have other issues--Cizagna (Talk) 15:12, 14 July 2007 (UTC)
 * Thanks for the lesson Cizagna, got it all sorted now.Dr Joe Kiff 00:27, 15 July 2007 (UTC)