Difference between revisions of "Template:InfoBoxBattle"

m
m
 
(2 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 7: Line 7:
 
! colspan="2" style="background-color:#FF5722; color:#333; font-size:16px; padding:5px; text-align:center; border:2px solid #333;" | {{#if:{{{conflictname|}}}|{{{conflictname}}}|{{PAGENAME}} }}
 
! colspan="2" style="background-color:#FF5722; color:#333; font-size:16px; padding:5px; text-align:center; border:2px solid #333;" | {{#if:{{{conflictname|}}}|{{{conflictname}}}|{{PAGENAME}} }}
 
|-
 
|-
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Conflict details''' }}}
+
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Conflict details'''
 
|- class="infoboxrow" style="border:2px solid #333;"
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{partof|}}}|
 
{{#if:{{{partof|}}}|
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 =
 
| commander1 =
 
| command1 =
 
| faction2 =
 
| commander2 =
 
| command2 =
 
| faction3 =
 
| commander3 =
 
| command3 =
 
}}
 
</pre>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|Battles]]
 
</noinclude>
 

Latest revision as of 20:08, 4 April 2024