Template talk:Military navigation

message: Due to a bug fix with Common.js, these will now always be shown, no matter how many appear on a page.  If you wish to fork this template to a version always hidden, add to the NavContent style="display:none;...." ←BenB4 13:29, 8 August 2007 (UTC)
replies: text: Interesting; this will allow us to have a "noshow" style on this template.  Thanks for the suggestion! Kirill 01:38, 9 August 2007 (UTC)
replies: text: Please do not do that.  It won't work for users who have Javascript disabled.  Rather use class="NavFrame collapsed" in the outer div. —AlanBarrett (talk) 21:30, 4 February 2009 (UTC)
thread_title:  Always shown 

message: I'm requesting that the "navbox generic" template call be replaced by the "navbox" template.  The navbox is the new standard style.  There should be no significant visible changes to instances of this template, only changes in how the underlying code is structured (and standardization).  All that needs to be done is to delete the word "generic" in the first line of code.  Thanks, --CapitalR 18:41, 1 September 2007 (UTC)
replies: text: Done. Kirill 18:53, 1 September 2007 (UTC)
thread_title:  Convert to navbox from navbox generic 

message: template:US Revolutionary units has been updated so that it actually follows the guidelines given for navbox layout (as opposed to pretending to be a campaign box). But because this article is fully-protected, the version transcluded here is out of date. The page needs to be refrehsed to pick up the template updates. Chris Cunningham 14:47, 24 October 2007 (UTC)
replies: text: The documentation is actually at Wikipedia:WikiProject Military history/Military navigation, which isn't protected.  In any case, though, I've removed the hard-coded example; since both templates now use the same layout, there's no need to show both of them here. Kirill 15:17, 24 October 2007 (UTC)
thread_title:  Refresh to update templates 

message: I've noticed with a few different templates that is you utilize the |image= code, it has a tendancy to add a white bar at the bottom of the nabox when collapsed. Any idea what causes this? It looks funny when stacked with normal navboxes. See Template:US Navy navbox for example. bahamut0013♠♣ 11:40, 5 April 2008 (UTC)
replies: text: Not sure, but I would guess that it's something with how the basic  handles images in certain cases, since this template doesn't do anything with the image parameters other than passing them straight through. Kirill 15:55, 5 April 2008 (UTC)
thread_title:  excess white bar when hidden 

message: What does this template provide over the  family of templates?  The only visual difference seems to be a variation in colors in the overall heading row.  See John_Branch#Sources for a comparision and see  for a diff between the two.  If it is just the autocategorization into the wikiproject, wouldn't it make more sense to use the  and just add cats to that?  My curious 2c. — MrDolomite • Talk 09:43, 31 July 2008 (UTC)
replies: text:  Yep. While I'm all for standardisation, insofar as this is just a custom derivation of  it's perfectly fitting with that. I'd rather that people dispensed with it and just created navboxen with class="military-navigation" or whatever, but that's really just syntactical bickering. Chris Cunningham (not at work) - talk 13:17, 31 July 2008 (UTC)
replies: text: Yes, the main use of this isn't the color, but rather the size+alignment needed to make things stack with the various standard military infoboxes.  That's not really visible in , since that's set to be a full-width box; but compare, for example, . Kirill (prof) 20:27, 31 July 2008 (UTC)
replies: text: If color isn't a major consideration, why not remove the "wide" option and opt for using  directly when it is being used as a normal "wide" navbox at the bottom of the page? ~ PaulT+/C 00:05, 7 January 2009 (UTC)
replies: text: He siad that "the main use of this isn't the color", which doesn't mean that color isn't a major consideration; it's just not the main consideration. It is important to maintain some level of standardization or consistancy in templates. This navbox, when used with the wide parameter, achieves just that: consistancy. As CapitalR said, it's good to have a "standardized look and feel for military articles". bahamut0013wordsdeeds  13:01, 7 January 2009 (UTC)
thread_title:  Military navigation vs {{tl|navbox}} 

message: Does this template support the "imageleft" field available in Template:Navbox? In my attempt at converting Template:Sydney-Kormoran to use Template:Military navigation, "imageleft" seemed not to work. — Bellhalla (talk) 04:53, 20 August 2009 (UTC)
replies: text: The template wasn't passing through that parameter to .  I've updated the code to do so; does that seem to work correctly? Kirill [talk] [pf] 12:48, 21 August 2009 (UTC)
replies: text: That looks good. Thanks! — Bellhalla (talk) 17:52, 21 August 2009 (UTC)
thread_title:  "imageleft" field? 

message: I'm trying to break out and alphabetize the Cold War Figures infobox, can someone bump up the group count to 50? - Burpelson AFB ✈ 18:18, 30 August 2011 (UTC)
thread_title:  Additional groups 

message: please make this update to allow for the use of border parameter in navbox.  This will allow this template to be nested, in the same way that navbox can be nested using the  construct.  once this is done, it would be great if we could do the same for template:campaign.  I am trying to clean up the nesting in Template:Campaignbox Iraq War. thank you. Frietjes (talk) 19:59, 2 February 2012 (UTC)
replies: text: -- WOSlinker (talk) 21:15, 2 February 2012 (UTC)
thread_title:  Edit request on 2 February 2012 

message: I would like to get some changes for better flexibility:
#To better allow subgrouping (or emulation of ) 
##correct the passing of  so it defaults to nothing (so I do not have to override it to empty in things like )
##pass 
##allow  to take on the value of "subgroup" as well as "child" (so  works)
#To better allow encapsulation (or emulation of )
##pass  and  (so I can use  directly do not have to use  or  with  to emulate it in things like  and )
Note:  still has to be passed to subgroups for things like . I am not sure if there is a better method for this.
Thank you. 50.53.15.51 (talk) 20:05, 27 February 2012 (UTC)
replies: text: I believe I have now implemented these changes within the sandbox, however, cannot create the sandbox (IPs cannot create new pages) to test such but with testing such can be copied straight form the sandbox at your discretion. Thanks again. 50.53.15.51 (talk) 20:38, 27 February 2012 (UTC)
replies: text:  Sounds good, but I'm cautious about pushing this without thorough testing. I've created template:military navigation/testcases if you want to add tests there. Thanks for your work on this. Chris Cunningham (user:thumperward) (talk) 15:28, 29 February 2012 (UTC)
replies: text: I've disabled  for now. Add it back when you're done testing. Tra (Talk) 16:30, 2 March 2012 (UTC)
thread_title:  Better emulation of {{tl|Navbox subgroup}} and {{tl|Navboxes}} 

message: please change
|title=
to
|title=
or (if there is a reason why we need to make  mandatory most of the time)
|title=
which will allow me to remove the blank  from the child box in Template:Shenandoah class destroyer tender. thank you. Frietjes (talk) 16:20, 16 October 2013 (UTC)
replies: text: Done. Kirill [talk] 01:29, 17 October 2013 (UTC)
thread_title:  Edit request on 16 October 2013 

message: Please add the capability for additional groups/lists (going from 20 to 30 should be enough).  This is to accomodate some ship classes that have more than 20 adiitional operators.
Example code:
...
|group18=
|list18=
|group19=
|list19=
|group20=
|list20=
|group21=
|list21=
|group22=
|list22=
|group23=
|list23=
|group24=
|list24=
|group25=
|list25=
|group26=
|list26=
|group27=
|list27=
|group28=
|list28=
|group29=
|list29=
|group30=
|list30=
...
|list18style=
|list19style=
|list20style=
|list21style=
|list22style=
|list23style=
|list24style=
|list25style=
|list26style=
|list27style=
|list28style=
|list29style=
|list30style=
...
Thank you.
Derekbridges (talk) 05:18, 21 October 2013 (UTC)
replies: text: Ruslik_Zero 19:29, 21 October 2013 (UTC)
thread_title:  Edit request on 21 October 2013 - add groups/lsits 

message: I happened to come across the use of this template parameter at . In that case, it was completely misplaced, because there was no obvious reason to do so. Fixing it was also very unintuitive, because "raw_name == no navbar" is not something any editor should be expected to remember. What is the actual purpose of this weirdly named parameter, and can we make it not so horrible? --Joy [shallot] (talk) 13:44, 14 August 2021 (UTC)
thread_title:  raw_name to omit {{tl|navbar}}? 

message: I am currently working on moving Things to TemplateStyles (see MediaWiki_talk:Common.css/to_do) and right now I'm working on the hlist class. I'm planning to always emit it when the use here is as a campaign box (per the note at MediaWiki_talk:Common.css/to_do#Hlist_modules).
However, it would be easier for me, and I think ultimately more consistent with its uses and with the rest of the wiki, for campaign boxes to be s instead of navboxes. This would also change the change to be made here to use sidebar for generating the 'non-wide' version instead of always emitting the TemplateStyles.
Soliciting opinions on this before I get started on changing this over. The colors particularly I am sure will be a discussion point. Izno (talk) 23:40, 10 March 2022 (UTC)
thread_title:  hlist considerations 

message: I would like to propose that this template be deleted. It seems to add no value over and above the standard navbox template other than a different colour scheme of blue and grey, which has at best an extremely tenuous link to the concept of a military. Elshad (talk) 12:56, 18 February 2023 (UTC)
replies: text: . The correct venue for what you want is WP:TFD. Since this template is used as a wrapper or shell for other military navbars, a deletion proposal will probably be met with a lot of opposition. Up to you, and thank you very much for your contributions! P.I. Ellsworth , ed. put'er there 17:02, 18 February 2023 (UTC)
thread_title:  Request for deletion