Template:Infobox Conflict: Difference between revisions
Appearance
Creating template - essentially scaled back version of Infobox Campaign |
Adding date row |
||
| (2 intermediate revisions 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 21: | Line 29: | ||
| | | | ||
{{{belligerents 2|Side 2}}} | {{{belligerents 2|Side 2}}} | ||
| | {{#if: {{{leaders 1|}}}{{{leaders 2|}}}|<tr> | ||
<td colspan="2" style="text-align:center; background:#F2DEB6;">'''Leaders'''</td> | |||
</tr> | |||
<tr style="vertical-align:top;"> | |||
{{{leaders 1|Side 1}}} | <td style="border-style: dotted; border-width: 0 1px 0 0; width: 50%"> | ||
{{{leaders 1|Side 1}}}</td> | |||
{{{leaders 2|Side 2}}} | <td> | ||
{{{leaders 2|Side 2}}}</td> | |||
</tr>}} | |||
|} | |} | ||
</div> | </div> | ||
Latest revision as of 19:30, 14 October 2019
| Conflict | |||
| |||
| 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 | |||
| |||
| Belligerents | |||