Jump to content

Template talk:Team roster navbox

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Bagumba (talk | contribs) at 23:33, 16 September 2015 (a tweak request for non-rosters). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconBaseball Template‑class
WikiProject iconThis template is within the scope of WikiProject Baseball, a collaborative effort to improve the coverage of baseball on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconSports Template‑class
WikiProject iconThis template is within the scope of WikiProject Sports, a collaborative effort to improve the coverage of sport-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
To-do list:

Here are some tasks awaiting attention:

Renaming of template

When creating this template and the accompanying Lua module, I planned for Module:Team roster navbox to be the reusable component across leagues. I intended to one day extend the module to support a configuration parameter that would point to a Lua data page containing league-specific information, such as the colours to use in the navbox. Thus each separate league could have their own navbox that would use the module. So while I appreciate the desire to generalize this template, the net result is that some day in the future I may recreate an MLB roster navbox, which would call the Lua module with an MLB-specific configuration parameter. isaacl (talk) 23:38, 11 March 2014 (UTC)[reply]

I agree that this template should either be generalised (to cover nowrapping of any list) or made more specific (just for adding colours for teams in a particular league). currently, all it does is add some non-breaking spaces, which is only needed after the removal of nowrap from hlist. there is a thread about merging the nowrap functionality into module:navbox, see template talk:navbox. Frietjes (talk) 00:40, 12 March 2014 (UTC)[reply]
Yes, another reason I purposefully kept the scope restricted to MLB rosters was that I was only addressing one specific, small request made by editors interested in updating MLB rosters, and I'm not sure it is effective to position the template in its current form for use by all sports. If the base navbox module can be extended to accommodate the intended functionality, all the better. isaacl (talk) 00:50, 12 March 2014 (UTC)[reply]
@Isaacl: For the record, Muboshgu changed Template:Pacific-12 Coach of the Year to use this template, so it is being used for more than rosters, per se, and probably can be used for any navbox where spaces are undesirably being wrapped.—Bagumba (talk) 20:41, 16 September 2015 (UTC)[reply]
Yep. The documentation shows {{NLCS MVP}} as an example, so it's already gone beyond only rosters in its usefulness. I'm just starting to apply it to non-baseball sports (I did the NFL and NBA roster navboxes yesterday). – Muboshgu (talk) 20:47, 16 September 2015 (UTC)[reply]
Just wondering if there is any reason why this wasn't/couldn't be merged into Template:Navbox itself? Are there applications where a wrap is desired?—Bagumba (talk) 21:16, 16 September 2015 (UTC)[reply]
It was discussed but I'm not sure if anything resulted from the discussion. Frietjes, can you provide any additional information? isaacl (talk) 21:56, 16 September 2015 (UTC)[reply]
Here is the most recent discussion thread on this topic; it seemed that the modifications were ready to go at that time? isaacl (talk) 22:24, 16 September 2015 (UTC)[reply]

Tweak for non-roster usage

A applied this to Template:50Chargers. While the individual number–players combos aren't wrapped anymore, the higher level position groupings (depending on your screen, I see the TE and DB groups) are still being wrapped. Yes, I am getting greedy :-) —Bagumba (talk) 23:31, 16 September 2015 (UTC)[reply]