Template talk:Battle Row/Header

From eRepublik Official Wiki
Jump to: navigation, search

Minor tweaking

If you replace the code with this it should constrain the fields to give the victory flag overlay effect, and make the date look better. I think. Give it a try, I don't like messing with a template that is used across pages. -- Flag-USA.jpg Citizen 6 Award-star-silver-3d.png Talk   05:28, 19 April 2011 (PDT)


<div align="center">
{| class="wikitable" style="border:0px white white; font-size:100%; text-align:center;" align="center"
! width="100px" align="center" style="background:#F1FAFF;"|<small>'''Date'''</small>
! width="180px" align="center" style="background:#F1FAFF;" width=230px|<small>'''Attacker'''</small>
! width="200px" colspan="2" align="center" style="background:#F1FAFF;" width=200px class="unsortable"|<small>'''Region'''</small>
! width="180px" align="center" style="background:#F1FAFF;" width=230px|<small>'''Defender'''</small>
! width="51px" align="center" style="background:#F1FAFF; text-align:center;" | <small>'''Result'''</small>
{{{1}}}
|}
</div>

Lengthy Region and RW names will likely cause a problem once they extend to two rows. Here is a good example to work with while tweaking the header. If we can get this one to fit then it might cover most lengths, unless you know of longer country and regions names to use. -- Flag-USA.jpg Citizen 6 Award-star-silver-3d.png Talk   00:05, 20 April 2011 (PDT)
Date Attacker Region Defender Result
Apr 29, 2011
Day 1256
Resistance-forces.png Macedonian Resistance
Battle-Attacker-8.png
Region-Mediterranean Coast of Turkey.png Mediterranean Coast of Turkey
Flag-Republic of Macedonia (FYROM).jpg Republic of Macedonia (FYROM)
Battle-Defender-1.png
Icon-RW.gif Flag-Republic of Macedonia (FYROM).jpg
Apr 29, 2011
Day 1256
Flag-Republic of Macedonia (FYROM).jpg Republic of Macedonia (FYROM)
Battle-Attacker-8.png
Region-Mecklenburg-Western Pomerania.png Mecklenburg-Western Pomerania
Flag-Republic of Macedonia (FYROM).jpg Republic of Macedonia (FYROM)
Battle-Defender-1.png
Icon conquered.jpg Flag-Republic of Macedonia (FYROM).jpg