Template talk:Navbox
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
| ||||||||
| To help centralize discussions and keep related topics together, Module talk:Navbox redirects here. |
argHash issues
[edit]@Ahecht: I've found two issues of argHash during make patch for zh:Module:Navbox (sandbox):
- The lengths of
|listN=parameters will not count towardsargHashvalue. - The
|argHash=parameter which from a navbox template will not pass into module.
These issues above appears on enwiki, but zhwiki (still uses the old version of module previous 2024) not. Dabao qian (talk) 16:47, 1 September 2025 (UTC)
- @Dabao qian For number 1, I don't see any reason why
|listN=parameters shouldn't be counted as long as they have a string value, but I'll look into it sooner. As for #2, argHash is always automatically calculated, so it's not supposed to be passed from the template to the module (unless I'm misunderstanding what you mean). --Ahecht (TALK
PAGE) 03:55, 2 September 2025 (UTC)- @Dabao qian Actually, looking into it further, the entire first try at calculating argHash in
p.navboxis now unnecessary given that code was later added to calculate it inp._navbox. There's a version in the sandbox that eliminates that redundancy, which also means that|listN=is now counted correctly. Try it out, and I can sync the changes over to the main module at some point. --Ahecht (TALK
PAGE) 04:26, 2 September 2025 (UTC)- Now the issus has been resolved and
|listN=is counted correctly. Dabao qian (talk) 04:42, 2 September 2025 (UTC)
- Now the issus has been resolved and
- @Dabao qian Actually, looking into it further, the entire first try at calculating argHash in
- Offtopic: ... I was there for when this hash got added and somehow didn't remember it. Good to know at least one thing is off the list. It does appear to be working; Template:Warcraft universe's accessibility properties identify the navigation region as "Warcraft", which is the title of the navbox. Izno (talk) 16:32, 2 September 2025 (UTC)
ARIA role
[edit]To be honest, I'm kind of on the fence as to what the ARIA role should've been here @Izno. I was onboard with navigation, but I've been reading ARIA more and more, and from what I saw at Robert_Redford#Citations as an example, was waaay too many navigation elements. The banner/toolbar from Wikipedia has three already I think, if not more. The article has over 20 navboxes, which leads to so many high-level DOM navigation elements that clutter the heading lists made by Voiceover for example. I've looked at the other roles available [1], [2] as it's sufficiently important that with an ARIA label pointing to the heading as a baseline, which should be possible to be overriden by the user, but the heading should be wrapped in a span+ID, and the ID referred to by the element given role=navigation aria-labelledby=ID waddie96 ★ (talk) 13:52, 19 September 2025 (UTC)
- I'm unsure if it possibly matches this 'Disclosure' example from the newest ARIA Authoring Practices Guide draft, if it's enough "high-level top domain links" because it really isn't for the most part... or if it's something else like role=region being a bit plainer waddie96 ★ (talk) 13:55, 19 September 2025 (UTC)
Rfc: Deprecation of the image and imageleft parameters
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Involved, informal close: I am informally closing this discussion as snow oppose. It wasn't really an RFC, and I am involved in the discussion, but I hope it won't be objectionable for me to put a hat on this discussion. – Jonesey95 (talk) 01:35, 11 November 2025 (UTC)
The image and imageleft parameters to be deprecated --2600:1700:6180:6290:B0E2:DAA1:CCE8:7D41 (talk) 16:53, 21 September 2025 (UTC)
When looking at many navboxes such as Template:Donald Trump, these images violate WP:DECOR, and the image and imageleft parameters should be deprecated and not to be used for new work. This is a statement from Wikipedia:Manual of Style/Icons § Encyclopedic purpose on when and when not to use images in articles:
Icons should serve an encyclopedic purpose and not merely be decorative. They should provide additional useful information on the article subject, serve as visual cues that aid the reader's comprehension, or improve navigation. Icons should not be added only because they look good: one reader's harmless decoration may be another reader's distraction. An icon is purely decorative if it does not improve comprehension of the article subject and serves no navigational function. Where icons are used for layout purposes only, consider using bullet points as an alternative.
In order to comply with the WP:DECOR guideline, I think deprecating the image and imageleft parameters would make more sense than having to create a guideline inside Wikipedia:Navigation template § Navigation templates are not arbitrarily decorative. --2600:1700:6180:6290:B0E2:DAA1:CCE8:7D41 (talk) 16:53, 21 September 2025 (UTC)
Survey
[edit]- Oppose as written. The images at Template:Donald Trump are not icons. The OP appears to misunderstand what an Icon (computing) is. – Jonesey95 (talk) 22:46, 21 September 2025 (UTC)
- Oppose - Per Jonesey95 - FlightTime (open channel) 22:58, 21 September 2025 (UTC)
- Oppose, nothing about images in the language, only icons. Apples and baked potatoes. Randy Kryn (talk) 01:24, 22 September 2025 (UTC)
- Oppose, been here, discussed this. Cambalachero (talk) 02:42, 22 September 2025 (UTC)
- Oppose that prohibition on icons only applies to the article body. Otherwise, templates such as {{refimprove}} and {{Footy-stub}} would also be in violation. --Ahecht (TALK
PAGE) 16:32, 24 September 2025 (UTC)
Discussion
[edit]- Documenting what, if any, WP:RFCBEFORE has taken place, would be appreciated. Also, this discussion though named an RFC does not have a {{rfc}} and I do not know if that is intentional. Izno (talk) 23:44, 21 September 2025 (UTC)
- This proposal has already been formulated at Wikipedia talk:Categories, lists, and navigation templates/Archive 16#Images in navboxes (again). For starters, the quoted page is about icons and does not apply here. Cambalachero (talk) 02:41, 22 September 2025 (UTC)
Sync with sandbox
[edit]This edit request to Module:Navbox has been answered. Set the |answered= parameter to no to reactivate your request. |
Better table semantics (Template:Navbox with columns' column headers now use <th> instead of <td>). sapphaline (talk) 13:03, 8 December 2025 (UTC)
Done—Please report any issues. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:00, 8 December 2025 (UTC)
Derived template does not update links
[edit]In template Template:Bilasuvar District I disambiguated one item. I know ity usually takes some time to propagate the backlinks, it usually takes a couple hours. But in this case nearly 24h passed, and still wrong "pages that link to". When I click on the chanhed item in template, [Ashim, Azerbaijan|Ashim] it opens correct page, but this page is not linked from other artiicles tgaht contain this template. Any suggestions? --Altenmann >talk 20:33, 22 December 2025 (UTC)
- Patience is the best answer. The job queue will get to it in somewhere between a few hours and a few days, usually. If you are impatient, you can null-edit the affected pages. I have done so for you. – Jonesey95 (talk) 15:55, 24 December 2025 (UTC)