Pumunta sa nilalaman

Padron:Campaign/doc

Mula sa Wikipedia, ang malayang ensiklopedya

Usage

Campaignboxes

[baguhin ang wikitext]

One commontype of navigational template is the campaignbox template, which provides quick navigation among the battles in a campaign, theatre, of war (or, more rarely, among several campaigns or wars).

The campaignbox should generally be included directly after the infobox template, if one is present:

{{Infobox Military Conflict
...
}}
{{Campaignbox XXXX}}

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 campaignboxes listing the battle itself and an "enclosing" campaignbox listing the campaign, theather, 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 automatically-generated category. If a new one in necessary, it 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
|raw_name=
|name=
|battles=
|notes=
}}
  • name = 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. Note that long links may cause alignment problems: see the troubleshooting guide for a workaround.
  • raw_mane = the actual name of the created template (i.e. "Campaignbox XXX"); this can be easily produced by using {{subst:PAGENAME}}.
  • battles = a chronological, en-dash separated list of battles and operations in the campaign, linked as [[Battle of YYYY|YYYY]]; non-breaking spaces ( ) should be used to ensure that multi-word names do not split over multiple lines.
  • notes = optional - any needed explanatory notes for the list of operations; this field should be used sparingly.