Difference between revisions of "Template:Infobox Conflict"

From The Battle for Wesnoth Wiki
(Making leaders optional)
(Adding date row)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
| colspan="2" |
 
| colspan="2" |
 
{|
 
{|
 +
{{#if: {{{date|}}} |
 +
<tr style="vertical-align:top;">
 +
<th>Date</th>
 +
<td>
 +
{{{date|}}}
 +
</td>
 +
</tr>
 +
}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
! Result:
+
! Result
 
|
 
|
 
{{{result|}}}
 
{{{result|}}}
Line 25: Line 33:
 
</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>}}
 
|}
 
|}

Latest revision as of 19:30, 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


This page was last edited on 14 October 2019, at 19:30.