Template:Campaignbox/doc: Difference between revisions

Jump to navigation Jump to search
imported>Albrecht
m (restore deleted template)
imported>SWinxy
m (add redirect)
 
(382 intermediate revisions by 67 users not shown)
Line 1: Line 1:
==== Campaign ==== <!-- PLEASE DO NOT CHANGE THE LEVEL OF THIS HEADING - IT IS NECESSARY FOR PROPER TRANSCLUSION -->
{{#ifeq:{{{noheader|}}}|yes |
| {{Documentation subpage}}
{{Template display|nomobile}}
{{Template redirect|Campaign}}
{{Navbox visibility}}
== Usage ==
}}
{{#switch:{{ARTICLESPACE}}
| Wikipedia =
 
====Campaignboxes====
| #default =
 
===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 Second Punic War}}
{{Campaignbox Punic Wars}}
{{Campaignbox Punic Wars}}
</div>


A military conflict infobox may optionally be followed by a campaignbox template, which provides quick navigation among the battles in a [[military campaign|campaign]], [[theater (warfare)|theatre]], or war (or, more rarely, among several campaigns or 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:
 
<div style="width:25.0em;border:1px solid black;background:#ddd;padding:0.5em 1.0em;">
The campaignbox should be included directly after the infobox template:
<pre>
 
{{Infobox military conflict
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre>
{{Infobox Military Conflict
...
...
}}
}}
{{Campaignbox XXXX}}
{{Campaignbox XXXX}}
</pre>or<pre>
{{Infobox military conflict
...
| campaignbox = {{campaignbox XXXX}}
}}
</pre></div>
</pre></div>


If multiple campaignboxes are present in an article, they may be stacked following the infobox; alternately, each may be included at the beginning of the section that discusses the campaign in question.
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.


<includeonly>Many campaignboxes have already been created; they are listed '''[[Wikipedia:WikiProject Military history/Campaignboxes|here]]'''. 
=== Creating campaignboxes ===


</includeonly>A campaignbox template should be named ''Template:Campaignbox XXXX'', where XXXX is the name of the campaign (or a shortened form of it), and should use {{tl|Campaign}}, as shown below:
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:
 
<div style="width:16.7em;border:1px solid black;background:#ddd;padding:0.5em 1.0em;">
<div style="width:200px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre>
<pre>
{{Campaign
{{Campaignbox
|name=
| name =
|battles=
| title =  
| battles =
| notes =  
}}
}}
</pre></div>
</pre>
 
</div>
* '''name''' &ndash; the name of the campaign or war, which should be linked to an article about the campaign if one exists.  Dates should not be indicated unless needed for clarity.
* '''battles''' &ndash; an en-dash separated list of battles in the campaign, linked as <nowiki>[[Battle of YYYY|YYYY]]</nowiki>.<noinclude>{{TOCright}} <br/>'''Campaignboxes are generally listed here in chronological order, with some subdivision by geographical area.'''
 
== Ancient ==
 
=== Classical Greece ===
 
* [[Template:Campaignbox Greco-Persian Wars|Greco-Persian Wars]] (500&ndash;448 BC)
* [[Template:Campaignbox Greek wars of the 5th century BC|Greek wars of the 5th century BC]] (457&ndash;447 BC)
* [[Template:Campaignbox Peloponnesian War|Peloponnesian War]] (431&ndash;404 BC)
* [[Template:Campaignbox Phyle Campaign|Phyle Campaign]] (404&ndash;403 BC)
* [[Template:Campaignbox Greek wars of the 4th century BC|Greek wars of the 4th century BC]] (376&ndash;362 BC)
* [[Template:Campaignbox Wars of Alexander the Great|Wars of Alexander the Great]] (338&ndash;326 BC)
* [[Template:Campaignbox Diadochi|Diadochi]] (322&ndash;281 BC)
 
=== Classical Rome ===
 
==== Republic ====
 
* '''[[Template:Campaignbox Wars between Rome and the Gauls|Against the Gauls]]''' (400&ndash;51 BC)
** [[Template:Campaignbox Roman-Gaulish Wars|Roman-Gaulish Wars]] (400&ndash;200 BC)
** [[Template:Campaignbox Gallic Wars|Caesar's Gallic Wars]] (58&ndash;51 BC)
* '''[[Template:Campaignbox Ancient Unification of Italy|Unification of Italy]]''' (343&ndash;88 BC)
** [[Template:Campaignbox Samnite Wars|Samnite Wars]] (343&ndash;290 BC)
** [[Template:Campaignbox Latin War|Latin War]] (340&ndash;338 BC)
** [[Template:Campaignbox Social War (Rome)|Social War]] (91&ndash;88 BC)
* [[Template:Campaignbox Pyrrhic War|Pyrrhic War]] (280&ndash;275 BC)
* '''[[Template:Campaignbox Punic Wars|Punic Wars]]''' (264&ndash;146 BC)
** [[Template:Campaignbox First Punic War|First Punic War]] (264&ndash;241 BC)
** [[Template:Campaignbox Second Punic War|Second Punic War]] (218&ndash;202 BC)
** [[Template:Campaignbox Third Punic War|Third Punic War]] (149&ndash;146 BC)
* '''[[Template:Campaignbox Macedonian Wars|Macedonian Wars]]''' (215&ndash;148 BC)
** [[Template:Campaignbox First Macedonian War|First Macedonian War]] (215&ndash;205 BC)
** [[Template:Campaignbox Second Macedonian War|Second Macedonian War]] (200&ndash;196 BC)
** [[Template:Campaignbox Third Macedonian War|Third Macedonian War]] (171&ndash;168 BC)
** [[Template:Campaignbox Fourth Macedonian War|Fourth Macedonian War]] (150&ndash;148 BC)
* [[Template:Campaignbox Rome against Antiochus III|Rome against Antiochus III]] (191&ndash;190 BC)
* [[Template:Campaignbox Servile Wars|Servile Wars]] (135&ndash;71 BC)
* [[Template:Campaignbox Cimbrian War|Cimbrian War]] (113&ndash;101 BC)
* [[Template:Campaignbox Jugurthine War|Jugurthine War]] (112&ndash;105 BC)
* [[Template:Campaignbox Germanic Wars|Germanic Wars]] (102 BC&ndash;AD 16)
* '''[[Template:Campaignbox Mithridatic Wars|Mithridatic Wars]]''' (88&ndash;65 BC)
** [[Template:Campaignbox First Mithridatic War|First Mithridatic War]] (88–85 BC)
** [[Template:Campaignbox Second Mithridatic War|Second Mithridatic War]] (83–82 BC)
** [[Template:Campaignbox Third Mithridatic War|Third Mithridatic War]] (75–65 BC)
* [[Template:Campaignbox Caesar's Civil War|Caesar's Civil War]] (49&ndash;45 BC)
 
==== Empire ====
 
* [[Template:Campaignbox Roman conquest of Britain|Roman conquest of Britain]] (50&ndash;84)
* [[Template:Campaignbox Year of the Four Emperors|Year of the Four Emperors]] (68&ndash;69)
* [[Template:Campaignbox Rome against the Alamanni|Rome against the Alamanni]] (268&ndash;378)
* [[Template:Campaignbox Battles of Aurelian|Battles of Aurelian]] (271&ndash;73)
* [[Template:Campaignbox Constantine Wars|Battles of Constantine]] (312&ndash;24)
 
=== Carthage ===
 
* [[Template:Campaignbox Mercenary War|Mercenary War]] (240&ndash;237 BC)
 
=== China ===
 
* [[Template:Campaignbox Sino-Xiongnu War|Sino-Xiongnu War]] (133&ndash;36 BC)
* [[Template:Campaignbox Three Kingdoms|Three Kingdoms]] (191&ndash;234)
 
== Medieval ==
 
* [[Template:Campaignbox Wars of Justinian I|Wars of Justinian I]] (533&ndash;53)
* [[Template:Campaignbox Rise of Islam|Rise of Islam]] (622&ndash;32)
* '''Muslim Conquests''' (632&ndash;750)
** [[Template:Campaignbox Byzantine-Arab|Byzantine-Arab Wars]] (630&ndash;717)
** [[Template:Campaignbox Muslim Conquest Persia|Islamic conquest of Persia]] (634&ndash;42)
** [[Template:Campaignbox Muslim Conquest Iberia|Islamic invasion of Western Europe]] (711&ndash;32)
* [[Template:Campaignbox Charles Martel|Campaigns of Charles Martel]] (716&ndash;41)
* [[Template:Campaignbox Reconquista|Reconquista]] (722&ndash;1492)
* [[Template:Campaignbox Wars of Charlemagne|Campaigns of Charlemagne]] (771&ndash;804)
* [[Template:Campaignbox 2nd Koryo - Khitan War|Second Koryo-Khitan War]] (1010&ndash;11)
* [[Template:Campaignbox Third Koryo-Khitan War|Third Koryo-Khitan War]] (1018&ndash;19)
* [[Template:Campaignbox Byzantine-Georgian wars|Byzantine-Georgian wars]] (1021&ndash;42)
* [[Template:Campaignbox First Crusade|First Crusade]] (1095&ndash;99)
* [[Template:Campaignbox Georgian-Seljuk wars|Georgian-Seljuk wars]] (1121&ndash;1203)
* [[Template:Campaignbox Ayyubid-Crusader War|Ayyubid-Crusader War]] (1177&ndash;87)
* [[Template:Campaignbox Genpei War|Genpei War]] (1180&ndash;85)
* [[Template:Campaignbox Guelphs and Ghibellines|Wars of the Guelphs and Ghibellines]] (1186&ndash;1325)
* [[Template:Campaignbox Third Crusade|Third Crusade]] (1189&ndash;92)
* [[Template:Campaignbox Mongol invasions|Mongol invasions]] (1206&ndash;86)
* [[Template:Campaignbox Wars of Scottish Independence|Wars of Scottish Independence]] (1296&ndash;1357)
* [[Template:Campaignbox Nanboku-chō Wars|Nanboku-chō Wars]] (1336&ndash;92)
* [[Template:Campaignbox Hundred Years' War|Hundred Years' War]] (1337&ndash;1453)
* [[Template:Campaignbox Portuguese Crisis 1383|Portuguese Crisis 1383]] (1383&ndash;85)
* [[Template:Campaignbox Ottoman-Hungarian War|Ottoman-Hungarian War]] (1395&ndash;1526)
 
== 15th and 16th centuries ==
 
* [[Template:Campaignbox Polish-Lithuanian-Teutonic War (1409-1411)|Polish-Lithuanian-Teutonic War]] (1409&ndash;11)
* [[Template:Campaignbox Hussite Wars|Hussite Wars]] (1420&ndash;34)
* [[Template:Campaignbox Thirteen Years' War|Thirteen Years' War]] (1454&ndash;66)
* [[Template:Campaignbox Wars of the Roses|Wars of the Roses]] (1455&ndash;87)
* '''Sengoku Japan''' (1467&ndash;1615)
** [[Template:Campaignbox Campaigns of the Hojo|Campaigns of the Hōjō]] (1516&ndash;90)
** [[Template:Campaignbox Campaigns of the Takeda|Campaigns of the Takeda]] (1536&ndash;82)
** [[Template:Campaignbox Campaigns of Oda Nobunaga|Campaigns of Oda Nobunaga]] (1570&ndash;82)
** [[Template:Campaignbox Campaigns of Toyotomi Hideyoshi|Campaigns of Toyotomi Hideyoshi]] (1578&ndash;90)
** [[Template:Campaignbox Seven-Year War|Seven-Year War]] (1592&ndash;98)
*** [[Template:Campaignbox Chungju Campaign|Chungju Campaign]] (April 1592)
** [[Template:Campaignbox Campaigns of Tokugawa Ieyasu|Campaigns of Tokugawa Ieyasu]] (1570&ndash;1600)
** [[Template:Campaignbox Sekigahara Campaign|Sekigahara Campaign]] (1600)
* [[Template:Campaignbox Burgundian Wars|Burgundian Wars]] (1474&ndash;77)
* '''[[Template:Campaignbox Italian Wars|Italian Wars]]''' (1494&ndash;1559)
** [[Template:Campaignbox First Italian War|First Italian War]] (1494&ndash;95)
** [[Template:Campaignbox Second Italian War|Second Italian War]] (1499&ndash;1505)
** [[Template:Campaignbox War of the League of Cambrai|War of the League of Cambrai]] (1509&ndash;16)
** [[Template:Campaignbox Italian War of 1521|Italian War of 1521]] (1521&ndash;25)
** [[Template:Campaignbox War of the League of Cognac|War of the League of Cognac]] (1526&ndash;30)
** [[Template:Campaignbox Italian War of 1542|Italian War of 1542]] (1542&ndash;45)
** [[Template:Campaignbox Habsburg-Valois War|Habsburg-Valois War]] (1547&ndash;59)
* [[Template:Campaignbox Spanish conquest of Peru|Conquest of Peru]] (1525&ndash;32)
* '''Eighty Years' War''' (1568&ndash;1648)
** [[Template:Campaignbox Eighty Years' War|Eighty Years' War]] (1568&ndash;1648)
** [[Template:Campaignbox Eighty Years' War Naval|Naval]] (1617&ndash;47)
 
== 17th century ==
 
* [[Template:Campaignbox Polish-Muscovite War (1605-1618)|Polish-Muscovite War]] (1605&ndash;18)
* [[Template:Campaignbox Siege of Osaka|Siege of Osaka]] (1614&ndash;15)
* '''Thirty Years' War''' (1618&ndash;58)
** [[Template:Campaignbox Thirty Years' War Bohemian Revolt|Bohemian Revolt]] (1618&ndash;25)
** [[Template:Campaignbox Thirty Years' War Danish Intervention|Danish Intervention]] (1625&ndash;29)
** [[Template:Campaignbox Swedish intervention in the Thirty Years' War|Swedish Intervention]] (1630&ndash;35)
** [[Template:Campaignbox Thirty Years' War Swedish-French Intervention|Swedish-French Intervention]] (1636&ndash;48)
** [[Template:Campaignbox Thirty Years' War Post-bellum Period|Post-bellum Period]] (1654&ndash;58)
* [[Template:Campaignbox Irish Confederate Wars|Irish Confederate War]] (1641&ndash;1653)
** [[Template:Campaignbox Cromwellian conquest of Ireland|Cromwellian conquest of Ireland]] (1649&ndash;50)
* [[Template:Campaignbox Scottish Civil War|Scottish Civil War]] (1644&ndash;47)
* [[Template:Campaignbox Chmielnicki's Uprising|Chmielnicki's Uprising]] (1648&ndash;54)
* [[Template:Campaignbox First Anglo-Dutch War|First Anglo-Dutch War]] (1652&ndash;54)
* [[Template:Campaignbox The Deluge|The Deluge]] (1655&ndash;60)
* [[Template:Campaignbox Dutch War|Dutch War]] (1672&ndash;78)
* [[Template:Campaignbox Scanian War|Scanian War]] (1675&ndash;79)
* [[Template:Campaignbox Williamite war in Ireland|Williamite war in Ireland]] (1688&ndash;90)
* [[Template:Campaignbox War of the Grand Alliance|War of the Grand Alliance]] (1688&ndash;97)
 
== 18th century ==
 
* [[Template:Campaignbox Great Northern War|Great Northern War]] (1700&ndash;21)
* [[Template:Campaignbox War of the Spanish Succession|War of the Spanish Succession]] (1701&ndash;14)
* '''Jacobite Risings''' (1714&ndash;46)
** [[Template:Campaignbox First Jacobite Rising|First Jacobite Rising]] (1715)
** [[Template:Campaignbox Second Jacobite Rising|Second Jacobite Rising]] (1745)
* [[Template:Campaignbox War of the Polish Succession|War of the Polish Succession]] (1733&ndash;38)
* '''War of the Austrian Succession''' (1740&ndash;48)
** [[Template:Campaignbox War of the Austrian Succession|War of the Austrian Succession]] (1740&ndash;48)
** [[Template:Campaignbox War of the Austrian Succession: Italy|Italian Campaign]] (1741&ndash;48)
* '''Seven Years' War''' (1754&ndash;63)
** [[Template:Campaignbox Seven Years' War: European|Europe]] (1754&ndash;63)
** [[Template:Campaignbox French and Indian War|North America]] (1754&ndash;63)
** [[Template:Campaignbox Seven Years' War: East Indies|East Indies]] (1757&ndash;63)
** [[Template:Campaignbox Seven Years' War: Quiberon|Invasion of British Isles]] (1759)
* [[Template:Campaignbox Pontiac's Rebellion|Pontiac's Rebellion]] (1763&ndash;66)
* '''[[Template:Campaignbox American Revolutionary War|American Revolutionary War]]''' (1775&ndash;83)
** [[Template:Campaignbox American Revolutionary War: Boston|Boston campaign]] (1775&ndash;76)
** [[Template:Campaignbox American Revolutionary War: Northern 1775|New York and New Jersey campaigns]] (1776&ndash;77)
** [[Template:Campaignbox American Revolutionary War: Canada|Canada]] (1775&ndash;77)
** [[Template:Campaignbox American Revolutionary War: Saratoga campaign|Saratoga campaign]] (1777)
** [[Template:Campaignbox American Revolutionary War: Philadelphia|Philadelpia campaign]] (1777&ndash;78)
** [[Template:Campaignbox American Revolutionary War: Northern 1777|Northern theater after Saratoga]] (1778&ndash;81)
** [[Template:Campaignbox American Revolutionary War: Southern|Southern theater]] (1775&ndash;83)
** [[Template:Campaignbox American Revolutionary War: Western|Western theater]] (1779&ndash;82)
** [[Template:Campaignbox American Revolutionary War: Gulf Coast|Gulf Coast]] (1779&ndash;83)
** [[Template:Campaignbox American Revolutionary War: American Waters|American Waters]] (1775&ndash;82)
** [[Template:Campaignbox American War of Independence: European Waters|European Waters]] (1778&ndash;82)
** [[Template:Campaignbox American War of Independence: West Indies|West Indies]] (1778&ndash;82)
** [[Template:Campaignbox American War of Independence: East Indies|East Indies]] (1778&ndash;83)
* [[Template:Campaignbox Northwest Indian War|Northwest Indian War]] (1785&ndash;95)
* [[Template:Campaignbox Russo-Swedish War|Russo-Swedish War]] (1788&ndash;90)
* [[Template:Campaignbox War in Defense of the Constitution|War in Defense of the Constitution]] (1792)
* [[Template:Campaignbox Kościuszko Uprising|Kościuszko Uprising]] (1794)
* [[Template:Campaignbox Irish Rebellion of 1798|Irish Rebellion of 1798]] (1798)
 
== French Revolutionary and Napoleonic Wars (1792&ndash;1815) ==
 
* '''War of the First Coalition''' (1792&ndash;97)
** [[Template:Campaignbox First Coalition:Spain|Franco-Spanish War]] (1793&ndash;95)
* [[Template:Campaignbox Second Coalition|Second Coalition]] (1798&ndash;1800)
* [[Template:Campaignbox Egypt-Syria|Egypt-Syria]] (1798&ndash;1800)
* [[Template:Campaignbox Gunboat War|Gunboat War]] (1801&ndash;14)
* [[Template:Campaignbox Third Coalition|Third Coalition]] (1805)
** [[Template:Campaignbox Trafalgar Campaign|Trafalgar Campaign]] (1805)
* [[Template:Campaignbox Fourth Coalition|Fourth Coalition]] (1806&ndash;07)
* [[Template:Campaignbox Finnish War|Finnish War]] (1808&ndash;09)
* '''Peninsular War''' (1808&ndash;1814)
** [[Template:Campaignbox Peninsular War|Peninsular War]] (1808&ndash;14)
** [[Template:Campaignbox Peninsular War:1808|Campaign of 1808]] (1808)
** [[Template:Campaignbox Peninsular War:1809|Napoleon's invasion of Spain]] (1808&ndash;09)
* [[Template:Campaignbox Fifth Coalition|Fifth Coalition]] (1809)
* [[Template:Campaignbox Napoleon's invasion of Russia|Napoleon's invasion of Russia]] (1812)
* [[Template:Campaignbox Sixth Coalition|Sixth Coalition]] (1812&ndash;14)
* [[Template:Campaignbox Waterloo|Waterloo]] (1815)
 
== Early 19th century (1801&ndash;60) ==
 
* [[Template:Campaignbox First Barbary War|First Barbary War]] (1801&ndash;05)
* '''War of 1812''' (1811&ndash;15)
** [[Template:Campaignbox War of 1812: Old Northwest|Detroit frontier]] (1811&ndash;14)
** [[Template:Campaignbox War of 1812|St. Lawrence/Lake Champlain frontier]] (1813&ndash;14)
** [[Template:Campaignbox War of 1812: Niagara frontier|Niagara frontier]] (1812&ndash;14)
** [[Template:Campaignbox War of 1812: Chesapeake campaign|Chesapeake campaign]] (1813&ndash;14)
** [[Template:Campaignbox War of 1812: American South|American South]] (1813&ndash;15)
** [[Template:Campaignbox Creek War|Creek War]] (1813&ndash;14)
* [[Template:Campaignbox Chilean War of Independence|Chilean War of Independence]] (1817&ndash;18)
* [[Template:Campaignbox Seminole Wars|Seminole Wars]] (1817&ndash;58)
* [[Template:Campaignbox November Uprising|November Uprising]] (1830&ndash;31)
* [[Template:Campaignbox Black Hawk War|Black Hawk War]] (1832)
* [[Template:Campaignbox Texas Revolution|Texas Revolution]] (1835-36)
* '''Rebellions of 1837''' (1837&ndash;39)
** [[Template:Campaignbox Lower Canada Rebellion|Patriotes Rebellion]] (1837&ndash;39)
** [[Template:Campaignbox Upper Canada Rebellion|Upper Canada Rebellion]] (1837&ndash;38)
* [[Template:Campaignbox New Zealand land wars|New Zealand land wars]] (1845&ndash;72)
* '''Mexican-American War''' (1846&ndash;47)
** [[Template:Campaignbox Operations along the Rio Grande|Operations along the Rio Grande]] (1846)
** [[Template:Campaignbox Taos Revolt|Taos Revolt]] (1846)
** [[Template:Campaignbox California Campaign|California Campaign]] (August 1846 &ndash; January 1847)
** [[Template:Campaignbox mex-war-northren|Taylor's Northern Campaign]] (September 1846 &ndash; February 1847)
** [[Template:Campaignbox Siege and Relief of Puebla|Siege and Relief of Puebla]] (1847)
** [[Template:Campaignbox Scott's Central Mexico Campaign|Scott's Central Mexico Campaign]] (1847)
** [[Template:Campaignbox Gulf Coast Opperations|Gulf Coast Opperations]] (1846&ndash;47)
** [[Template:Campaignbox Chihuahua Expedition|Chihuahua Expedition]] (1847)
* [[Template:Campaignbox Second Anglo-Sikh War|Second Anglo-Sikh War]] (1848&ndash;49)
* [[Template:Campaignbox Crimean War|Crimean War]] (1854&ndash;56)
* [[Template:Campaignbox Yakima War|Yakima War]] (1855&ndash;58)
* [[Template:Campaignbox Austro Sardinian War|Austro-Sardinian War]] (1859)
 
== American Civil War (1861&ndash;65) ==
 
=== Main Eastern Theater ===
 
* '''1861'''
** [[Template:Campaignbox Blockade of the Chesapeake Bay|Blockade of the Chesapeake Bay]] (May&ndash;June 1861)
** [[Template:Campaignbox Operations in Western Virginia|Operations in Western Virginia]] (June&ndash;December 1861)
** [[Template:Campaignbox Manassas Campaign|Manassas Campaign]] (July 1861)
** [[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 Battles of the California Column|Battles of the California Column]] (April&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-Dahlgren Raid|Kilpatrick-Dahlgren Raid]] (March 1864)
** [[Template:Campaignbox Operations Against Plymouth|Operations Against Plymouth]] (April&ndash;May 1864)
** [[Template:Campaignbox Crook-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-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)
 
* '''1865'''
** [[Template:Campaignbox Operations Against Fort Fisher and Wilmington|Operations Against Fort Fisher and Wilmington]] (December 1864&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 Operations Against Major Confederate Cities 1862|Operations Against Major Confederate Cities 1862]] (April&ndash;October 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)
** [[Template:Campaignbox Forrest's Expedition into West Tennessee|Forrest's Expedition into West Tennessee]] (December 1862)
 
* '''1863'''
** [[Template:Campaignbox Stones River Campaign|Stones River Campaign]] (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-June 1863)
** [[Template:Campaignbox Streight's Raid in Alabama and Georgia|Streight's Raid in Alabama and Georgia]] (April 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 Near the White River|Operations Near the White River]] (June-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)
** [[Template:Campaignbox Southern Plains Campaign|Southern Plains 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)
 
== Late 19th century (1861&ndash;1900) ==
 
* '''American Indian Wars''' (1860s&ndash;1890s)
** [[Template:Campaignbox_Comanche_Campaign|Comanche Campaign]] (1868&ndash;74)
** [[Template:Campaignbox Red River War|Red River War]] (1874&ndash;75)
** [[Template:Campaignbox 1876 North Plains Campaign|North Plains Campaign]] (1876)
** [[Template:Campaignbox Pine Ridge Campaign|Pine Ridge Campaign]] (1890)
* [[Template:Campaignbox January Uprising|January Uprising]] (1863&ndash;65)
* [[Template:Campaignbox Chincha Islands War|Chincha Islands War]] (1864&ndash;66)
* [[Template:Campaignbox War of the Triple Alliance|War of the Triple Alliance]] (1864&ndash;70)
* [[Template:Campaignbox Powder River Expedition|Powder River Expedition]] (1865)
* [[Template:Campaignbox Austro-Prussian War|Austro-Prussian War]] (1866)
* [[Template:Campaignbox Fenian Raids|Fenian Raids]] (1866&ndash;71)
* '''[[Template:Campaignbox Franco-Prussian War|Franco-Prussian War]]''' (1870&ndash;71)
** [[Template:Campaignbox Siege of Paris|Siege of Paris]] (1870)
** [[Template:Campaignbox Loire Campaign|Loire Campaign]] (1871)
* [[Template:Campaignbox Nez Percé Campaign|Nez Percé Campaign]] (1877)
* [[Template:Campaignbox Russo-Turkish War, 1877-1878|Russo-Turkish War]] (1877&ndash;78)
* [[Template:Campaignbox Anglo-Zulu War|Anglo-Zulu War]] (1879)
* [[Template:Campaignbox War of the Pacific|War of the Pacific]] (1879&ndash;84)
* [[Template:Campaignbox First Boer War|First Boer War]] (1880&ndash;81)
* [[Template:Campaignbox North-West Rebellion|North-West Rebellion]] (1885)
* '''Spanish-American War''' (1898)
** [[Template:Campaignbox Spanish-American War: Cuba|Cuba]] (1898)
** [[Template:Campaignbox Spanish-American War: Pacific|Pacific]] (1898)
** [[Template:Campaignbox Spanish-American War: Puerto Rico|Puerto Rico]] (1898)
* '''Phillipine-American War''' (1899)
** [[Template:Campaignbox Laguna de Bay Campaign|Laguna de Bay Campaign]] (1899)
** [[Template:Campaignbox San Fabian Campaign|San Fabian Campaign]] (1899)
* [[Template:Campaignbox Second Boer War|Second Boer War]] (1899&ndash;1902)
 
== Early 20th century (1901&ndash;14) ==
 
* [[Template:Campaignbox Russo-Japanese War|Russo-Japanese War]] (1904&ndash;05)
* [[Template:Campaignbox First Balkan War|First Balkan War]] (1912–13)
* [[Template:Campaignbox Second Balkan War|Second Balkan War]] (1913)
 
== World War I (1914&ndash;18) ==
 
=== 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]]
 
=== War at Sea ===
 
* [[Template:Campaignbox North Sea 1914-1918|North Sea]]
* [[Template:Campaignbox Command of the Oceans 1914-1918|Ocean Trade]]
 
=== Other ===
 
* [[Template:Campaignbox Russian Front|Russian Front]]
* [[Template:Campaignbox Italian Front|Italian Front]]
* [[Template:Campaignbox East Africa WWI|East Africa]]
* [[Template:Campaignbox Gallipoli|Gallipoli]]
* [[Template:Campaignbox Mesopotamian|Mesopotomia]]
* [[Template:Campaignbox Sinai and Palestine|Sinai and Palestine]]
 
== Inter-war period (1918&ndash;39) ==
 
* [[Template:Campaignbox Polish-Ukrainian War|Polish-Ukrainian War]] (1918&ndash;19)
* [[Template:Campaignbox Polish-Bolshevik War|Polish-Bolshevik War]] (1919&ndash;21)
* [[Template:Campaignbox Greco-Turkish War|Greco-Turkish War]] (1919&ndash;22)
* [[Template:Campaignbox Polish-Lithuanian War|Polish-Lithuanian War]] (1920)
* [[Template:Campaignbox Spanish Civil War|Spanish Civil War]] (1936&ndash;39)
 
== World War II (1939&ndash;45) ==
 
=== North-Western Europe ===
 
* [[Template:Campaignbox Atlantic Campaign|Atlantic Campaign]]
* [[Template:Campaignbox Western Front (World War II)|Western Front]]
* [[Template:Campaignbox Nazi occupation of Norway|Nazi occupation of Norway]]
* [[Template:Campaignbox Normandy|Normandy]]
* [[Template:Campaignbox Siegfried Line|Siegfried Line]]
 
=== Eastern Europe ===
 
* [[Template:Campaignbox Polish September Campaign|Polish September Campaign]]
* [[Template:Campaignbox Winter War|Winter War]]
* [[Template:Campaignbox Balkans Campaign|Balkans Campaign]]
* [[Template:Campaignbox Axis-Soviet War|Axis-Soviet War]]
* [[Template:Campaignbox Operation Tempest|Operation Tempest]]
* [[Template:Campaignbox Continuation War|Continuation War]]
* [[Template:Campaignbox Lapland War|Lapland War]]
 
=== Mediterranean and Middle East ===
 
* [[Template:Campaignbox Mediterranean Campaign|Mediterranean Campaign]]
* [[Template:Campaignbox Western Desert|Western Desert]]
 
=== South-East Asia ===
 
 
=== Pacific ===
 
* [[Template:Campaignbox Second Sino-Japanese war|Second Sino-Japanese war]] (1937&ndash;45)
* [[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 Borneo Campaign (1945)|Borneo Campaign]] (1945)
* [[Template:Campaignbox Philippines|Philippines]]
* [[Template:Campaignbox Ryukyus|Ryukyus]]
 
== Late 20th century (1945&ndash;2000) ==
 
* [[Template:Campaignbox Indo-Pakistani Wars|Indo-Pakistani Wars]] (1947&ndash;99)
* [[Template:Campaignbox Arab-Israeli conflict|Arab-Israeli conflict]] (1948&ndash;present)
* [[Template:Campaignbox Korean War|Korean War]] (1950&ndash;53)
* [[Template:Campaignbox Capture of East Jerusalem|Capture of East Jerusalem]] (1967)
* [[Template:Campaignbox Lebanese Civil War|Lebanese Civil War]] (1975&ndash;90)
* [[Template:Campaignbox Persian Gulf Wars|Persian Gulf Wars]] (1980&ndash;present)


== Early 21st century (2001–present) ==
==== Parameters ====
; ''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>.
; ''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.
; ''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]].
; ''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.


* [[Template:Campaignbox U.S. Invasion of Afghanistan|U.S. Invasion of Afghanistan]] (2001–02)
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 Chad-Sudan|Chadian-Sudanese War]] (2005 - 2006)
; ''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 {{para|battles}}).


== Fictional ==
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>


* '''Wars in Tolkien's Middle-earth'''
[[Category:WikiProject Military history template instructions|Campaignbox]]
** [[Template:Campaignbox Wars of Beleriand|Wars of Beleriand]]
</noinclude><includeonly>{{Sandbox other||
** [[Template:Campaignbox War of Sauron and the Elves|War of Sauron and the Elves]]
[[Category:Campaignbox templates| ]]
** [[Template:Campaignbox War of the Ring|War of the Ring]]
{{#ifeq:{{{noheader|}}}|yes | |
* '''Wars in Star Trek'''
[[Category:Navigational box wrapper templates]]
** [[Template:Campaignbox Dominion War|Dominion War]]
[[Category:Military navigational boxes|Campaignbox]]
* '''Wars in Star Wars'''
[[Category:Templates that add a category]]
** [[Template:Campaignbox Clone Wars (22-21.7 BBY)|Clone Wars (22&ndash;21.7 BBY)]]
}}}}</includeonly>
** [[Template:Campaignbox Clone Wars (21.6-19 BBY)|Clone Wars (21.6&ndash;19 BBY)]]
** [[Template:Campaignbox Galactic Civil War|Galactic Civil War]] (0 - 4 ABY)
* [[Template:Campaignbox War of the Worlds|War of the Worlds]]
* [[Template:Campaignbox Animal Farm|Animal Farm]]
[[Category:WikiProject Military history|Campaignboxes]]</noinclude><!-- DO NOT REMOVE THIS LINE -->

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.