Difference between revisions of "Template:Infobox Conflict"

From Holocron - Star Wars Combine
Jump to: navigation, search
m
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:black; border-collapse:collapse; border:1px solid black; font-size:smaller; line-height:1.5;"><tr><td><div id="infoboxinternal">
+
<br />
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; black:transparent; border-collapse:collapse;">
+
<br />
<tr style="text-align:center; color:#ffffff; background:{{{c1|#303030}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
+
{| width="100%" style="border: 1px solid grey; padding: 1px; margin: 5px; font-size: 11px;"
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{image|}}}</td></tr>
+
| colspan="2" style="background-color: #000099; font-size: 14px; text-align: center; color: white;" | '''{{Conflict}}'''
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:transparent; vertical-align:top;"><td>'''Conflict''':</td><td class="infoboxcell" style="width:100%;">{{{conflict}}}
+
|-
</td></tr></table>
+
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Factions'''
</td></tr>
+
|-
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:transparent; vertical-align:top;"><td>'''Date''':</td><td class="infoboxcell" style="width:100%;">{{{date}}}
+
| width="20%" style="background-color: #000066;" | {{faction1}}
</td></tr></table>
+
| width="80%" |  
</td></tr>
 
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:transparent; vertical-align:top;"><td>'''Place''':</td><td class="infoboxcell" style="width:100%;">{{{place}}}
 
</td></tr></table>
 
</td></tr>
 
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:transparent; vertical-align:top;"><td>'''Outcome''':</td><td class="infoboxcell" style="width:100%;">{{{result}}}
 
</td></tr></table>
 
</td></tr>
 
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:transparent; vertical-align:top;"><td>'''Previous''':</td><td class="infoboxcell" style="width:100%;">{{{previous}}}
 
</td></tr></table>
 
</td></tr>
 
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:transparent; vertical-align:top;"><td>'''Next''':</td><td class="infoboxcell" style="width:100%;">{{{next}}}
 
</td></tr></table>
 
</td></tr>
 
<tr><th colspan="2" style="color:#000000; text-align:left; font-weight:normal; background:{{{c2|#838383}}};">'''Combatants'''</th></tr>
 
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:center; background:transparent;"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
 
{{{side1}}}
 
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
 
{{{side2}}}
 
</td></tr>
 
<tr><th colspan="2" style="color:#000000; text-align:left; font-weight:normal; background:{{{c2|#838383}}};">'''Commanders'''</th></tr>
 
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:transparent;"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
 
{{{commanders1}}}
 
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
 
{{{commanders2}}}
 
</td></tr>
 
<tr><th colspan="2" style="color:#000000; text-align:left; font-weight:normal; background:{{{c2|#838383}}};">'''Strength'''</th></tr>
 
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:transparent;"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
 
{{{forces1}}}
 
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
 
{{{forces2}}}
 
</td></tr>
 
<tr><th colspan="2" style="color:#000000; text-align:left; font-weight:normal; background:{{{c2|#838383}}};">'''Casualties'''</th></tr>
 
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:transparent;"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
 
{{{casual1}}}
 
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
 
{{{casual2}}}
 
</td></tr></table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align: center">
 
</td></tr></table>
 
<noinclude>For battles, use [[Template:Infobox Battle]].
 
  
 +
|-
 +
| width="20%" style="background-color: #000066;" | {{faction2}}
 +
| width="80%" |
  
===Field list===
+
|-
*name
+
| width="20%" style="background-color: #000066;" | Other
*image
+
| width="80%" |
*conflict
 
*date
 
*place
 
*result
 
*previous
 
*next
 
*side1
 
*side2
 
*commanders1
 
*commanders2
 
*forces1
 
*forces2
 
*casual1
 
*casual2
 
  
===Usage===
+
|-
To use this template, paste the following code into the top of the article, filling all relevant fields:
+
| width="20%" style="background-color: #000066;" | Defunct / Destroyed
<pre><nowiki>
+
| width="80%" |  
{{conflict
 
|name=
 
|image=
 
|conflict=
 
|date=
 
|place=
 
|result=
 
|previous=
 
|next=
 
|side1=
 
|side2=
 
|commanders1=
 
|commanders2=
 
|forces1=
 
|forces2=
 
|casual1=
 
|casual2=
 
}}
 
</nowiki></pre>
 
  
[[Category:Templates|{{PAGENAME}}]]
+
|-
 +
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Battles and Conflicts'''
 +
|-
 +
 
 +
|-
 +
| width="20%" style="background-color: #000066;" | Concurrent
 +
| width="80%" |
 +
[[Black Sun Crisis|Black Sun Crisis (Hapan)]] &middot;
 +
[[Raid on Kuat]] &middot;
 +
[[Outer Rim War]] &middot;
 +
[[Corporate Sector Authority (Years 5-10)#Takeover|Corporate Sector Authority Nationalisation]] &middot;
 +
[[Mandalorian Civil War]] &middot;
 +
[[Cron Conflict]]
 +
|}
 +
 
 +
<noinclude>
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:22, 7 March 2011





{{{conflict}}}
Belligerents
Side 1 {{{side1}}}
Side 2 {{{side2}}}
Other {{{other}}}
Independent {{{independent}}}
Battles
Major {{{major-battles}}}
Minor {{{minor-battles}}}
Settings
Major {{{major-settings}}}
Minor {{{minor-settings}}}

Factions
Template:Faction1
Template:Faction2
Other
Defunct / Destroyed
Battles and Conflicts
Concurrent

Black Sun Crisis (Hapan) · Raid on Kuat · Outer Rim War · Corporate Sector Authority Nationalisation · Mandalorian Civil War · Cron Conflict