Template:Battle: Difference between revisions

From Tolkien Gateway
m (Fixed horrid border thing)
m (Fixed blanking error and tweaked width)
Line 1: Line 1:
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 300px; border-collapse: collapse; font-size: 95%; clear: right; border:1px solid #aaaaaa; background-color:#F9EBD1;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#960018; color: #f9f9f9;">'''{{{name|}}}'''</th></tr>|1{{{name|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; text-align: center; padding:0;">{{{image|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Conflict''': {{{conflict|}}}</small></td></tr>|1{{{conflict|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Date''': {{{date|}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Place''': {{{place|}}}</small></td></tr>|1{{{place|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Outcome''': {{{result|}}}</small></td></tr>|1{{{result|}}}=}}
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 302px; border-collapse: collapse; font-size: 95%; clear: right; border:1px solid #aaaaaa; background-color:#F9EBD1;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#960018; color: #f9f9f9;">'''{{{name|}}}'''</th></tr>|1{{{name|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; text-align: center; padding:0;">{{{image|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Conflict''': {{{conflict|}}}</small></td></tr>|1{{{conflict|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Date''': {{{date|}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Place''': {{{place|}}}</small></td></tr>|1{{{place|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Outcome''': {{{result|}}}</small></td></tr>|1{{{result|}}}=}}
{{t|1=<tr><th colspan="2" style="text-align: center; background: #960018; color: #f9f9f9;">Combatants</th></tr><tr><td width="50%"><small>
{{t|1=<tr><th colspan="2" style="text-align: center; background: #960018; color: #f9f9f9;">Combatants</th></tr><tr><td width="50%"><small>
{{{side1|}}}
{{{side1|}}}
Line 12: Line 12:
</small></td><td width="50%"><small>
</small></td><td width="50%"><small>
{{{forces2|}}}
{{{forces2|}}}
</small></td></tr>|1{{{force1|}}}{{{force2}}}=}}{{t|1=<tr><th colspan="2" style="text-align: center; background:#960018; color: #f9f9f9">Casualties</th></tr><tr><td width="50%"><small>
</small></td></tr>|1{{{forces1|}}}{{{forces2}}}=}}{{t|1=<tr><th colspan="2" style="text-align: center; background:#960018; color: #f9f9f9">Casualties</th></tr><tr><td width="50%"><small>
{{{casual1|}}}
{{{casual1|}}}
</small></td><td width="50%"><small>
</small></td><td width="50%"><small>

Revision as of 12:52, 10 July 2011

{{{name}}}
{{{image}}}
Conflict: {{{conflict}}}
Date: {{{date}}}
Place: {{{place}}}
Outcome: {{{result}}}
Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Strength

{{{forces1}}}

{{{forces2}}}

Casualties

{{{casual1}}}

{{{casual2}}}

Usage

{{battle
| name=
| image=
| conflict=
| date=
| place=
| result=
| side1=
| side2=
| commanders1=
| commanders2=
| forces1=
| forces2=
| casual1=
| casual2=
|}}