Template talk:Navbox

Active discussions

Child navboxes and groupsEdit

I started testing some topical navboxes that included child navboxes or groups. Unfortunately, the transwiki version of the template appears to not properly support that design. I copied over the main version of the template and that fixed the rendering issue. If I created some other, bigger issues, I apologize and understand if the new copy gets reverted. --RichardF 08:08, 13 May 2011 (PDT)

The template code you copied contains HTML table code inside of parser functions. For that code to work correctly (or so I thought), Appropedia would have to be running HTML Tidy (which I thought it is not, at the moment, but actually I don't know because it does not show up on Special:Version (compare to wikipedia:Special:Version - Wikipedia is running HTML Tidy, but it does not appear as an installed extension, because it isn't one)). The symptoms of incorrect functioning would be "tag bleed", i.e. some markup codes failing to render and instead appearing as codes on a wiki page. If this problem occurs, the fix is usually straightforward: convert all the HTML table code into the equivalent wikitext table code, using the {{!}} template to escape pipe characters in the table code (but not in the parser function code). An alternative solution is to install HTML Tidy on Appropedia's server, but only a few people with server access can potentially do that (and it might cause other complications because offline instances of Appropedia would also need to be running HTML Tidy). See:
I don't see that anything exploded yet in templates based on {{Navbox}}, such as {{Appropedia searches}}. That is somewhat surprising, as I recall from my experience on other wikis that the stock Wikipedia version of {{Navbox}} was unable to display even simple navigation templates correctly without HTML Tidy. Maybe the newer version of MediaWiki works better. It would probably take a research project to figure this out. For now I'd say just keep this in mind in case you run into problems with {{Navbox}}.
Maybe the main portability issue is with {{Navbar}}, which {{Navbox}} uses. We are still running the supposedly portable version of that. --Teratornis 13:46, 25 May 2011 (PDT)
Yes, I was surprised it seems to work out okay too. I tested it before I copied it here. I'll keep an eye out for issues. --RichardF 17:24, 25 May 2011 (PDT)
Return to "Navbox" page.