Template:Infobox/battle
From Gineipaedia, the Legend of Galactic Heroes wiki
(Difference between revisions)
m (test) |
m (tables) |
||
Line 29: | Line 29: | ||
|- | |- | ||
{{#if:{{{commanders1|}}}| | {{#if:{{{commanders1|}}}| | ||
- | {{!}}class="sb-both center" colspan="2"{{!}}'''Commanders / leaders''' | + | {{!}}class="sb-both center" colspan="2"{{!}}<table><tr><th colspan="2">'''Commanders / leaders'''</th></tr> |
+ | <tr><td width="50%">{{{commanders1}}}</td><td width="50%">{{{commanders2}}}</td></tr></table> | ||
}} | }} | ||
|- | |- | ||
- | {{#if:{{{ | + | {{#if:{{{strength1|}}}| |
- | {{!}}class="sb- | + | {{!}}class="sb-both center" colspan="2"{{!}}<table><tr><th colspan="2">'''Strength'''</th></tr> |
- | + | <tr><td width="50%">{{{strength1}}}</td><td width="50%">{{{strength2}}}</td></tr></table> | |
}} | }} | ||
|- | |- | ||
- | {{#if:{{{ | + | {{#if:{{{losses1|}}}| |
- | {{!}}class="sb- | + | {{!}}class="sb-both center" colspan="2"{{!}}<table><tr><th colspan="2">'''Casualties / losses'''</th></tr> |
- | + | <tr><td width="50%">{{{losses1}}}</td><td width="50%">{{{losses2}}}</td></tr></table> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
}} | }} | ||
|- | |- |
Revision as of 22:55, 30 March 2012
The following documentation is transcluded from Template:Infobox/battle/doc:
Battle of Astarte | |||||
(First Alliance-Imperial War) | |||||
![]() Ring formation | |||||
Date: | January 796 UC (487 IC / 3596 CE) | ||||
Location: | Astarte Starzone | ||||
Result: | Major Imperial victory | ||||
| |||||
| |||||
| |||||
| |||||
|
- Description</dt>
- Infobox template for LOGH battles. Adds an infobox with pictures and common information (units involved, number of casualties, etc.) to the right side of an article.</dd>
- Syntax</dt>
{{infobox/battle | battle = <name of battle> | campaign = <name of campaign (if any)> | war = <name of war the battle is part of> | image-top = <file name of image depicting battle> | caption-top = <caption for top image> | date = <in-universe date (or date range)> | location = <location of battle> | result = <result of battle> | belligerents1 = <names of belligerents involved> | belligerents2 | units1 = <names of participating units> | units2 | commanders1 = <names of commanders involved> | commanders2 | strength1 = <numerical strength of units involved> | strength2 | losses1 = <casualties suffered, including dead, wounded, missing, captured, and civilian deaths> | losses2 }} }}
</dd>- Sample output</dt>
{{infobox/battle | battle = Battle of Astarte | campaign = | war = First Alliance-Imperial War | image-top = Ring formation 2.jpg | caption-top = '''Ring formation''' | date = January {{d|796|uc}} | location = [[Astarte Starzone]] | result = Major Imperial victory | belligerents1 = [[Free Planets Alliance]] | belligerents2 = [[Galactic Empire]] | units1 = [[2nd Fleet]]<br>[[4th Fleet]]<br>[[6th Fleet]] | units2 = [[Lohengramm Fleet]] | commanders1 = [[Yang Wen-li]]<br>[[Paetta]]<br>[[Pastoll]] {{kia}}<br>[[Moore]] {{kia}} | commanders2 = [[Reinhard von Lohengramm]]<br>[[Willibald Joachim von Merkatz]]<br>[[Staden]]<br>[[Adalbert von Fahrenheit]]<br>[[Erlache]] {{kia}}<br>[[Fogel]] | strength1 = 39,000 warships | strength2 = 20,000 warships | losses1 = 1,500,000 casualties | losses2 = 150,000 casualties }}
produces: See top right of page.</dd>
- Acknowledgements</dt>
- n/a</dd>