Difference between revisions of "Template:InfoBoxBattle"

(Created.)
 
m
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| border="2px" cellpadding="0" class="infoBoxNew"
+
<includeonly>{| border="2px" cellpadding="0" class="infoBoxNew"
 
|-
 
|-
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
Line 10: Line 10:
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{partof|}}}|
 
{{#if:{{{partof|}}}|
{{!}} Partof
+
{{!}} Part of
 
{{!}} {{{partof|}}}
 
{{!}} {{{partof|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{start|}}}|
+
{{#if:{{{startdate|}}}|
 
{{!}} Start Date
 
{{!}} Start Date
 
{{!}} {{{startdate|}}}
 
{{!}} {{{startdate|}}}
Line 25: Line 25:
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{planet|}}}|
 
{{#if:{{{planet|}}}|
{{!}} Planet
+
{{!}} Planet(s)
 
{{!}} {{{planet|}}}
 
{{!}} {{{planet|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{place|}}}|
 
{{#if:{{{place|}}}|
{{!}} Place
+
{{!}} Location(s)
 
{{!}} {{{place|}}}
 
{{!}} {{{place|}}}
 
}}
 
}}
Line 40: Line 40:
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{territory|}}}|
 
{{#if:{{{territory|}}}|
{{!}} Territory
+
{{!}} Territorial Changes
 
{{!}} {{{territory|}}}
 
{{!}} {{{territory|}}}
 
}}
 
}}
 
|-
 
|-
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Belligerents'''
+
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Attacking Forces'''
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{faction1|}}}|
 
{{#if:{{{faction1|}}}|
{{!}} Faction1
+
{{!}} Affiliation
 
{{!}} {{{faction1|}}}
 
{{!}} {{{faction1|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{faction2|}}}|
+
{{#if:{{{commander1|}}}|
{{!}} Faction2
+
{{!}} Commanding Officer(s)
{{!}} {{{faction2|}}}
+
{{!}} {{{commander1|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{faction3|}}}|
+
{{#if:{{{command1|}}}|
{{!}} Faction3
+
{{!}} Command(s)
{{!}} {{{faction3|}}}
+
{{!}} {{{command1|}}}
 
}}
 
}}
 
|-
 
|-
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Commanders'''
+
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Defending Forces'''
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{commander1|}}}|
+
{{#if:{{{faction2|}}}|
{{!}} Commander1
+
{{!}} Affiliation
{{!}} {{{commander1|}}}
+
{{!}} {{{faction2|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{commander2|}}}|
 
{{#if:{{{commander2|}}}|
{{!}} Commander2
+
{{!}} Commanding Officer(s)
 
{{!}} {{{commander2|}}}
 
{{!}} {{{commander2|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{commander3|}}}|
+
{{#if:{{{command2|}}}|
{{!}} Commander3
+
{{!}} Command(s)
{{!}} {{{commander3|}}}
+
{{!}} {{{command2|}}}
 
}}
 
}}
 
|-
 
|-
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Units Involved'''
+
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Other Forces'''
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{command1|}}}|
+
{{#if:{{{faction3|}}}|
{{!}} Command1
+
{{!}} Affiliation
{{!}} {{{command1|}}}
+
{{!}} {{{faction3|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
{{#if:{{{command2|}}}|
+
{{#if:{{{commander3|}}}|
{{!}} Command2
+
{{!}} Commanding Officer(s)
{{!}} {{{command2|}}}
+
{{!}} {{{commander3|}}}
 
}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{command3|}}}|
 
{{#if:{{{command3|}}}|
{{!}} Command3
+
{{!}} Command(s)
 
{{!}} {{{command3|}}}
 
{{!}} {{{command3|}}}
 
}}
 
}}
Line 97: Line 97:
 
| colspan="2" style="background-color:#FF5722; padding:0px; height:3px" |  
 
| colspan="2" style="background-color:#FF5722; padding:0px; height:3px" |  
 
|-
 
|-
|}
+
|}</includeonly><noinclude>{{documentation}}</noinclude>
<noinclude>
 
{{/doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
 
 
== Usage ==
 
:''This template is intended for named battles, wars, skirmishes, or other conflicts between warring factions.
 
 
 
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown or inapplicable, leave it blank.
 
<pre>
 
{{InfoBoxBattle
 
| conflict =
 
| partof =
 
| image =
 
| startdate =
 
| enddate =
 
| planet =
 
| place =
 
| result =
 
| territory =
 
| faction1 = (Attacker)<br/>
 
| faction2 = (Defender)<br/>
 
| faction3 =
 
| commander1 =
 
| commander2 =
 
| commander3 =
 
| command1 =
 
| command2 =
 
| command3 =
 
}}
 
</pre>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|Battles]]
 
</noinclude>
 

Latest revision as of 20:08, 4 April 2024