Template:Battle

From Europa Universalis 4 Wiki
Jump to navigation Jump to search

Usage

This template simulates the battle lines in a land battle for examples of set pieces and army compositions.

{{Battle
|1={{Battle/C|ART|red}}{{Battle/C|NUL|red}}
|2={{Battle/C|CAV|red}}{{Battle/C|INF|red}}{{Battle/C|INF|red}}{{Battle/C|CAV|red}}
|3={{Battle/C|INF|blue}}{{Battle/C|INF|blue}}{{Battle/C|INF|blue}}{{Battle/C|INF|blue}}
|4={{Battle/C|ART|blue}}{{Battle/C|NUL|blue}}
}}

... produces...

Battle line.png
Battle counter ART.png
Battle counter NUL.png
Battle counter CAV.png
Battle counter INF.png
Battle counter INF.png
Battle counter CAV.png
Battle counter INF.png
Battle counter INF.png
Battle counter INF.png
Battle counter INF.png
Battle counter ART.png
Battle counter NUL.png
{{Battle|single=1
|1={{Battle/C|ART|red}}{{Battle/C|NUL|red}}
|2={{Battle/C|CAV|red}}{{Battle/C|INF|red}}{{Battle/C|INF|red}}{{Battle/C|CAV|red}}
}}

... |single=1 will render a single side of the battle line...

Battle line.png
Battle counter ART.png
Battle counter NUL.png
Battle counter CAV.png
Battle counter INF.png
Battle counter INF.png
Battle counter CAV.png
{{Battle|terrain=Grasslands|province=Armagnac
|1={{Battle/C|ART|red}}{{Battle/C|NUL|red}}
|2={{Battle/C|CAV|red}}{{Battle/C|INF|red}}{{Battle/C|INF|red}}{{Battle/C|CAV|red}}
|3={{Battle/C|INF|blue}}{{Battle/C|INF|blue}}{{Battle/C|INF|blue}}{{Battle/C|INF|blue}}
|4={{Battle/C|ART|blue}}{{Battle/C|NUL|blue}}
}}

... |terrain=XYZ and |province=XYZ (optional extra) will render a terrain panel...

Combat terrain frame.png
Combat terrain grasslands.png
grasslands of Armagnac
Battle line.png
Battle counter ART.png
Battle counter NUL.png
Battle counter CAV.png
Battle counter INF.png
Battle counter INF.png
Battle counter CAV.png
Battle counter INF.png
Battle counter INF.png
Battle counter INF.png
Battle counter INF.png
Battle counter ART.png
Battle counter NUL.png