Template:Battle: Difference between revisions
Jump to navigation
Jump to search
rewritten from scratch |
No edit summary |
||
Line 18: | Line 18: | ||
<div class="righthalf">{{{casual2}}}</div> | <div class="righthalf">{{{casual2}}}</div> | ||
</div> | </div> | ||
<noinclude> | |||
Use this template as a battle infobox. For an example, see [[Battle of Blerthmore]]. | |||
Code for inclusion: | |||
<pre> | |||
{{battle| | |||
name=| | |||
conflict=| | |||
date=| | |||
place=| | |||
result=| | |||
side1=| | |||
side2=| | |||
commanders1=| | |||
commanders2=| | |||
forces1=| | |||
forces2=| | |||
casual1=| | |||
casual2= | |||
}} | |||
</pre> | |||
== Bugs == | |||
In dual-column entries, such as side1 and side2, the divs are not quite correct. The only way to solve this appears to be by using tables. As tables are often the devil in design, this has been avoided for now; however, it will likely be fixed soon unless a div-ly solution presents itself. For now, simply ignore the strange display issues :) | |||
</noinclude> |
Revision as of 18:37, 24 January 2007
{{{name}}}
Conflict: {{{conflict}}}
Date: {{{date}}}
Place: {{{place}}}
Outcome: {{{result}}}
Combatants
{{{side1}}}
{{{side2}}}
Commanders
{{{commanders1}}}
{{{commanders2}}}
Strength
{{{forces1}}}
{{{forces2}}}
Casualties
{{{casual1}}}
{{{casual2}}}
Use this template as a battle infobox. For an example, see Battle of Blerthmore.
Code for inclusion:
{{battle| name=| conflict=| date=| place=| result=| side1=| side2=| commanders1=| commanders2=| forces1=| forces2=| casual1=| casual2= }}
Bugs
In dual-column entries, such as side1 and side2, the divs are not quite correct. The only way to solve this appears to be by using tables. As tables are often the devil in design, this has been avoided for now; however, it will likely be fixed soon unless a div-ly solution presents itself. For now, simply ignore the strange display issues :)