Template talk:Navbar

More options by module: e, t, h, l, m, w
Apparently, and per the module, there are more options: e, t, h, l, m, w &rarr;

Is there a reason these were not documented? DePiep (talk) 22:47, 5 January 2023 (UTC)
 * Only because no one has added them. Primefac (talk) 10:55, 6 January 2023 (UTC)
 * Good to hear, thx. (Though the Q is reasonable, because in Software it is common to not document features that are not stable or tested.) -DePiep (talk) 16:14, 6 January 2023 (UTC)
 * True, though I find on Templates more often than not it's someone forgetting to update the /doc! Primefac (talk) 17:09, 6 January 2023 (UTC)

Bug in move option
Further to the section above, the move option does not work correctly when the template name includes a space - using produces  note that the second link displays as "template move " and the link goes to https://en.wikipedia.org/w/index.php?title=Special:Movepage&amp;target=Template:Example which is not what is intended - the link should display as " move " and the link should be https://en.wikipedia.org/w/index.php?title=Special:Movepage&amp;target=Template:Example_template

It makes no difference if the space is replaced by an underscore, nor if the first parameter is named - that is,, , and  all yield identical results.

However, if the space is replaced by a plus sign, as in the move link is now correct, but the view link is broken:  It seems that there is no way to have both the view and move links correct. -- Red rose64 &#x1f339; (talk) 12:20, 7 January 2023 (UTC)

This bug is presumably in Module:Navbar. Curiously, Module talk:Navbar redirects here, but Template talk:View redirects to Template talk:VTE. -- Red rose64 &#x1f339; (talk) 12:25, 7 January 2023 (UTC)
 * Same with v:
 * }} produces . -DePiep (talk) 12:29, 7 January 2023 (UTC)
 * Yes, so I've set up some testcases at Template:Navbar/testcases. -- Red rose64 &#x1f339; (talk) 13:20, 7 January 2023 (UTC)
 * So, for the time being remove from documentation, or add a heavy warning? DePiep (talk) 07:46, 8 January 2023 (UTC)
 * I highly doubt it's even in use, and the failure point is a small subset of potential template names, so I think "fix the issue" is preferable. That being said I, I haven't looked at it in too much detail but I suspect it has to do with how the module is creating the URLs for the links (much like how elink templates need to use urlencode to properly format URLs). Primefac (talk) 08:07, 8 January 2023 (UTC)
 * I edited Module:Navbar/sandbox with what I suspect will fix the problem. I would want to think about the change much more, and test it, before updating the main module. One of my edit summaries says Module:Navbar/sandbox was the same as Module:Navbar before I started. That is not quite correct—the sandbox has  whereas the main module omits  . That should be fixed before updating. Johnuniq (talk) 10:07, 8 January 2023 (UTC)

Set to different namespace option (view, v)
In view and, is there an option to apply for different namespace? That is, do not rename to "Template:" namespace?

With, I want to apply effectively: "for article Apollo 11 V-T-E". Currently, the template links to unintended target Template:Apollo 11.

To be applied in an off-mainspace edit helper. Being redlinked is not relevant here, nor is repeated wikilink+"v" effect. DePiep (talk) 07:57, 8 January 2023 (UTC)
 * The short answer is "no"; this entire family of templates is template-only (per the documentation). I think edit is as close as you'd get, which is really all one needs since you'd be making a wikilink anyway. Primefac (talk) 08:06, 8 January 2023 (UTC)
 * OK thx. DePiep (talk) 09:42, 8 January 2023 (UTC)

Custom css to display navigation templates on mobile?
Is there some custom css I can add to force unhiding navigation templates on mobile? I'm not concerned if they are ugly or affect the overall formatting of the articles they appear in. I just miss them. Folly Mox (talk) 12:47, 16 August 2023 (UTC)
 * This is the page for navbar (the v-t-e links) not navbox. Regardless of that, I don't think it's possible: the navbox HTML doesn't seem to be present in the HTML source for pages on mobile, so it's been suppressed by the MediaWiki software. -- Red rose64 &#x1f339; (talk) 21:32, 16 August 2023 (UTC)
 * Oops! Well, thanks for the info 😔 Folly Mox (talk) 22:16, 16 August 2023 (UTC)

Protected edit request on 10 October 2023
Please change the links to use Special:EditPage and Special:PageHistory, as I have done here. We don't need to use the fullurl for those two links. SWinxy (talk) 00:55, 10 October 2023 (UTC)
 * ✅ * Pppery * it has begun... 22:35, 10 October 2023 (UTC)

Inaccessible links in navbar
Moved to Template talk:Navbox. Izno (talk) 02:05, 23 February 2024 (UTC)