Difference between revisions of "Template:Infobox Conflict"

From The Battle for Wesnoth Wiki
(Making leaders optional)
(Fixing template)
Line 25: Line 25:
 
</tr>
 
</tr>
 
<tr style="vertical-align:top;">
 
<tr style="vertical-align:top;">
<td style="border-style: dotted; border-width: 0 1px 0 0; width: 50%">{{{leaders 1|Side 1}}}</td>
+
<td style="border-style: dotted; border-width: 0 1px 0 0; width: 50%">
<td>{{{leaders 2|Side 2}}}</td>
+
{{{leaders 1|Side 1}}}</td>
 +
<td>
 +
{{{leaders 2|Side 2}}}</td>
 
</tr>}}
 
</tr>}}
 
|}
 
|}

Revision as of 08:33, 14 October 2019

Conflict
Result:
Belligerents

Side 1

Side 2

This template produces an infobox with conflict details.

Parameters

name denotes the name of the conflict.

result denotes a set of bullet points describing the outcome of the conflict.

belligerents 1 denotes the names of the victorious side.

belligerents 2 denotes the names of the defeated side.

leaders 1 denotes the leader(s) of each of the factions for the victorious side.

leaders 2 denotes the leader(s) of each of the factions for the defeated side.

Usage

{{Infobox Conflict
| name=First Wesfolk War
| result=
* Wesfolk forced into more marginal lands.
* The study of magic begins on the Green Isle.
| belligerents 1=
* [[Haldric's people|Prince Haldric's people]]
| belligerents 2=
* [[Wesfolk]]
* [[Lich-Lords]]
}}


First Wesfolk War
Result
  • Wesfolk forced into more marginal lands.
  • The study of magic begins on the Green Isle.
Belligerents