Template:Battle: Difference between revisions
Jump to navigation
Jump to search
m trying explicit html td width, part 2 |
unsuccessful. reverting and adding display issues section. |
||
Line 6: | Line 6: | ||
<div>'''Outcome''': {{{result}}}</div> | <div>'''Outcome''': {{{result}}}</div> | ||
<div class="subheader vborder">'''Combatants'''</div> | <div class="subheader vborder">'''Combatants'''</div> | ||
<table cellspacing="0"><tr><td class="left centered | <table cellspacing="0"><tr><td class="left centered">{{{side1}}}</td> | ||
<td class="centered">{{{side2}}}</td></tr></table> | <td class="centered">{{{side2}}}</td></tr></table> | ||
<div class="subheader vborder">'''Commanders'''</div> | <div class="subheader vborder">'''Commanders'''</div> | ||
<table cellspacing="0"><tr><td class="left | <table cellspacing="0"><tr><td class="left">{{{commanders1}}}</td> | ||
<td>{{{commanders2}}}</td></tr></table> | <td>{{{commanders2}}}</td></tr></table> | ||
<div class="subheader vborder">'''Strength'''</div> | <div class="subheader vborder">'''Strength'''</div> | ||
Line 40: | Line 40: | ||
}} | }} | ||
</pre> | </pre> | ||
== Display issues == | |||
* Opera: Template renders perfectly. | |||
* Firefox: In two-column rows, e.g. "Combatants", the cells vary in size instead of staying 150 pixels wide like they are told to, when the template is actually used. This is a minor issue but it results in imperfectly aligned center borders. | |||
* Internet Explorer: Untested. | |||
</noinclude> | </noinclude> |
Revision as of 21:06, 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= }}
Display issues
- Opera: Template renders perfectly.
- Firefox: In two-column rows, e.g. "Combatants", the cells vary in size instead of staying 150 pixels wide like they are told to, when the template is actually used. This is a minor issue but it results in imperfectly aligned center borders.
- Internet Explorer: Untested.