Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template talk
:
Navbar
Add topic
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
Add topic
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{permprot}} {{tfd end|date=2014 July 27|merge=Template:V|result=no consensus}} {{tfd end|date=2017 March 5|merge=Template:V|more_merge= and [[Template:View]]|result=merge, assuming there are no technical problems}} {{User:MiszaBot/config | algo=old(180d) | archive=Template talk:Navbar/Archive %(counter)d | counter=4 | maxarchivesize=75K | archiveheader={{Automatic archive navigator}} | minthreadsleft=5 | minthreadstoarchive=2 }} {{copied|from=Module:Navbar|from_oldid=780167786|to=:incubator:Module:Wp/nod/Navbar|to_diff=4243076}} {{Archives|auto=yes|search=yes}} {{Lua sidebar}} == Bug in move option == Further to the section above, the move option does not work correctly when the template name includes a space - using {{nowrap|1={{tlx|view|Example template|m}}}} produces {{view|Example template|m}} note that the second link displays as "template<span title="Move this template">move</span>" and the link goes to https://en.wikipedia.org/w/index.php?title=Special:Movepage&target=Template:Example which is not what is intended - the link should display as "<span title="Move this template">move</span>" and the link should be https://en.wikipedia.org/w/index.php?title=Special:Movepage&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, {{tlx|view|Example template|m}}, {{tlx|view|Example_template|m}}, {{tlx|view|2=template=Example template|3=m}} and {{tlx|view|2=template=Example_template|3=m}} all yield identical results. However, if the space is replaced by a plus sign, as in {{tlx|view|Example+template|m}} the move link is now correct, but the view link is broken: {{view|Example+template|m}} It seems that there is no way to have both the view and move links correct. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|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]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 12:25, 7 January 2023 (UTC) :Same with {{tl|v}}: :{{tlx|v|Example template|m}}}} produces {{v|Example template|m}}. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 12:29, 7 January 2023 (UTC) ::Yes, so I've set up some testcases at [[Template:Navbar/testcases#Demonstrating bug in move option]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 13:20, 7 January 2023 (UTC) :::So, for the time being remove from documentation, or add a heavy warning? [[User:DePiep|DePiep]] ([[User talk: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 {{t|urlencode}} to properly format URLs). [[User:Primefac|Primefac]] ([[User talk: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 <code>local cfg = mw.loadData('Module:Navbar/configuration/sandbox')</code> whereas the main module omits <code>/sandbox</code>. That should be fixed before updating. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 10:07, 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. [[User:Folly Mox|Folly Mox]] ([[User talk:Folly Mox|talk]]) 12:47, 16 August 2023 (UTC) :This is the page for nav''bar'' (the v-t-e links) not nav''box''. 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. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 21:32, 16 August 2023 (UTC) ::Oops! Well, thanks for the info 😔 [[User:Folly Mox|Folly Mox]] ([[User talk:Folly Mox|talk]]) 22:16, 16 August 2023 (UTC) == Protected edit request on 10 October 2023 == {{edit fully-protected|Module:Navbar|answered=yes}} Please change the links to use [[Special:EditPage]] and [[Special:PageHistory]], as I have done [[Special:Diff/1179420038|here]]. We don't need to use the fullurl for those two links. [[User:SWinxy|SWinxy]] ([[User talk:SWinxy|talk]]) 00:55, 10 October 2023 (UTC) : {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 22:35, 10 October 2023 (UTC) == Inaccessible links in navbar == Moved to [[Template talk:Navbox#Inaccessible links in navbar]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 02:05, 23 February 2024 (UTC) == Urgent: Please fix this template for printed content [[Module:Navbar/styles.css]]. == {{Moved from|Module talk:Navbar}} <div lang="en" dir="ltr"> Firstly, apologies for writing in English if this is not your first language (this is an automated message). This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP. To fix this: # Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark` # Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen` If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue. For any questions feel free to ask them at [[phab:T369874]]. [[User:Jon (WMF)|Jon (WMF)]] ([[User talk:Jon (WMF)|talk]]) 18:21, 2 August 2024 (UTC) on behalf of the web team. </div> == Edit request 7 June 2026 == {{edit fully-protected|Module:Navbar/configuration|answered=y}} '''Description of suggested change:''' <!-- Place a description of your suggested change below this comment. Be sure to explain why your edit is needed. If your edit is more than one or two sentences, then delete the "Diff:" text below, put your changes in this template's sandbox and link to the sandbox below. --> Fix a naming mismatch between the main module and the configuration file that prevented the '.navbar-boxtext' CSS class from being applied. In the configuration file ('Module:Navbar/configuration'), the key was defined as 'this_box', whereas the main module ('Module:Navbar') was trying to fetch it via 'cfg.classes.box_text'. This change synchronizes the names, ensuring that the class mapped in 'styles.css' is correctly output to the final HTML page. '''Diff:''' {{Text diff |1=<!-- Replace "ORIGINAL_WIKITEXT" (below this line) with the wikitext (source code) that you want to be changed. --> ['this_box'] = 'navbar-boxtext', |2=<!-- Replace "CHANGED_WIKITEXT" (below this line) with your requested new wikitext. --> ['box_text'] = 'navbar-boxtext', }} [[User:GKNishimoto|GKNishimoto]] ([[User talk:GKNishimoto|talk]]) 15:00, 7 June 2026 (UTC) :Well spotted, {{done}}<!-- Template:EP --> — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 11:01, 11 June 2026 (UTC) ::{{Not done}} — Hi Martin, it looks like you might have forgotten to save the edit or applied it somewhere else by mistake, as the main module configuration still shows the old code. I'm reverting the 'answered' parameter to 'no' so this stays in the queue. Thanks! -- [[User:GKNishimoto|GKNishimoto]] ([[User talk:GKNishimoto|talk]]) 13:18, 11 June 2026 (UTC) :::Sorry, I think I edited the sandbox but forgot to deploy it. {{done}} — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 17:31, 11 June 2026 (UTC) ::::{{Done}} – Thank you dear. -- [[User:GKNishimoto|GKNishimoto]] ([[User talk:GKNishimoto|talk]]) 20:52, 11 June 2026 (UTC)
Summary:
Please note that all contributions to LarpOfHoi4 Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LarpOfHoi4 Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Pages included on this page:
User:MiszaBot/config
(
edit
)
Template:Archives
(
edit
)
Template:Copied
(
edit
)
Template:Done
(
edit
)
Template:Edit fully-protected
(
edit
)
Template:Lua sidebar
(
edit
)
Template:Moved from
(
edit
)
Template:Not done
(
edit
)
Template:Nowrap
(
edit
)
Template:Permprot
(
edit
)
Template:T
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Text diff
(
edit
)
Template:Tfd end
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:V
(
edit
)
Template:View
(
edit
)
Module:Arguments
(
edit
)
Module:Template link general
(
edit
)
Search
Search
Editing
Template talk
:
Navbar
Add topic