Template:Campaignbox/doc: Difference between revisions

Jump to navigation Jump to search
imported>McMuff
imported>Comte de Chagny
Line 1: Line 1:
==== Campaignboxes ==== <!-- PLEASE DO NOT CHANGE THE LEVEL OF THIS HEADING - IT IS NECESSARY FOR PROPER TRANSCLUSION -->
==== Campaignboxes ====
 
<div style="float: right; width: 320px; margin-bottom: 1em;">{{Campaignbox Second Punic War}}
<div style="float: right; width: 320px; margin-bottom: 1em;">{{Campaignbox Second Punic War}}
{{Campaignbox Punic Wars}}</div><noinclude><div style="float: right; width: 100px; margin-bottom: 1em;">{{shortcut|[[WP:CAMPAIGN]]}}</div></noinclude>
{{Campaignbox Punic Wars}}</div><noinclude><div style="float: right; width: 100px; margin-bottom: 1em;">{{shortcut|[[WP:CAMPAIGN]]}}</div></noinclude>
An 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).
The campaignbox should be included directly after the infobox template:


<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre>
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre>
Line 14: Line 11:
</pre></div>
</pre></div>


For particular combinations of the relative sizes of the infobox and the lead section, the presence of a campaignbox may cause [[Wikipedia:How to fix bunched up edit links|bunched up edit links]].
Creating campaignboxes
 
Articles may include multiple campaignboxes (which are typically stacked following 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
<includeonly>Many campaignboxes have already been created; they are listed '''[[Wikipedia:WikiProject Military history/Campaignboxes|here]]'''.  When creating new ones, please remember to add them to the list.   
<includeonly>Many campaignboxes have already been created; they are listed '''[[Wikipedia:WikiProject Military history/Campaignboxes|here]]'''.  When creating new ones, please remember to add them to the list.   


Line 29: Line 22:
}}
}}
</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; a ''chronological,'' en-dash separated list of battles and operations in the campaign, linked as <code><nowiki>[[Battle of YYYY|YYYY]]</nowiki></code>; non-breaking spaces (<code>&amp;nbsp;</code>) should be used to ensure that multi-word names do not split over multiple lines.


For example:
For example:
Line 45: Line 35:
}}
}}
</pre></div>
</pre></div>
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 both unnecessary and confusing in most circumstances.  Similarly, dividing the list of battles into multiple blocks by inserting heading-like separations is not recommended in most cases; if such a division is needed, it is usually best accomplished by splitting the template into two separate campaignboxes.
Articles other than those about military conflicts—such as those dealing with personnel or military units—may use the campaignbox formatting to create lists of battles or wars in which the subject participated.  In this case, the box should be created by including {{tl|Campaign}} directly in the article, without creating a separate template.<noinclude>{{TOCright}} <br/>'''Campaignboxes are generally listed here in chronological order by the START of the conflict''', with some subdivision by theater in the case of extremely complicated conflicts.


== Ancient ==
== Ancient ==

Revision as of 13:39, 27 June 2007

Campaignboxes

Template:Shortcut
{{Infobox Military Conflict
...
}}
{{Campaignbox XXXX}}

Creating campaignboxes 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 {{Campaign}}, as shown below:

{{Campaign
|name=
|battles=
}}

For example:

{{Campaign
|name= [[Italian War of 1542]]
|battles= [[Siege of Nice|Nice]]&nbsp;&ndash; 
[[Battle of Ceresole|Ceresole]]&nbsp;&ndash; 
[[Battle of Serravalle|Serravalle]]&nbsp;&ndash; 
[[Siege of St. Dizier (1544)|St. Dizier]]&nbsp;&ndash; 
[[Siege of Boulogne|Boulogne]]&nbsp;&ndash; 
[[Battle of the Solent|Solent]]
}}

Ancient

Medieval

15th–17th centuries

18th century

French Revolutionary and Napoleonic Wars (1792–1815)

Early 19th century (1801–60)

American Civil War (1861–65)

Main Eastern Theater

Lower Seaboard Theater and Gulf Approach

Main Western Theater (omitting Gulf Approach)

Trans-Mississippi Theater

Pacific Coast Theater

Late 19th century (1861–1900)

Early 20th century (1901–14)

World War I (1914–18)

Inter-war period (1918–39)

World War II (1939–45)

North-Western Europe

Eastern Europe

Mediterranean and Middle East

Asia and Pacific

Post-World War II (1939–present)