This page will only parse completely when it is included in another page.






Battle of the test

 
Test Caption

Date
Today
Place
everywhere
Outcome
you won

Belligerents

Commanders and Leaders
Strength
 10.000 men
10.001 men
Losses
 nobody
1 man

This template aims to mimic the wikipedia-syle panel for battles or events.

Despite somehow being focused on warfare, we seem to have very few battle pages - I hope this will help future editors fix that.

The template spans four sections:
  • Battle coordinates: when/where, and the general outcome;
  • Belligerents: the factions at play. They may belong to Faction A (left) or faction B (right). Name may have an icon or not;
  • Generals and commanders: Leaders of the factions, both A and B;
  • Strength: how many in number per faction;
  • Losses: details of the losses in units

[top]Usage

entries with (opt) are optional

[template]battlebox|
header = Battle Name
image = (opt) image
caption = (opt) text under the image
when = (opt) date of the event
where = location of the event
outcome = outcome of the battle (who won)
bellA1 = country/army n. 1 in side A ( left )
bellA1Pic = (opt) small picture (filename.png) of the charge of faction 1
bellA2...bellA10 = (opt) second to tenth country in sideA
bellA2Pic...bellA10Pic = (opt) small picture (filename.png) of the charge of faction 2 to 10
bellB1 = country/army n.1 in side B (right)
bellB1Pic = (opt) small picture (filename.png) of the charge of faction 1
bellB2...bellB10 = (opt) second to tenth country in sideB (list separately)
bellB2Pic...bellB10Pic = (opt) small picture (filename.png) of the charge of faction 2 to 10 (side B)
generalA1 = first entry of the "General and commanders list" side A
generalA1Pic = charge for the first entry of the "General and commanders list" side A
generalB1 = first entry of the "General and commanders list" side B
generalB1Pic = charge for the first entry of the "General and commanders list" side B
... generals go up to 10 entries
strengthA = military forces of side A
strengthB = military forces of side B
lossesA = losses for sideA
lossesB = losses for sideB
[/template]

[top]Boilerplate

Simple - 2 armies, 2 countries

[template]battlebox|
|header =
|image =
|caption =
|when =
|where =
|outcome =
|bellA1 =
|bellA1Pic =
|bellB1 =
|bellB1Pic =
|generalA1 =
|generalA1Pic =
|generalB1 =
|generalB1Pic =
|strengthA =
|strengthB =
|lossesA =
|lossesB =
[/template]

Full
[template]battlebox|
|header =
|image =
|caption =
|when =
|where =
|outcome =
|bellA1Pic =
|bellA1 =
|bellA2 =
|bellA2Pic =
|bellA3 =
|bellA3Pic =
|bellA4 =
|bellA4Pic =
|bellA5 =
|bellA5Pic =
|bellA6 =
|bellA6Pic =
|bellA7 =
|bellA7Pic =
|bellA8 =
|bellA8Pic =
|bellA9 =
|bellA9Pic =
|bellA10 =
|bellA10Pic =
|bellB1Pic =
|bellB1 =
|bellB2 =
|bellB2Pic =
|bellB3 =
|bellB3Pic =
|bellB4 =
|bellB4Pic =
|bellB5 =
|bellB5Pic =
|bellB6 =
|bellB6Pic =
|bellB7 =
|bellB7Pic =
|bellB8 =
|bellB8Pic =
|bellB9 =
|bellB9Pic =
|bellB10 =
|bellB10Pic =
|generalA1 =
|generalA1Pic =
|generalA2 =
|generalA2Pic =
|generalA3 =
|generalA3Pic =
|generalA4 =
|generalA4Pic =
|generalA5 =
|generalA5Pic =
|generalA6 =
|generalA6Pic =
|generalA7 =
|generalA7Pic =
|generalA8 =
|generalA8Pic =
|generalA9 =
|generalA9Pic =
|generalA10 =
|generalA10Pic =
|generalB1 =
|generalB1Pic =
|generalB2 =
|generalB2Pic =
|generalB3 =
|generalB3Pic =
|generalB4 =
|generalB4Pic =
|generalB5 =
|generalB5Pic =
|generalB6 =
|generalB6Pic =
|generalB7 =
|generalB7Pic =
|generalB8 =
|generalB8Pic =
|generalB9 =
|generalB9Pic =
|generalB10 =
|generalB10Pic =
|strengthA =
|strengthB =
|lossesA =
|lossesB =
[/template]


[div]
style="display: table; border: 1px #ffffff solid; background: #001821; width: 300px; float:right;border-collapse:collapse"
class="grid_24 alpha omega" |
[div] class="grid_24 alpha omega cardheaderbrown" | [div] class="grid_24 cardtitle" |[CENTER][SIZE="4"][B]{{{header}}}[/CENTER][/SIZE][/B]
[if=" {{{image}}} "] [div] [IMAGE]{{{image}}}|100px|center[/image] [/div][/if]
[if=" {{{caption}}} "][div] [CENTER][I]{{{caption}}}[/I][/CENTER] [/div][/if]
[div][/div]
[/div]
----
[if=" {{{when}}} "][div]class="grid_7"|[b]Date[/b][/div][div]class="grid_17"|{{{when}}}[/div][/if]
[if=" {{{where}}} "][div]class="grid_7"|[b]Place[/b][/div][div]class="grid_17"|{{{where}}}[/div][/if]
[if=" {{{outcome}}} "][div]class="grid_7"|[b]Outcome[/b][/div][div]class="grid_17"|{{{outcome}}}[/div][/if]

[div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3;margin-bottom:5px"|[CENTER][B]Belligerents[/B][/CENTER][/div]
[div] class="grid_12" style="margin-right:0px !important; padding-right:0; border-right:1px dotted #5D91A3; display:table-cell"| [div] class="grid_24 "| [if= " {{{bellA1|}}} "][if= " {{{bellA1Pic|}}} "][image]{{{bellA1Pic}}}|16px[/image][/if] [wiki]{{{bellA1}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB2|}}}| }}[if= " {{{bellA2|}}} "][if= " {{{bellA2Pic|}}} "][image]{{{bellA2Pic}}}|16px[/image][/if] [wiki]{{{bellA2}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB3|}}}| }}[if= " {{{bellA3|}}} "][if= " {{{bellA3Pic|}}} "][image]{{{bellA3Pic}}}|16px[/image][/if] [wiki]{{{bellA3}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB4|}}}| }}[if= " {{{bellA4|}}} "][if= " {{{bellA4Pic|}}} "][image]{{{bellA4Pic}}}|16px[/image][/if] [wiki]{{{bellA4}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB5|}}}| }}[if= " {{{bellA5|}}} "][if= " {{{bellA5Pic|}}} "][image]{{{bellA5Pic}}}|16px[/image][/if] [wiki]{{{bellA5}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB6|}}}| }}[if= " {{{bellA6|}}} "][if= " {{{bellA6Pic|}}} "][image]{{{bellA6Pic}}}|16px[/image][/if] [wiki]{{{bellA6}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB7|}}}| }}[if= " {{{bellA7|}}} "][if= " {{{bellA7Pic|}}} "][image]{{{bellA7Pic}}}|16px[/image][/if] [wiki]{{{bellA7}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB8|}}}| }}[if= " {{{bellA8|}}} "][if= " {{{bellA8Pic|}}} "][image]{{{bellA8Pic}}}|16px[/image][/if] [wiki]{{{bellA8}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB9|}}}| }}[if= " {{{bellA9|}}} "][if= " {{{bellA9Pic|}}} "][image]{{{bellA9Pic}}}|16px[/image][/if] [wiki]{{{bellA9}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{bellB10|}}}| }}[if= " {{{bellA10|}}} "][if= " {{{bellA10Pic|}}} "][image]{{{bellA10Pic}}}|16px[/image][/if] [wiki]{{{bellA10}}}[/wiki][/if] [/div]
[/div]
[div] class="grid_12" style="margin-right:0px !important" | [div] class="grid_24 " style="display:table-cell"| [if= " {{{bellB1|}}} "][if= " {{{bellB1Pic|}}} "][image]{{{bellB1Pic}}}|16px[/image][/if] [wiki]{{{bellB1}}}[/wiki][/if] [/div]
[div] class="grid_24 "| [if= " {{{bellB2|}}} "][if= " {{{bellB2Pic|}}} "][image]{{{bellB2Pic}}}|16px[/image][/if] [wiki]{{{bellB2}}}[/wiki][/if] [/div]
[div] class="grid_24 "| [if= " {{{bellB3|}}} "][if= " {{{bellB3Pic|}}} "][image]{{{bellB3Pic}}}|16px[/image][/if] [wiki]{{{bellB3}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB4|}}} "][if= " {{{bellB4Pic|}}} "][image]{{{bellB4Pic}}}|16px[/image][/if] [wiki]{{{bellB4}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB5|}}} "][if= " {{{bellB5Pic|}}} "][image]{{{bellB5Pic}}}|16px[/image][/if] [wiki]{{{bellB5}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB6|}}} "][if= " {{{bellB6Pic|}}} "][image]{{{bellB6Pic}}}|16px[/image][/if] [wiki]{{{bellB6}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB7|}}} "][if= " {{{bellB7Pic|}}} "][image]{{{bellB7Pic}}}|16px[/image][/if] [wiki]{{{bellB7}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB8|}}} "][if= " {{{bellB8Pic|}}} "][image]{{{bellB8Pic}}}|16px[/image][/if] [wiki]{{{bellB8}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB9|}}} "][if= " {{{bellB9Pic|}}} "][image]{{{bellB9Pic}}}|16px[/image][/if] [wiki]{{{bellB9}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{bellB10|}}} "][if= " {{{bellB10Pic|}}} "][image]{{{bellB10Pic}}}|16px[/image][/if] [wiki]{{{bellB10}}}[/wiki][/if] [/div]
[/div]

[div] class="grid_24 boxoddrow" style="background: #5D91A3;margin-bottom:5px"|[CENTER][B]Commanders and Leaders[/B][/CENTER][/div]
[div] class="grid_12" style="margin-right: 0px !important; border-right:1px dotted #5D91A3; display:table-cell"| [div] class="grid_24 "| [if= " {{{generalA1|}}} "][if= " {{{generalA1Pic|}}} "][image]{{{generalA1Pic}}}|16px[/image][/if] [wiki]{{{generalA1}}}[/wiki][/if] [/div]
[div] class="grid_24 "| {{#if:{{{generalB2|}}}| }} [if= "{{{generalA2|}}}"][if= " {{{generalA2Pic|}}} "][image]{{{generalA2Pic}}}|16px[/image][/if] [wiki]{{{generalA2}}}[/wiki][/if] [/div]
[div] class="grid_24 "| {{#if:{{{generalB3|}}}| }}[if= " {{{generalA3|}}} "][if= " {{{generalA3Pic|}}} "][image]{{{generalA3Pic}}}|16px[/image][/if] [wiki]{{{generalA3}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB4|}}}| }}[if= " {{{generalA4|}}} "][if= " {{{generalA4Pic|}}} "][image]{{{generalA4Pic}}}|16px[/image][/if] [wiki]{{{generalA4}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB5|}}}| }}[if= " {{{generalA5|}}} "][if= " {{{generalA5Pic|}}} "][image]{{{generalA5Pic}}}|16px[/image][/if] [wiki]{{{generalA5}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB6|}}}| }} [if= " {{{generalA6|}}} "][if= " {{{generalA6Pic|}}} "][image]{{{generalA6Pic}}}|16px[/image][/if] [wiki]{{{generalA6}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB7|}}}| }}[if= " {{{generalA7|}}} "][if= " {{{generalA7Pic|}}} "][image]{{{generalA7Pic}}}|16px[/image][/if] [wiki]{{{generalA7}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB8|}}}| }}[if= " {{{generalA8|}}} "][if= " {{{generalA8Pic|}}} "][image]{{{generalA8Pic}}}|16px[/image][/if] [wiki]{{{generalA8}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB9|}}}| }}[if= " {{{generalA9|}}} "][if= " {{{generalA9Pic|}}} "][image]{{{generalA9Pic}}}|16px[/image][/if] [wiki]{{{generalA9}}}[/wiki][/if] [/div]
[div] class="grid_24 " | {{#if:{{{generalB10|}}}| }}[if= " {{{generalA10|}}} "][if= " {{{generalA10Pic|}}} "][image]{{{generalA10Pic}}}|16px[/image][/if] [wiki]{{{generalA10}}}[/wiki][/if] [/div]
[/div]
[div] class="grid_12" style="margin-right: 0px !important; border-right:1px dotted #5D91A3;" | [div] class="grid_24 "| [if= " {{{generalB1|}}} "][if= " {{{generalB1Pic|}}} "][image]{{{generalB1Pic}}}|16px[/image][/if] [wiki]{{{generalB1}}}[/wiki][/if] [/div]
[div] class="grid_24 "| [if= " {{{generalB2|}}} "][if= " {{{generalB2Pic|}}} "][image]{{{generalB2Pic}}}|16px[/image][/if] [wiki]{{{generalB2}}}[/wiki][/if] [/div]
[div] class="grid_24 "| [if= " {{{generalB3|}}} "][if= " {{{generalB3Pic|}}} "][image]{{{generalB3Pic}}}|16px[/image][/if] [wiki]{{{generalB3}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB4|}}} "][if= " {{{generalB4Pic|}}} "][image]{{{generalB4Pic}}}|16px[/image][/if] [wiki]{{{generalB4}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB5|}}} "][if= " {{{generalB5Pic|}}} "][image]{{{generalB5Pic}}}|16px[/image][/if] [wiki]{{{generalB5}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB6|}}} "][if= " {{{generalB6Pic|}}} "][image]{{{generalB6Pic}}}|16px[/image][/if] [wiki]{{{generalB6}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB7|}}} "][if= " {{{generalB7Pic|}}} "][image]{{{generalB7Pic}}}|16px[/image][/if] [wiki]{{{generalB7}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB8|}}} "][if= " {{{generalB8Pic|}}} "][image]{{{generalB8Pic}}}|16px[/image][/if] [wiki]{{{generalB8}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB9|}}} "][if= " {{{generalB9Pic|}}} "][image]{{{generalB9Pic}}}|16px[/image][/if] [wiki]{{{generalB9}}}[/wiki][/if] [/div]
[div] class="grid_24" | [if= " {{{generalB10|}}} "][if= " {{{generalB10Pic|}}} "][image]{{{generalB10Pic}}}|16px[/image][/if] [wiki]{{{generalB10}}}[/wiki][/if] [/div]
[/div]
[div] class="grid_24 boxoddrow" style="background: #5D91A3;margin-bottom:5px"|[CENTER][B]Strength[/B][/CENTER][/div]
[div] class="grid_12 "style="margin-right: 0px !important; border-right:1px dotted #5D91A3;"|{{#if:{{{strengthB|}}}| }}[if= " {{{strengthA}}} "]{{{strengthA}}}[/if] [/div]
[div] class="grid_11" | [if= " {{{strengthB}}} "]{{{strengthB}}}[/if] [/div]
[div] class="grid_24 boxoddrow" style="background: #5D91A3;margin-bottom:5px"|[CENTER][B]Losses[/B][/CENTER][/div]
[div] class="grid_12 "style="margin-right: 0px !important; border-right:1px dotted #5D91A3;"| {{#if:{{{lossesB|}}}| }}[if= " {{{lossesA}}} "]{{{lossesA}}}[/if] [/div]
[div] class="grid_11" | [if= " {{{lossesB}}} "]{{{lossesB}}}[/if] [/div]
[/div]
[/div]

[top]Pages That Use This Template

The following pages include this template:


Tags for this Page

Bookmarks

Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments
BIRTHRIGHT, DUNGEONS & DRAGONS, D&D, the BIRTHRIGHT logo, and the D&D logo are trademarks owned by Wizards of the Coast, Inc., a subsidiary of Hasbro, Inc., and are used by permission. ©2002-2010 Wizards of the Coast, Inc.