FANDOM


 
Line 1: Line 1:
<includeonly>
+
{| class="infobox" style="width: 315px; border-spacing: 1px; font-size: 95%; text-align: left; color: #FFFFFF; background-color: #1C1D29;"
+
{| border="solid #aaa 1px" cellpadding="4" cellspacing="0" style="border-collapse: collapse; margin:0 auto;"
|-
+
| colspan="3" style="background-color:#393A53; color:#FFFFFF; padding:0.3em; text-align:center;" | {{{2|{{{info|Enter Name Here}}}}}}
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="background-color: #393A53; color: #FFFFFF; text-align: center;" | {{{conflict|{{PAGENAME}}}}}
 
 
|-
 
|-
{{#if:{{{partof|}}} |
+
| colspan="3" style="background-color:#393A53; color:#FFFFFF; font-weight: bold; padding:0.3em; text-align:center;" | {{{2|{{{header1|Enter Name Here}}}}}}
{{!}} {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; color: #FFFFFF; background-color: #393A53;" {{!}} Part of {{{partof|}}}
+
|- style="align:center; text-align: center;"
}}
+
| width="30%" | Preceded by:<br />'''{{{before1}}}'''
  +
| width="40%" style="text-align: center;" | '''{{{title1}}}'''<br />{{{years1}}}
  +
| width="30%" | Succeeded by:<br />'''{{{after1}}}'''
 
|-
 
|-
{{#if:{{{image|}}} |
+
{{ #if:{{{before2|}}}{{{title2|}}}{{{after2|}}}|{{!}} colspan="3" style="background-color:#393A53; color:#FFFFFF; font-weight: bold; text-align:center;" {{!}} {{{2|{{{header2|}}}} }}
{{!}} {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
 
}}
 
 
|-
 
|-
| {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} |
+
{{ #if:{{{before2|}}}| width="30%" | Preceded by:<br />'''{{{before2}}}''' }}
{| class="infobox" width="100%" style="color: #FFFFFF; background-color: #1C1D29; margin: 0; cellpadding: 0; padding: 0; border: 0;"
+
{{ #if:{{{title2|}}}| width="40%" style="text-align: center;" | '''{{{title2}}}'''<br />{{{years2}}} }}
|-
+
{{ #if:{{{after2|}}}| width="30%" | Succeeded by:<br />'''{{{after2}}}''' }}
! style="padding-right: 1em;" | Date
+
|}<noinclude>
| {{{date|}}}
+
This template is for use on articles about characters when listing succession is needed.
|-
+
! style="padding-right: 1em;" | Location
+
==Usage==
| {{{place|}}}
+
<pre><nowiki>
|-
 
! style="padding-right: 1em;" | Result
 
| {{{result|}}}
 
|-
 
{{#if:{{{casus|}}} |
 
! style="padding-right: 1em;" {{!}} <i>[[Casus belli|Casus&nbsp;belli]]</i>
 
{{!}} {{{casus|}}}
 
}}
 
|-
 
{{#if:{{{territory|}}} |
 
! style="padding-right: 1em;" {{!}} Territorial<br>changes
 
{{!}} {{{territory|}}}
 
}}
 
|}
 
|-
 
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
 
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; background-color: #393A53;" {{!}} Combatants
 
}}
 
|-
 
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{combatant1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{combatant2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{combatant3|}}}
 
}}}}
 
|-
 
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
 
! {{#if:{{{combatant3|}}} | colspan="3" |colspan="2" }} style="background: #393A53; text-align: center;" {{!}} Commanders
 
}}
 
|-
 
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{commander1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{commander2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{commander3|}}}
 
}}}}
 
|-
 
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
 
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="background: #393A53; text-align: center;" {{!}} Strength
 
}}
 
|-
 
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{strength1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{strength2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{strength3|}}}
 
}}}}
 
|-
 
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
 
! {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="background: #393A53; text-align: center;" {{!}} Casualties
 
}}
 
|-
 
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{casualties1|}}}
 
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{casualties2|}}}
 
{{#if:{{{combatant3|}}} |
 
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{casualties3|}}}
 
}}}}
 
|-
 
{{#if:{{{combatant3|}}} | | {{#if:{{{casualties3|}}} |
 
{{!}} colspan="2" style="text-align: center; {{#if:{{{casualties1|}}}{{{casualties2|}}} | border-top: 1px dotted #aaa;}}" {{!}} {{{casualties3|}}}
 
}}}}
 
|-
 
{{#if:{{{notes|}}} |
 
{{!}} {{#if:{{{combatant3|}}}|colspan="3"|colspan="2"}} style="font-size:90%; border-top:1px solid #aaa;" {{!}} {{{notes|}}}
 
}}
 
|}</includeonly><noinclude>
 
==== Military conflict infobox ====
 
 
{{Testing
 
{{Testing
|conflict= Battle of Lützen
+
| info =
|partof= the [[Thirty Years' War]]
+
| header1 =
|image= [[Image:Battle of Lutzen.jpg|300px|Battle of Lutzen]]
+
| before1 =
|caption= The '' '''Battle of Lützen''' '' by [[wikipedia:Carl Wahlbom|Carl Wahlbom]] shows the death of King [[wikipedia:Gustavus Adolphus|Gustavus Adolphus]] on [[wikipedia:November 16|November 16]], [[wikipedia:1632|1632]].
+
| title1 =
|date= [[wikipedia:November 6|November 6]] ([[wikipedia:Old Style and New Style dates|O.S.]]) or [[wikipedia:November 16|November 16]] ([[wikipedia:Old Style and New Style dates|N.S.]]), [[wikipedia:1632|1632]]
+
| years1 =
|place= Near [[wikipedia:Lützen, Germany|Lützen]], southwest of [[wikipedia:Leipzig|Leipzig]], [[wikipedia:Germany|Germany]]
+
| after1 =
|result= Swedish victory
+
| header2 =
|combatant1=[[wikipedia:Sweden|Sweden]],<br/> [[wikipedia:Protestant|Protestant]] [[wikipedia:Germany|German states]]
+
| before2 =
|combatant2=[[wikipedia:Holy Roman Empire|Holy Roman Empire]],<br/> [[wikipedia:Catholic League (German)|Catholic German states]]
+
| title2 =
|commander1=[[wikipedia:Gustavus Adolphus|Gustavus Adolphus]][[wikipedia:Killed in action|†]],<br/> [[wikipedia:Bernhard of Saxe-Weimar|Bernhard of Saxe-Weimar]]
+
| years2 =
|commander2=[[wikipedia:Albrecht von Wallenstein|Albrecht von Wallenstein]], <br/>[[wikipedia:Gottfried zu Pappenheim|Gottfried zu Pappenheim]][[wikipedia:Killed in action|†]]
+
| after2 =
|strength1=12,800 infantry,<br/> 6,200 cavalry, <br/>60 guns
 
|strength2=10,000 infantry,<br/> 7,000 cavalry, <br/> 24 guns
 
|casualties1=3,400 dead,<br/> 1,600 wounded or missing
 
|casualties2=3,000&ndash;3,500 dead or wounded
 
 
}}
 
}}
  +
</nowiki></pre>
   
A military conflict infobox (sometimes referred to as a warbox) may be used to summarize information about a particular military conflict (a battle, campaign, war, or group of related wars) in a standard manner. Many of the parameters can be omitted if desired; the choice of which parameters are appropriate for a particular conflict is left to the discretion of the article editors.
+
'''An example is shown below:'''
 
The infobox should be added using the {{tl|Testing}} template, as shown below:
 
   
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre>
 
 
{{Testing
 
{{Testing
|conflict=
+
| info = Gerard Aurelac<br/>[[House of Aurelac]]<br/><small>'''Born:''' '''Died:'''</small>
|partof=
+
| header1 = Regnal titles
|image=
+
| before1 = [[Leon Alcibiates]]
|caption=
+
| title1 = [[Maar Sul (nation)#List of Rulers|King]] of [[Maar Sul (nation)|Maar Sul]]
|date=
+
| years1 = [[Timeline#1017 AE|1017 AE]]&mdash;present
|place=
+
| after1 = Incumbent
|casus=
+
| header2 = Regnal titles
|territory=
+
| before2 = [[Leon Alcibiates]]
|result=
+
| title2 = [[Maar Sul (nation)#List of Rulers|King]] of [[Maar Sul (nation)|Maar Sul]]
|combatant1=
+
| years2 = [[Timeline#1017 AE|1017 AE]]&mdash;present
|combatant2=
+
| after2 = Incumbent
|combatant3=
 
|commander1=
 
|commander2=
 
|commander3=
 
|strength1=
 
|strength2=
 
|strength3=
 
|casualties1=
 
|casualties2=
 
|casualties3=
 
|notes=
 
 
}}
 
}}
</pre></div>
 
   
* '''conflict''' &ndash; the name of the conflict being described (e.g. "Battle of Lützen" or "World War I").
+
[[Category:Templates]]</noinclude>
* '''partof''' &ndash; ''optional'' &ndash; the larger conflict containing the event described in the article. For battles or campaigns, this should be the war during which the event takes place; for particularly large wars, this may include a theatre (e.g. "the Eastern Front of World War II"). For wars, the parameter may be used to link to a larger group of wars (e.g. the [[Italian War of 1521]] to the [[Italian Wars]]). It may be necessary to insert "the" before the name of the war for proper grammar.
 
* '''image''' &ndash; ''optional'' &ndash; an image for the warbox. The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected.
 
* '''caption''' &ndash; ''optional'' &ndash; the text to be placed below the image.
 
* '''date''' &ndash; the date of the conflict described. Convention is to give the actual date for battles and the years for wars, but this does not always apply.
 
* '''place''' &ndash; the location of the conflict. For conflicts covering a wide area, a general description (e.g. "[[wikipedia:France|France]]", or "[[wikipedia:Europe|Europe]]", or "Worldwide") may be used.
 
* '''casus''' &ndash; ''optional'' &ndash; the formal [[wikipedia:casus belli|casus belli]] of a war. This field should '''not''' be used for battles, for the underlying causes of a war, or in cases where the casus belli is disputed and requires a lengthy explanation.
 
* '''territory''' &ndash; ''optional'' &ndash; any changes in territorial control as a result of the conflict; this should not be used for overly lengthy descriptions of the peace settlement.
 
* '''result''' &ndash; the outcome of the conflict (e.g. "French victory"). Modifiers such as "inconclusive" or "decisive" may be used as necessary.
 
* '''combatant1'''/'''combatant2'''/'''combatant3''' &ndash; ''optional'' &ndash; the parties participating in the conflict. This is most commonly the countries whose forces took part in the conflict; however, larger groups (such as alliances or international organizations) or smaller ones (such as particular units, formations, or groups) may be indicated if doing so improves reader understanding. When there is a large number of participants, it may be better to list only the three or four major groups on each side of the conflict, and to describe the rest in the body of the article. The '''combatant3''' field may be used if a conflict has three distinct "sides", and should be left blank on other articles.
 
* '''commander1'''/'''commander2'''/'''commander3''' &ndash; ''optional'' &ndash; the commanders of the military forces involved. For battles, this should include army commanders (and other officers as necessary). For wars, only prominent or notable leaders should be listed. Ranks and titles should be omitted. The '''commander3''' field can only be used if the '''combatant3''' field is set.
 
* '''strength1'''/'''strength2'''/'''strength3''' &ndash; ''optional'' &ndash; the numerical strength of the units involved. It is generally not useful to provide unit names without giving an indication of numbers. The '''strength3''' field can only be used if the '''combatant3''' field is set.
 
* '''casualties1'''/'''casualties2''' &ndash; ''optional'' &ndash; casualties suffered, including dead, wounded, missing, captured, and civilian deaths. Terms such as "dead" (or "killed"), "wounded", or "captured" should be used in place of abbreviations such as "KIA" or "POW".
 
* '''casualties3''' &ndash; ''optional'' &ndash; if '''combatant3''' is set, this is a third casualty field identical to the two above; if it is '''''not''''' set, this is an alternate combined field for use where only the total casualties of a conflict are known, or where civilian casualties cannot be directly attributed to either side.
 
* '''notes''' &ndash; ''optional'' &ndash; optional field for further notes; this should only be used in exceptional circumstances.
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 

Latest revision as of 14:22, February 8, 2014

{{ #if:|| colspan="3" style="background-color:#393A53; color:#FFFFFF; font-weight: bold; text-align:center;" | {Template:2 Preceded by:
{{{before2}}}{{{title2}}}
{{{years2}}} Succeeded by:
{{{after2}}}
Enter Name Here
Enter Name Here
Preceded by:
{{{before1}}}
{{{title1}}}
{{{years1}}}
Succeeded by:
{{{after1}}}

This template is for use on articles about characters when listing succession is needed.

UsageEdit

{{Testing
| info =
| header1 =
| before1 =
| title1 =
| years1 =
| after1 =
| header2 =
| before2 =
| title2 =
| years2 =
| after2 =
}}

An example is shown below:


{{ #if:Leon AlcibiatesKing of Maar SulIncumbent|| colspan="3" style="background-color:#393A53; color:#FFFFFF; font-weight: bold; text-align:center;" | {Template:2 width="30%" width="40%" style="text-align: center;" width="30%"
Gerard Aurelac
House of Aurelac
Born: Died:
Regnal titles
Preceded by:
Leon Alcibiates
King of Maar Sul
1017 AE—present
Succeeded by:
Incumbent
Community content is available under CC-BY-SA unless otherwise noted.