Template talk:Military navigation

From Wikipedia, the free encyclopedia

MILHIST This non-article page is within the scope of the Military history WikiProject. If you would like to participate, please visit the project page, where you can join the project and see lists of open tasks and regional and topical task forces. To use this banner, please see the full instructions.
NA Non-article pages do not require a rating on the quality scale.

Contents

[edit] Always shown

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)

Interesting; this will allow us to have a "noshow" style on this template. Thanks for the suggestion! Kirill 01:38, 9 August 2007 (UTC)

[edit] Convert to navbox from navbox generic

{{edit protected}}

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)

Done. Kirill 18:53, 1 September 2007 (UTC)

[edit] Refresh to update templates

{{editprotected}}

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)

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)

[edit] Alternative parameter name, missing parameters

{{editprotected}} Hi. Please help this template resemble and work alongside {{Navbox}} more closely by:

  • including name as an alternative name for raw_name;
  • boosting the font-size used for groupnames by 10% (i.e. to 110% its current setting);
  • including the groupstyle, liststyle, abovestyle, belowstyle parameters offered by {{Navbox}}.

Thanks. Sardanaphalus (talk) 10:26, 2 April 2008 (UTC)

In order:
  1. Done.
  2. Done.
  3. Will not be done. The entire point of this template is to have a single style for everything using it; allowing style overrides on a per-transclusion basis would make it largely pointless.
Kirill 11:35, 2 April 2008 (UTC)
  • Okay, understood. Thanks for 1 and 2. Sardanaphalus (talk) 13:09, 5 April 2008 (UTC)
    PS I guess for consistency's sake this template could/should be renamed "Military navbox"?
I would support the rename, but wouldn't that mean going through every transclusion and changing "military navigation" to "military navbox"? That would take a while. bahamut0013 14:17, 5 April 2008 (UTC)

[edit] excess white bar when hidden

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)

Not sure, but I would guess that it's something with how the basic {{navbox}} 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)