Template talk:Taxobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(→‎Solved?: for ref)
imported>Kim van der Linde
(further explanation)
Line 28: Line 28:


For reference, Kim added a <nowiki></div></nowiki> somewhere amongst [http://en.citizendium.org/wiki?title=Template%3ATaxobox&diff=100163347&oldid=100154917 these edit]. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 15:38, 11 September 2007 (CDT)
For reference, Kim added a <nowiki></div></nowiki> somewhere amongst [http://en.citizendium.org/wiki?title=Template%3ATaxobox&diff=100163347&oldid=100154917 these edit]. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 15:38, 11 September 2007 (CDT)
:Problem is that a <nowiki><div></nowiki> tag needs to be closed with a <nowiki></div></nowiki> WITHIN its own <nowiki>#if</nowiki> statement. [[User:Kim van der Linde|Kim van der Linde]] 15:41, 11 September 2007 (CDT)

Revision as of 15:41, 11 September 2007

This needs to be repaired. The left-hand links are consistently placed below the article body in IE7. --Larry Sanger 13:56, 11 September 2007 (CDT)

Do you have the same issues at wikipedia (http://en.wikipedia.org/wiki/Primate) ? Kim van der Linde 14:06, 11 September 2007 (CDT)

Nope. --Larry Sanger 14:16, 11 September 2007 (CDT)

Does this one User:Kim_van_der_Linde/Sandbox do the same? (I do not have IE7)Kim van der Linde 14:21, 11 September 2007 (CDT)

I have a probelm in that on every page this template appears on it messes up the defgault skin for wikipedia in my browser (Safari). I'm not sure what the problem is but history tabs et al are all displaced and the fonts are smaller. Chris Day (talk) 14:42, 11 September 2007 (CDT)

Well, I have the same problem in firefox. However, the code in User:Kim_van_der_Linde/Sandbox is exactly similar in wikipedia and if that causes the problem, I suggest that it is actually not the taxobox itself, but something with the side bar of mediawiki Kim van der Linde 14:44, 11 September 2007 (CDT)

For reference: Skin problem.jpg

I have the same problem.... But only on CZ, not WP. Kim van der Linde 14:48, 11 September 2007 (CDT)
I've seen this happen before but I can't remember where now. I think i solved the problem before by modifying the <div> and <span> components. I think the issue is one of them is seen by CZ to be open and not closed. This then has global effects on the page. Why CZ interprets the taxo box code differently I do not know. Chris Day (talk) 14:49, 11 September 2007 (CDT)

DiffViewIssue.gif Here it is as well, so that shows that the issues is somewhere else!!!!

Are you sure that picture was not due to me adding the random <div> and <span> elements above? Initially i forgot to place them in nowiki tags (this edit of mine cleared that problem you show above). Last time I saw it I fixed it pretty easily, but it was a far simpler template. Since this one is far more complicated it might be hard to track it down. Chris Day (talk) 14:57, 11 September 2007 (CDT)

It happened to me a few minutes ago on this page. (IE7) There are also other pages it happens on as well. I haven't notice if they all have taxoboxes on them. --Matt Innis (Talk) 15:03, 11 September 2007 (CDT)
Yep, Barnardius_zonarius. --Matt Innis (Talk) 15:05, 11 September 2007 (CDT)

Solved?

Humm, does this solve it?Kim van der Linde 15:15, 11 September 2007 (CDT)

Yes, both taxobox and taxobox2 work fine now. So you just moved a </div> to a new location? Or something else? Chris Day (talk) 15:16, 11 September 2007 (CDT)
No, I moved a </div> tag, but I have to test whether it works now fine overall. Kim van der Linde 15:23, 11 September 2007 (CDT)
everything seems fineKim van der Linde 15:26, 11 September 2007 (CDT)
Good job. Did you write this template, you Identified the problem </div> so fast! Chris Day (talk) 15:30, 11 September 2007 (CDT)
No, but I am half a programmer. Kim van der Linde 15:34, 11 September 2007 (CDT)

For reference, Kim added a </div> somewhere amongst these edit. Chris Day (talk) 15:38, 11 September 2007 (CDT)

Problem is that a <div> tag needs to be closed with a </div> WITHIN its own #if statement. Kim van der Linde 15:41, 11 September 2007 (CDT)