Changes - Warhammer 40k - Lexicanum

Changes

From Warhammer 40k - Lexicanum
Jump to: navigation, search

Template:Battle3LeftAlign

5,253 bytes added, 15:56, 1 November 2020
New template for cases where combatants need to be left-aligned
<includeonly>
{|border="0" cellpadding="5" cellspacing="0" style="clear:right; float:right; margin-left:1em; margin-right:1em; margin-bottom:1em; border:1px solid #555555; border-radius:5px; background:#707070; line-height:120%" width="450"
!colspan=6|{{#if:{{{Name|}}}|<center><font size=2; color="#000000">'''''{{{Name}}}'''''</font></center>|'''Name'''}}
|-
{{#if:{{{Image|}}}|
{{!}}colspan=6 style="font-size:80%;text-align:center"{{!}}[[Image:{{{Image}}}|center|250px]]{{#if:{{{Image caption|}}}|
{{{Image caption|}}}}}
{{!-}}
}}
{{#if:{{{Conflict|}}}|
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%;vertical-align:top;text-align:left; background:#707070" {{!}}'''Conflict'''
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%; background:#707070" {{!}}{{{Conflict}}}
{{!-}}
}}
{{#if:{{{Date|}}}|
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%;vertical-align:top;text-align:left; background:#707070" {{!}}'''Date'''
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%; background:#707070" {{!}}{{{Date}}}
{{!-}}
}}
{{#if:{{{Location|}}}|
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%;vertical-align:top;text-align:left; background:#707070" {{!}}'''Location'''
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%; background:#707070" {{!}}{{{Location}}}
{{!-}}
}}
{{#if:{{{Outcome|}}}|
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%;vertical-align:top;text-align:left; background:#707070" {{!}}'''Outcome'''
{{!}}colspan=3 width="225" style="border-top:1px solid #555555;font-size:85%; background:#707070" {{!}}'''{{{Outcome}}}'''
{{!-}}
}}
{{!}} colspan="6" style="border-top:1px solid #555555; background:#707070" {{!}} <center><font size=2; color="#000000">'''Combatants'''</font></center>
{{!-}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Combatant1}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Combatant2}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Combatant3}}}
{{!-}}
{{!}}colspan="6" style="border-top:1px solid #555555; background:#707070" {{!}} <center><font size=2; color="#000000">'''Commanders'''</font></center>
{{!-}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Commanders1}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Commanders2}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Commanders3}}}
{{!-}}
{{!}}colspan="6" style="border-top:1px solid #555555; background:#707070" {{!}} <center><font size=2; color="#000000">'''Strength'''</font></center>
{{!-}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Strength1}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Strength2}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Strength3}}}
{{!-}}
{{!}}colspan="6" style="border-top:1px solid #555555; background:#707070" {{!}} <center><font size=2; color="#000000">'''Losses/Survivors'''</font></center>
{{!-}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background:#707070" {{!}} {{{Casualties1}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; border-right:1px solid #555555; font-size:85%;text-align:center; background :#707070" {{!}} {{{Casualties2}}}
{{!}}colspan=2 width="150" style="border-top:1px solid #555555; font-size:85%;text-align:center; background :#707070" {{!}} {{{Casualties3}}}
{{!-}}
|}</includeonly><noinclude>

==Code==
<nowiki>{{Battle3
|Name =
|Image =
|Image caption=
|Conflict =
|Date =
|Location =
|Outcome =
|Combatant1 =
|Combatant2 =
|Combatant3 =
|Commanders1 =
|Commanders2 =
|Commanders3 =
|Strength1 =
|Strength2 =
|Strength3 =
|Casualties1 =
|Casualties2 =
|Casualties3 =
}}</nowiki>

{{Battle3
|Name = The Battle of Lexicanum
|Image =
|Image caption=
|Conflict = Template Wars
|Date = 2014
|Location = lexicanum
|Outcome = ongoing
|Combatant1 = side 1
|Combatant2 = side 2
|Combatant3 = side 3
|Commanders1 = leader 1
|Commanders2 = leader 2
|Commanders3 = leader 3
|Strength1 = Army 1
|Strength2 = Army 2
|Strength3 = Army 3
|Casualties1 = deaths 1
|Casualties2 = deaths 2
|Casualties3 = deaths 3
}}
[[Category:Navigation Templates|Battle]]
</noinclude>
5,743
edits