Jump to content

Wikipedia:Miscellany for deletion/Module:Navbox with nowrap lists

From Wikipedia, the free encyclopedia
The following discussion is an archived debate of the proposed deletion of the miscellaneous page below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the page's talk page or in a deletion review). No further edits should be made to this page.

The result of the discussion was: Delete. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 07:16, 3 April 2017 (UTC)[reply]

Module:Navbox with nowrap lists (edit | talk | history | links | watch | logs)

Appears to be an abandoned module without any transclusions outside a sandbox. Its functionality, if needed, could be replaced by a CSS class with the rule white-space: nowrap for <li> elements. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
13:03, 21 March 2017 (UTC)[reply]

Jc86035, if you can enact the proposed merger, I would be happy to have it deleted. apparently, even with support, no one has had the time to do it. instead, people continue to add copious &nbsp; tags to the list items to prevent wrapping. Frietjes (talk) 14:12, 21 March 2017 (UTC)[reply]
@Frietjes: I'm not all that good at Lua, so I don't think I would be the one to merge it. Is it supposed to be enabled for all hlist navboxes by default, and are there still any problems with applying nowrap directly to the list items in CSS? Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
16:06, 21 March 2017 (UTC)[reply]
Jc86035, hlist had nowrap until this change due to problems with IE. basically, what you suggested, doesn't work with IE. however, what does work, is inserting a nowrap span element inside of the li element. but, you can't do that with css. you have to have something else process the list, inserting the nowrap span elements. this is exactly what this module does. we have general agreement to add this functionality to Module:navbox, but we need to agree on how to trigger it. turning it on for all hlists would be problematic for lists with long items. we were very close to merging it back in this thread, but there was some question about parameter names. I believe we could get it merged with a bit more discussion. the only question is what to use for the parameter name. Frietjes (talk) 17:28, 21 March 2017 (UTC)[reply]
I did not have the energy to look at other issues when Frietjes mentioned a need to merge some items into Module:Navbox during the recent discussions at Module talk:Navbox. However, I can probably now handle a proposal with a suggested parameter. Johnuniq (talk) 01:53, 22 March 2017 (UTC)[reply]
Johnuniq, using |nowrapitems= as suggested by Edokter would be fine with me. Frietjes (talk) 17:54, 22 March 2017 (UTC)[reply]
@Frietjes: Please see Template talk:Navbox#Merging nowrap navbox. Johnuniq (talk) 04:49, 23 March 2017 (UTC)[reply]
wt:lua has been notified of this discussion. — Godsy (TALKCONT) 20:52, 21 March 2017 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the page's talk page or in a deletion review). No further edits should be made to this page.