View text source at Wikipedia
This template is used on approximately 327,000 pages, or roughly 1% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
The various navigation templates maintained by the Military history WikiProject are all intended to be implemented through a single base template, which combines the project's common template style with the standard navigation box format. This is needed primarily to allow multiple such templates to be stacked together—with each other, or with infobox templates—to present the appearance of a continuous block; it is also beneficial for providing a consistent appearance to the entire set of articles within our scope.
Any military-related navigational template should be created using the {{military navigation}} base template, as shown below:
{{Military navigation | name = | raw_name = | state = | style = | title = | image = | imageleft = | odd_color = | even_color = | above = | listclass = | group1 = | list1 = | group2 = | list2 = | group3 = | list3 = ... | group30 = | list30 = | below = }}
hlist
, to format content as horizontal lists. In the case of hlists in above or below fields, set bodyclass=hlist, instead.style=wide
is shown below:[[File:Example.jpg|100px]]
. This parameter should be used sparingly, and typically only in conjunction with the full-width template style.[[File:Example.jpg|100px]]
. This parameter should be used sparingly, and typically only in conjunction with the full-width template style.There are several known issues with the current navigation template design that editors should be aware of:
<br />
tag between the words where the wrapping is to occur. This should be done to separate link-text to the right of the 'pipe' (|
), as follows: [[Article title|Article <br /> title]]
. An alternative method is to use {{wrap}} for the link-text as follows: [[A very long article title|{{wrap|A very long article title}}]]
, which allows the browser to break as-needed.