Difference between revisions of "Template:Infobox Battle"

From Holocron - Star Wars Combine
Jump to: navigation, search
(cat change)
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|  style="border: 1px solid grey; padding: 1px; margin: 5px; width: 30%; float: right; font-size: 11px;"
+
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 30%; float: right; font-size: 11px;"><tr><td colspan="2" style="width: 100%; background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{title}}}</b></font></td></tr>
|  width="100%" colspan="2" style="background-color: #000099; font-size: 16px; text-align: center;" | <font color=white>'''{{{title}}}'''</font>
+
<tr><td colspan="2" style="background-color: #21314c; text-align: center;"><font color="white"><b>{{{war}}}</b></font></td></tr>
|-
+
<tr><td colspan="2" style="text-align: center;">{{{image}}}</td></tr>
|  width="100%" colspan="2" style="background-color: #000099; text-align: center;" | <font color=white>'''{{{war}}}'''</font>
+
<tr><td style="text-indent: 5%; width: 50%;" valign="top">Date</td><td style="width: 50%;" valign="top">{{{date}}}</td></tr>
|-
+
<tr><td style="text-indent: 5%;" valign="top">Location</td><td valign="top">{{{location}}}</td></tr>
|  width="100%" colspan="2" style="text-align: center;" | {{{image}}}
+
<tr><td style="text-indent: 5%;" valign="top">Result</td><td valign="top">{{{result}}}</td></tr>
|-  
+
<tr><td colspan="2" style="background-color: #21314c; text-align: center;"><font color="white"><b>Belligerents</b></font></td></tr>
width="31%" valign="top" | Date
+
<tr><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top">{{{attackers}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" valign="top">{{{defenders}}}</td></tr>
width="69%" | {{{date}}}
+
<tr><td colspan="2" style="background-color: #21314c; text-align: center;"><font color="white"><b>Commanders and Leaders</b></font></td></tr>
|-
+
<tr><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top">{{{attacking commanders}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" valign="top">{{{defending commanders}}}</td></tr>
|  width="31%" valign="top" | Location
+
<tr><td colspan="2" style="background-color: #21314c; text-align: center;"><font color="white"><b>Strength</b></font></td></tr>
|  width="69%" | {{{location}}}
+
<tr><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top">{{{attacker strength}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" valign="top">{{{defender strength}}}</td></tr>
|-
+
<tr><td colspan="2" style="background-color: #21314c; text-align: center;"><font color="white"><b>Casualties and Losses</b></font></td></tr>
|  width="31%" valign="top" | Result
+
<tr><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top">{{{attacker casualties}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" valign="top">{{{defender casualties}}}</td></tr></table><noinclude>
|  width="69%" | {{{result}}}
+
===Usage===
|-
 
|  width="100%" colspan="2" style="background-color: #000099; text-align: center;" | <font color=white>'''Belligerents'''</font>
 
|-  
 
width="50%" | {{{attackers}}}
 
width="50%" | {{{defenders}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #000099; text-align: center;" | <font color=white>'''Commanders and leaders'''</font>
 
|-  
 
width="50%" | {{{attacking commanders}}}
 
width="50%" | {{{defending commanders}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #000099; text-align: center;" | <font color=white>'''Strength'''</font>
 
|-  
 
width="50%" | {{{attacker strength}}}
 
width="50%" | {{{defender strength}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #000099; text-align: center;" | <font color=white>'''Casualties and losses'''</font>
 
|-  
 
width="50%" | {{{attacker casualties}}}
 
width="50%" | {{{defender casualties}}}
 
|}
 
 
 
 
 
  
<noinclude>
+
The Battle template is used to give details pertaining to engagements that have occurred in the galaxy. Paste the code into an article, filling fields in with the pertinent information. In the (likely) event that a particular field requires multiple entries, please include them all under the same field, separated by a dash (-) or a dot (&middot;).
  
===Usage===
+
<pre><nowiki>
 
{{Infobox Battle
 
{{Infobox Battle
|title =  
+
| title =  
|war =  
+
| war =  
|image =  
+
| image =  
|date =  
+
| date =  
|location =  
+
| location =  
|result =  
+
| result =  
|attackers =  
+
| attackers =  
|defenders =  
+
| defenders =  
|attacking commanders =  
+
| attacking commanders =  
|defending commanders =  
+
| defending commanders =  
|attacker strength =  
+
| attacker strength =  
|defender strength =  
+
| defender strength =  
|attacker casualties =  
+
| attacker casualties =  
|defender casualties =  
+
| defender casualties =  
 
}}
 
}}
 +
</nowiki></pre>
  
 
+
==See also==
[[Category:Templates|{{PAGENAME}}]]
+
* [[:Template:Infobox Conflict]]
 
+
* [[:Category:Battles]]
</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:51, 17 April 2014

{{{title}}}
{{{war}}}
{{{image}}}
Date{{{date}}}
Location{{{location}}}
Result{{{result}}}
Belligerents
{{{attackers}}}{{{defenders}}}
Commanders and Leaders
{{{attacking commanders}}}{{{defending commanders}}}
Strength
{{{attacker strength}}}{{{defender strength}}}
Casualties and Losses
{{{attacker casualties}}}{{{defender casualties}}}

Usage

The Battle template is used to give details pertaining to engagements that have occurred in the galaxy. Paste the code into an article, filling fields in with the pertinent information. In the (likely) event that a particular field requires multiple entries, please include them all under the same field, separated by a dash (-) or a dot (·).

{{Infobox Battle
| title = 
| war = 
| image = 
| date = 
| location = 
| result = 
| attackers = 
| defenders = 
| attacking commanders = 
| defending commanders = 
| attacker strength = 
| defender strength = 
| attacker casualties = 
| defender casualties = 
}}

See also