Difference between revisions of "Template:BattleQuickInfo"

From Imperial Wiki
Jump to navigation Jump to search
(Initial draft)
 
m (image if condition didn't seem to work, removing for now)
 
Line 5: Line 5:
{{BattleQuickInfo
{{BattleQuickInfo
|name =        <!-- name of battle -->
|name =        <!-- name of battle -->
|image =      <!-- image to display -->
|date =        <!-- date of battle -->
|date =        <!-- date of battle -->
|location =    <!-- location of battle -->
|location =    <!-- location of battle -->
Line 25: Line 24:
{| align="right" style="border: solid 1px #000000; background-color: #ccccff" width="300"
{| align="right" style="border: solid 1px #000000; background-color: #ccccff" width="300"
!colspan="2"|{{{name|No Name Given}}}
!colspan="2"|{{{name|No Name Given}}}
|-
|{{#if: {{{image|}}} | [[Image:{{{image}}}]] | No Image Available}}
|-
|-
|'''Date'''||{{{date|Unknown}}}
|'''Date'''||{{{date|Unknown}}}

Latest revision as of 18:58, 16 November 2007

Create a quick info box for a battle as follows:

{{BattleQuickInfo
|name =        <!-- name of battle -->
|date =        <!-- date of battle -->
|location =    <!-- location of battle -->
|result =      <!-- result of battle -->
|combatant1 =  <!-- left column combatant -->
|combatant2 =  <!-- right column combatant -->
|commander1 =  <!-- left column commander -->
|commander2 =  <!-- right column commander -->
|force1 =      <!-- left column force -->
|force2 =      <!-- right column force -->
|casualties1 = <!-- left column casualties -->
|casualties2 = <!-- right column casualties -->
}}