Template:Campaignbox/doc: Difference between revisions

Jump to navigation Jump to search
imported>Gdr
imported>SWinxy
m (add redirect)
 
(670 intermediate revisions by 95 users not shown)
Line 1: Line 1:
This page lists '''campaign boxes''', navigational tables that can be added to a '''battlebox''' to provide quick navigation among the battles in a campaign; see [[Wikipedia:WikiProject Battles/Battlebox instructions]] for how to make them.
{{#ifeq:{{{noheader|}}}|yes |
| {{Documentation subpage}}
{{Template display|nomobile}}
{{Template redirect|Campaign}}
{{Navbox visibility}}
== Usage ==
}}
{{#switch:{{ARTICLESPACE}}
| Wikipedia =


''Note: it would be nice to include the templates here, but the MediaWiki limit of five expansions of a template per page means that only the first five would come out.''
====Campaignboxes====
| #default =


==Ancient==
===Campaignboxes===
}}
One common type of navigational template in articles concerning conflicts, wars and related topics is the '''campaignbox''' template, intended to provide context and convenient navigation among articles on the [[battles]] in a [[Military campaign|campaign]], [[Front (military)|front]], [[Theater (warfare)|theater]] or [[war]] (or, more rarely, among several campaigns or wars).
<div style="float:right;width:26.7em;margin-bottom:1.0em;">
{{Campaignbox Second Punic War}}
{{Campaignbox Punic Wars}}
</div>


*[[Template:Campaignbox Greco-Persian Wars|Greco-Persian Wars]]
If the article includes an [[Help:Infobox|infobox]], the campaignbox/es are usually placed immediately after it (i.e. just below it). If available, as with infoboxes such as {{tl|Infobox military conflict}}, use the infobox's {{para|campaignbox}} parameter:
*[[Template:Campaignbox Peloponnesian War|Peloponnesian War]]
<div style="width:25.0em;border:1px solid black;background:#ddd;padding:0.5em 1.0em;">
*[[Template:Campaignbox Wars of Alexander the Great|Wars of Alexander the Great]]
<pre>
*[[Template:Campaignbox First Punic War|First Punic War]]
{{Infobox military conflict
*[[Template:Campaignbox Pyrrhic War|Pyrrhic War]]
...
*[[Template:Campaignbox Second Punic War|Second Punic War]]
}}
*[[Template:Campaignbox Caesar's Civil War|Caesar's Civil War]] (49–45 BC)
{{Campaignbox XXXX}}
*[[Template:Campaignbox Germanic Wars|Germanic Wars]]
</pre>or<pre>
*[[Template:Campaignbox Wars of Justinian I|Wars of Justinian I]]
{{Infobox military conflict
...
| campaignbox = {{campaignbox XXXX}}
}}
</pre></div>


==Medieval==
Articles may include multiple campaignboxes; typically, these are stacked under the infobox. The most common scenario occurs when two levels of campaignboxes are present&nbsp;– for example, an article about a battle can include both a campaignbox listing the battle itself and an "enclosing" campaignbox listing the campaign, theater or war during which the battle took place.  Similarly, an article about a war can include both a campaignbox listing the war (among a series of wars) and a campaignbox for the war itself, listing the battles that took place during it.
*[[Template:Campaignbox First Crusade|First Crusade]]
*[[Template:Campaignbox Ayyubid-Crusader War|Ayyubid-Crusader War]] (1187)
*[[Template:Campaignbox Hundred Years' War|Hundred Years' War]]
*[[Template:Campaignbox Wars of the Roses|Wars of the Roses]]
*[[Template:Campaignbox Ottoman-Hungarian War|Ottoman-Hungarian War]]


==16th century==
=== Creating campaignboxes ===
*[[Template:Campaignbox War of the League of Cambrai|War of the League of Cambrai]]


==Feudal Japan==
Existing campaignboxes may be viewed through the [[:Category:Campaignbox templates|Campaignbox template category]] to which campaignboxes are added automatically.  If a new campaignbox becomes necessary, it should be named ''Template:Campaignbox XXXX'' (where XXXX is the (shortened) name of the campaign) and should use {{tlf|Campaignbox}} thus:
*[[Template:Campaignbox Genpei War|Genpei War]]
<div style="width:16.7em;border:1px solid black;background:#ddd;padding:0.5em 1.0em;">
*[[Template:Campaignbox Campaigns of Oda Nobunaga|Campaigns of Oda Nobunaga]]
<pre>
*[[Template:Campaignbox Campaigns of Toyotomi Hideyoshi in Honshu and Shikoku|Campaigns of Toyotomi Hideyoshi in Honshu and Shikoku]]
{{Campaignbox
*[[Template:Campaignbox Siege of Osaka|Siege of Osaka]]
| name =
| title =
| battles =
| notes =
}}
</pre>
</div>


==17th century==
==== Parameters ====
* [[Template:Campaignbox First Anglo-Dutch War|First Anglo-Dutch War]]
; ''name''    : The name by which Wikipedia refers to the template, i.e. "Template:Campaignbox XXXX". This can be produced by using <code><nowiki>{{subst:PAGENAME}}</nowiki></code>.
* [[Template:Campaignbox Scottish Civil War|Scottish Civil War]]
; ''title''  : The name of the campaign or war, which, if an article about the campaign or war exists, should link to it. Dates should not be indicated unless needed for clarity.  Note that long links may cause alignment problems; see [[WP:MILMOS#NAVPROBLEMS|the troubleshooting guide]] for more information.
* [[Template:Campaignbox Thirty Years' War Bohemian Revolt|Thirty Years' War Bohemian Revolt]]
; ''battles'' : A chronological list of battles and operations in the campaign, linked as <code><nowiki>[[Battle of YYYY|YYYY]]</nowiki></code>. A convenient and accessible way to separate the items in the list is to add <code>| listclass = hlist</code> and then use the standard <kbd>*</kbd> (asterisk)-based [[Help:List|listing format]].
* [[Template:Campaignbox Thirty Years' War Danish Intervention|Thirty Years' War Danish Intervention]]
; ''notes''  : (optional) Any explanatory notes needed to clarify the list. This option should be used sparingly.
* [[Template:Campaignbox Swedish intervention in the Thirty Years' War|Swedish intervention in the Thirty Years' War]]
; (''raw_name'') : (optional; deprecated) This parameter overrides the use of the title in determining the template name and exists for the sake of backward compatibility. When creating a new campaignbox, both title and name should be specified as above and this parameter omitted.
* [[Template:Campaignbox Thirty Years' War Swedish-French Intervention|Thirty Years' War Swedish-French Intervention]]
* [[Template:Campaignbox Thirty Years' War Post-bellum Period|Thirty Years' War Post-bellum Period]]
* [[Template:Campaignbox Dutch War|Dutch War]] (= [[Third Anglo-Dutch War]] + [[Franco-Dutch War]])


==Polish 18th century Wars ==
The following optional parameters are passed on to the templates {{tl|Military navigation}} or {{tl|Navbox}} used to create campaignboxes and so can affect their styling. See these two templates' documentation pages for further details.
* [[Template:Campaignbox Kosciuszko Uprising|Ko&#347;ciuszko Uprising]]
; ''state'' : To set whether the campaignbox appears fully visible or collapsed (to titlebar only) when it is first presented by a page.
* [[Template:Campaignbox November Uprising|November Uprising]]
; ''bodyclass'' : CSS styling to affect the whole template.
; ''listclass'' : CSS styling to affect the list of battles, operations, etc. (e.g. to affect {{para|battles}}).


==French Revolutionary and Napoleonic Wars==
The use of special formatting (such as bolding or changes in font size) in the list of battles{{spaced ndash}}particularly to mark battles as "important"{{spaced ndash}}is generally discouraged; while there are a ''few'' cases where such approaches may be both helpful to the reader and sufficiently well-sourced that they do not constitute original research, they are usually both unnecessary and potentially confusing.  Similarly, dividing the list of battles into multiple blocks by inserting heading-like separations should be exceptional; if such a division is felt to be needed, a better solution may be to split the one campaignbox into two or more.<noinclude>
* [[Template:Campaignbox Second Coalition|Second Coalition]]
* [[Template:Campaignbox Egypt-Syria|Egypt-Syria]]
* [[Template:Campaignbox Third Coalition|Third Coalition]]
* [[Template:Campaignbox Fourth Coalition|Fourth Coalition]]
* [[Template:Campaignbox Waterloo|Waterloo]]
* [[Template:Campaignbox Fifth Coalition|Fifth Coalition]]


==American Civil War==
[[Category:WikiProject Military history template instructions|Campaignbox]]
[[Image:American Civil War Battles by Theater, Year.png|thumb|right|400px|Battles of the American Civil War by Theater, Year]]
</noinclude><includeonly>{{Sandbox other||
 
[[Category:Campaignbox templates| ]]
===Main Eastern Theater===
{{#ifeq:{{{noheader|}}}|yes | |
====1861====
[[Category:Navigational box wrapper templates]]
* [[Template:Campaignbox Blockade of the Chesapeake Bay|Blockade of the Chesapeake Bay]] (May&ndash;June 1861)
[[Category:Military navigational boxes|Campaignbox]]
* [[Template:Campaignbox Operations in Western Virginia|Operations in Western Virginia]] (June&ndash;December 1861)
[[Category:Templates that add a category]]
* [[Template:Campaignbox Manassas Campaign|Manassas Campaign]] (July 1861)
}}}}</includeonly>
* [[Template:Campaignbox Blockade of the Carolina Coast|Blockade of the Carolina Coast]] (August 1861)
* [[Template:Campaignbox McClellan's Operations in Northern Virginia|McClellan's Operations in Northern Virginia]] (October&ndash;December 1861)
====1862====
* [[Template:Campaignbox Blockade of the Potomac River|Blockade of the Potomac River]] (October 1861&ndash;January 1862)
* [[Template:Campaignbox Jackson's Operations Against the B&O Railroad|Jackson's Operations Against the B&O Railroad]] (January 1862)
* [[Template:Campaignbox Burnside's North Carolina Expedition|Burnside's North Carolina Expedition]] (February&ndash;June 1862)
* [[Template:Campaignbox Jackson's Valley Campaign|Jackson's Valley Campaign]] (March&ndash;June 1862)
* [[Template:Campaignbox Peninsula Campaign|Peninsula Campaign]] (March&ndash;July 1862)
* [[Template:Campaignbox Northern Virginia Campaign|Northern Virginia Campaign]] (August 1862)
* [[Template:Campaignbox Maryland Campaign|Maryland Campaign]] (September 1862)
* [[Template:Campaignbox Fredericksburg Campaign|Fredericksburg Campaign]] (November&ndash;December 1862)
* [[Template:Campaignbox Goldsboro Expedition|Goldsboro Expedition]] (December 1862)
 
====1863====
* [[Template:Campaignbox Longstreet's Tidewater Operations|Longstreet's Tidewater Operations]] (March&ndash;April 1863)
* [[Template:Campaignbox Cavalry Operations along the Rappahannock|Cavalry Operations along the Rappahannock]] (March 1863)
* [[Template:Campaignbox Chancellorsville Campaign|Chancellorsville Campaign]] (April&ndash;May 1863)
* [[Template:Campaignbox Gettysburg Campaign|Gettysburg Campaign]] (June&ndash;July 1863)
* [[Template:Campaignbox Bristoe Campaign|Bristoe Campaign]] (October&ndash;November 1863)
* [[Template:Campaignbox Averell's Raid on the Virginia & Tennessee Railroad|Averell's Raid on the Virginia & Tennessee Railroad]] (November 1863)
* [[Template:Campaignbox Mine Run Campaign|Mine Run Campaign]] (November&ndash;December 1863)
 
====1864====
* [[Template:Campaignbox Demonstration on the Rapidan River|Demonstration on the Rapidan River]] (February 1864)
* [[Template:Campaignbox Kilpatrick&ndash;Dahlgren Raid|Kilpatrick-Dahlgren Raid]] (March 1864)
* [[Template:Campaignbox Operations Against Plymouth|Operations Against Plymouth]] (April&ndash;May 1864)
* [[Template:Campaignbox Crook&ndash;Averell Raid on the Virginia & Tennessee Railroad|Crook-Averell Raid on the Virginia & Tennessee Railroad]] (May 1864)
* [[Template:Campaignbox Bermuda Hundred Campaign|Bermuda Hundred Campaign]] (May 1864)
* [[Template:Campaignbox Grant's Overland Campaign|Grant's Overland Campaign]] (May&ndash;June 1864)
* [[Template:Campaignbox Lynchburg Campaign|Lynchburg Campaign]] (May&ndash;June 1864)
* [[Template:Campaignbox Early's Raid and Operations Against the B&O Railroad|Early's Raid and Operations Against the B&O Railroad]] (June&ndash;August 1864)
* [[Template:Campaignbox Richmond&ndash;Petersburg Campaign|Richmond&ndash;Petersburg Campaign]] (June 1864 &ndash; March 1865)
* [[Template:Campaignbox Sheridan's Valley Campaign|Sheridan's Valley Campaign]] (August&ndash;October 1864)
* [[Template:Campaignbox Expedition Against Fort Fisher|Expedition Against Fort Fisher]] (December 1864)
 
====1865====
* [[Template:Campaignbox Operations Against Fort Fisher and Wilmington|Operations Against Fort Fisher and Wilmington]] (January&ndash;February 1865)
* [[Template:Campaignbox Sheridan's Expedition to Petersburg|Sheridan's Expedition to Petersburg]] (March 1865)
* [[Template:Campaignbox Appomattox Campaign|Appomattox Campaign]] (March&ndash;April 1865)
 
===Lower Seaboard Theater and Gulf Approach===
====1861====
* [[Template:Campaignbox Operations in Charleston Harbor|Operations in Charleston Harbor]] (April 1861)
* [[Template:Campaignbox Operations of the Gulf Blockading Squadron|Operations of the Gulf Blockading Squadron]] (October 1861)
 
====1862====
* [[Template:Campaignbox Operations Against Fort Pulaski|Operations Against Fort Pulaski]] (April 1862)
* [[Template:Campaignbox Expedition to, and Capture of, New Orleans|Expedition to, and Capture of, New Orleans]] (April&ndash;May 1862)
* [[Template:Campaignbox Operations Against Charleston|Operations Against Charleston]] (June 1862)
* [[Template:Campaignbox Operations Against Tampa|Operations Against Tampa]] (June&ndash;July 1862)
* [[Template:Campaignbox Operations Against Baton Rouge|Operations Against Baton Rouge]] (July&ndash;August 1862)
* [[Template:Campaignbox Expedition to St. John's Bluff|Expedition to St. John's Bluff]] (September&ndash;October 1862)
* [[Template:Campaignbox Operations in LaFourche District|Operations in LaFourche District]] (October 1862)
 
====1863====
* [[Template:Campaignbox Naval Attacks on Fort McAllister|Naval Attacks on Fort McAllister]] (March 1863)
* [[Template:Campaignbox Operations in West Louisiana|Operations in West Louisiana]] (April 1863)
* [[Template:Campaignbox Operations Against the Defenses of Charleston|Operations Against the Defenses of Charleston]] (April&ndash;September 1863)
* [[Template:Campaignbox Siege of Port Hudson|Siege of Port Hudson]] (May&ndash;July 1863)
* [[Template:Campaignbox Taylor's Operations in West Louisiana|Taylor's Operations in West Louisiana]] (June&ndash;September 1863)
* [[Template:Campaignbox Expedition to Hillsboro River|Expedition to Hillsboro River]] (October 1863)
 
====1864====
* [[Template:Campaignbox Florida Expedition|Florida Expedition]] (February 1864)
 
====1865====
* [[Template:Campaignbox Operations near Saint Mark's|Operations near Saint Mark's]] (March 1865)
 
===Main Western Theater (omitting Gulf Approach)===
====1861====
* [[Template:Campaignbox Operations in Eastern Kentucky|Operations in Eastern Kentucky]] (September-December 1861)
* [[Template:Campaignbox Operations at the Ohio and Mississippi River Confluence|Operations at the Ohio and Mississippi River Confluence]] (November 1861)
 
====1862====
* [[Template:Campaignbox Offensive in Eastern Kentucky|Offensive in Eastern Kentucky]] (January 1862)
* [[Template:Campaignbox Federal Penetration up the Cumberland and Tennessee Rivers|Federal Penetration up the Cumberland and Tennessee Rivers]] (February-June 1862)
* [[Template:Campaignbox Joint Operations Against New Madrid, Island No. 10, and Memphis|Joint Operations Against New Madrid, Island No. 10, and Memphis]] (February-June 1862)
* [[Template:Campaignbox Confederate Heartland Offensive|Confederate Heartland Offensive]] (June-October 1862)
* [[Template:Campaignbox Iuka and Corinth Operations|Iuka and Corinth Operations]] (September-October 1862)
 
====1863====
* [[Template:Campaignbox Stones River Campaign|Stones River Campaign]] (December 1862 - January 1863)
* [[Template:Campaignbox Forrest's Expedition into West Tennessee|Forrest's Expedition into West Tennessee]] (December 1862 - January 1863)
* [[Template:Campaignbox Operations Against Vicksburg|Operations Against Vicksburg]] (December 1862 - January 1863)
* [[Template:Campaignbox Grant's Operations Against Vicksburg|Grant's Operations Against Vicksburg]] (March-July 1863)
* [[Template:Campaignbox Middle Tennessee Operations|Middle Tennessee Operations]] (February-April 1863)
* [[Template:Campaignbox Streight's Raid in Alabama and Georgia|Streight's Raid in Alabama and Georgia]] (April 1863)
* [[Template:Campaignbox Tullahoma or Middle Tennessee Campaign|Tullahoma or Middle Tennessee Campaign]] (June 1863)
* [[Template:Campaignbox Morgan's Raid in Kentucky, Indiana, and Ohio|Morgan's Raid in Kentucky, Indiana, and Ohio]] (July 1863)
* [[Template:Campaignbox Chickamauga Campaign|Chickamauga Campaign]] (August-September 1863)
* [[Template:Campaignbox East Tennessee Campaign|East Tennessee Campaign]] (September-October 1863)
* [[Template:Campaignbox Reopening the Tennessee River|Reopening the Tennessee River]] (October 1863)
* [[Template:Campaignbox Operations on the Memphis & Charleston Railroad|Operations on the Memphis & Charleston Railroad]] (November 1863)
* [[Template:Campaignbox Chattanooga-Ringgold Campaign|Chattanooga-Ringgold Campaign]] (November 1863)
* [[Template:Campaignbox Longstreet's Knoxville Campaign|Longstreet's Knoxville Campaign]] (November-December 1863)
* [[Template:Campaignbox Operations about Dandridge|Operations about Dandridge]] (December 1863 - January 1864)
 
====1864====
* [[Template:Campaignbox Operations in North Alabama|Operations in North Alabama]] (January 1864)
* [[Template:Campaignbox Meridian and Yazoo River Expeditions|Meridian and Yazoo River Expeditions]] (February 1864)
* [[Template:Campaignbox Demonstration on Dalton|Demonstration on Dalton]] (February 1864)
* [[Template:Campaignbox Forrest's Expedition into West Tennessee and Kentucky|Forrest's Expedition into West Tennessee and Kentucky]] (March-April 1864)
* [[Template:Campaignbox Atlanta Campaign|Atlanta Campaign]] (May-September 1864)
* [[Template:Campaignbox Morgan's Raid into Kentucky|Morgan's Raid into Kentucky]] (June 1864)
* [[Template:Campaignbox Forrest's Defense of Mississippi|Forrest's Defense of Mississippi]] (June-August 1864)
* [[Template:Campaignbox Operations in Mobile Bay|Operations in Mobile Bay]] (August 1864)
* [[Template:Campaignbox Franklin-Nashville Campaign|Franklin-Nashville Campaign]] (September-December 1864)
* [[Template:Campaignbox Burbridge's Raid into Southwest Virginia|Burbridge's Raid into Southwest Virginia]] (October 1864)
* [[Template:Campaignbox Breckenridge's Advance into East Tennessee|Breckenridge's Advance into East Tennessee]] (November 1864)
* [[Template:Campaignbox Savannah Campaign|Savannah Campaign]] (November-December 1864)
* [[Template:Campaignbox Stoneman's Raid into Southwest Virginia|Stoneman's Raid into Southwest Virginia]] (December 1864)
 
====1865====
* [[Template:Campaignbox Carolinas Campaign|Carolinas Campaign]] (February-March 1865)
* [[Template:Campaignbox Mobile Campaign|Mobile Campaign]] (March-April 1865)
* [[Template:Campaignbox Wilson's Raid in Alabama and Georgia|Wilson's Raid in Alabama and Georgia]] (April 1865)
 
===Trans-Mississippi Theater===
====1861====
* [[Template:Campaignbox Operations to Control Missouri|Operations to Control Missouri]] (June-October 1861)
* [[Template:Campaignbox Operations in the Indian Territory|Operations in the Indian Territory]] (November-December 1861)
* [[Template:Campaignbox Operations in Northeast Missouri|Operations in Northeast Missouri]] (December 1861)
 
====1862====
* [[Template:Campaignbox Sibley's New Mexico Campaign|Sibley's New Mexico Campaign]] (February-March 1862)
* [[Template:Campaignbox Pea Ridge Campaign|Pea Ridge Campaign]] (March 1862)
* [[Template:Campaignbox Operations on the White River|Operations on the White River]] (June 1862)
* [[Template:Campaignbox Operations Near Cache River, Arkansas|Operations Near Cache River, Arkansas]] (July 1862)
* [[Template:Campaignbox Operations North of Boston Mountains|Operations North of Boston Mountains]] (August-November 1862)
* [[Template:Campaignbox Operations to Suppress the Sioux Uprising|Operations to Suppress the Sioux Uprising]] (August-September 1862)
* [[Template:Campaignbox Operations to Blockade the Texas Coast|Operations to Blockade the Texas Coast]] (September 1862 - January 1863)
* [[Template:Campaignbox Prairie Grove Campaign|Prairie Grove Campaign]] (November 1862)
* [[Template:Campaignbox Operations Against Galveston|Operations Against Galveston]] (December 1862 - January 1863)
 
====1863====
* [[Template:Campaignbox Marmaduke's First Expedition into Missouri|Marmaduke's First Expedition into Missouri]] (January 1863)
* [[Template:Campaignbox Marmaduke's Second Expedition into Missouri|Marmaduke's Second Expedition into Missouri]] (April-May 1863)
* [[Template:Campaignbox Operations to Control Indian Territory|Operations to Control Indian Territory]] (June-September 1863)
* [[Template:Campaignbox Operations Against the Sioux in North Dakota|Operations Against the Sioux in North Dakota]] (July 1863)
* [[Template:Campaignbox Quantrill's Raid into Kansas|Quantrill's Raid into Kansas]] (August 1863)
* [[Template:Campaignbox Operations to Blockade the Texas Coast II|Operations to Blockade the Texas Coast II]] (September 1863)
* [[Template:Campaignbox Advance on Little Rock|Advance on Little Rock]] (September-October 1863)
* [[Template:Campaignbox Occupation of Indian Territory North of the Arkansas River|Occupation of Indian Territory North of the Arkansas River]] (October 1863)
 
====1864====
* [[Template:Campaignbox Red River Campaign|Red River Campaign]] (March-April 1864)
* [[Template:Campaignbox Camden Expedition|Camden Expedition]] (April 1864)
* [[Template:Campaignbox Expedition to Lake Village|Expedition to Lake Village]] (June 1864)
* [[Template:Campaignbox Sully's Expedition Against the Sioux in Dakota Territory|Sully's Expedition Against the Sioux in Dakota Territory]] (July 1864)
* [[Template:Campaignbox Price's Missouri Expedition|Price's Missouri Expedition]] (September-October 1864)
* [[Template:Campaignbox Sand Creek Campaign|Sand Creek Campaign]] (November 1864)
 
====1865====
* [[Template:Campaignbox Expedition from Brazos Santiago|Expedition from Brazos Santiago]] (May 1865)
 
===Pacific Coast Theater===
====1863====
* [[Template:Campaignbox Expedition from Camp Douglas, Utah, to Cache Valley, Idaho|Expedition from Camp Douglas, Utah, to Cache Valley, Idaho]] (January 1863)
 
===References===
*[http://www2.cr.nps.gov/abpp/battles/bycampgn.htm CWSAC Battle Summaries]
 
==Franco-Prussian War==
 
* [[Template:Campaignbox Franco-Prussian War|Franco-Prussian War]]
 
==World War I==
=== Western Front ===
* [[Template:Campaignbox Frontiers 1914|Frontiers 1914]]
* [[Template:Campaignbox Retreat to the Marne|Retreat to the Marne]]
* [[Template:Campaignbox Race to the Sea|Race to the Sea]]
* [[Template:Campaignbox Somme 1916|Somme 1916]]
* [[Template:Campaignbox Hundred Days 1918|Hundred Days 1918]]
 
=== Other ===
* [[Template:Campaignbox Gallipoli|Gallipoli]]
* [[Template:Campaignbox Sinai and Palestine|Sinai and Palestine]]
* [[Template:Campaignbox World War I Naval|World War I Naval]]
 
==1918–1939==
* [[Template:Campaignbox Polish-Bolshevik War|Polish-Bolshevik War]]
* [[Template:Campaignbox Spanish Civil War|Spanish Civil War]]
 
==World War II==
===Western European theater===
* [[Template:Campaignbox Mediterranean Naval WW2|Mediterranean Naval WW2]]
* [[Template:Campaignbox Atlantic Naval WW2|Atlantic Naval WW2]]
* [[Template:Campaignbox Western Front (World War II)|Western Front]]
 
===Eastern European theatre===
* [[Template:Campaignbox Polish Defence War|Polish Defence War]]
* [[Template:Campaignbox Operation Tempest|Operation Tempest]]
* [[Template:Campaignbox Axis-Soviet War|Axis-Soviet War]]
 
===African theater===
* [[Template:Campaignbox Western Desert|Western Desert]]
 
===Pacific theater===
* [[Template:Campaignbox Pacific 1941|Pacific 1941]]
* [[Template:Campaignbox Aleutians|Aleutians]]
* [[Template:Campaignbox New Guinea|New Guinea]]
* [[Template:Campaignbox Solomons|Solomons]]
* [[Template:Campaignbox Gilberts and Marshalls|Gilberts and Marshalls]]
* [[Template:Campaignbox Marianas and Palaus|Marianas and Palaus]]
* [[Template:Campaignbox Philippines|Philippines]]
* [[Template:Campaignbox Ryukyus|Ryukyus]]
 
==Cold War==
*[[Template:Campaignbox Korean War|Korean War]]

Latest revision as of 18:50, 3 August 2022

Template:Template display Template:Template redirect Template:Navbox visibility

Usage

Campaignboxes

One common type of navigational template in articles concerning conflicts, wars and related topics is the campaignbox template, intended to provide context and convenient navigation among articles on the battles in a campaign, front, theater or war (or, more rarely, among several campaigns or wars).

If the article includes an infobox, the campaignbox/es are usually placed immediately after it (i.e. just below it). If available, as with infoboxes such as {{Infobox military conflict}}, use the infobox's |campaignbox= parameter:

{{Infobox military conflict
...
}}
{{Campaignbox XXXX}}
or

{{Infobox military conflict ... | campaignbox = {{campaignbox XXXX}} }}

Articles may include multiple campaignboxes; typically, these are stacked under the infobox. The most common scenario occurs when two levels of campaignboxes are present – for example, an article about a battle can include both a campaignbox listing the battle itself and an "enclosing" campaignbox listing the campaign, theater or war during which the battle took place. Similarly, an article about a war can include both a campaignbox listing the war (among a series of wars) and a campaignbox for the war itself, listing the battles that took place during it.

Creating campaignboxes

Existing campaignboxes may be viewed through the Campaignbox template category to which campaignboxes are added automatically. If a new campaignbox becomes necessary, it should be named Template:Campaignbox XXXX (where XXXX is the (shortened) name of the campaign) and should use {{Campaignbox}} thus:

{{Campaignbox
| name = 
| title = 
| battles = 
| notes = 
}}

Parameters

name
The name by which Wikipedia refers to the template, i.e. "Template:Campaignbox XXXX". This can be produced by using {{subst:PAGENAME}}.
title
The name of the campaign or war, which, if an article about the campaign or war exists, should link to it. Dates should not be indicated unless needed for clarity. Note that long links may cause alignment problems; see the troubleshooting guide for more information.
battles
A chronological list of battles and operations in the campaign, linked as [[Battle of YYYY|YYYY]]. A convenient and accessible way to separate the items in the list is to add | listclass = hlist and then use the standard * (asterisk)-based listing format.
notes
(optional) Any explanatory notes needed to clarify the list. This option should be used sparingly.
(raw_name)
(optional; deprecated) This parameter overrides the use of the title in determining the template name and exists for the sake of backward compatibility. When creating a new campaignbox, both title and name should be specified as above and this parameter omitted.

The following optional parameters are passed on to the templates {{Military navigation}} or {{Navbox}} used to create campaignboxes and so can affect their styling. See these two templates' documentation pages for further details.

state
To set whether the campaignbox appears fully visible or collapsed (to titlebar only) when it is first presented by a page.
bodyclass
CSS styling to affect the whole template.
listclass
CSS styling to affect the list of battles, operations, etc. (e.g. to affect |battles=).

The use of special formatting (such as bolding or changes in font size) in the list of battles – particularly to mark battles as "important" – is generally discouraged; while there are a few cases where such approaches may be both helpful to the reader and sufficiently well-sourced that they do not constitute original research, they are usually both unnecessary and potentially confusing. Similarly, dividing the list of battles into multiple blocks by inserting heading-like separations should be exceptional; if such a division is felt to be needed, a better solution may be to split the one campaignbox into two or more.