Difference between revisions of "Template:Infobox Conflict"

From Holocron - Star Wars Combine
Jump to: navigation, search
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: #000066; text-align: center; color: white;" | {{{image}}}
</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}}}
+
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Factions'''
</td></tr></table>
+
|-
</td></tr>
+
| width="20%" style="background-color: #000066;" | Side 1
<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}}}
+
| width="80%" | {{{side1}}}
</td></tr></table>
+
|-
</td></tr>
+
| width="20%" style="background-color: #000066;" | Side 2
<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}}}
+
| width="80%" | {{{side2}}}
</td></tr></table>
+
|-
</td></tr>
+
| width="20%" style="background-color: #000066;" | Other
<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}}}
+
| width="80%" | {{{other}}}
</td></tr></table>
+
|-
</td></tr>
+
| width="20%" style="background-color: #000066;" | Independent
<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}}}
+
| width="80%" | {{{independent}}}
</td></tr></table>
+
|-
</td></tr>
+
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Battles'''
<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;">
+
| width="20%" style="background-color: #000066;" | Major
{{{side1}}}
+
| width="80%" | {{{major-battles}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
|-
{{{side2}}}
+
| width="20%" style="background-color: #000066;" | Minor
</td></tr>
+
| width="80%" | {{{minor-battles}}}
<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;">
+
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Settings'''
{{{commanders1}}}
+
|-
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
| width="20%" style="background-color: #000066;" | Major
{{{commanders2}}}
+
| width="80%" | {{{major-settings}}}
</td></tr>
+
|-
<tr><th colspan="2" style="color:#000000; text-align:left; font-weight:normal; background:{{{c2|#838383}}};">'''Strength'''</th></tr>
+
| width="20%" style="background-color: #000066;" | Minor
<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;">
+
| width="80%" | {{{minor-settings}}}
{{{forces1}}}
+
|}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
<noinclude>
{{{forces2}}}
+
===Usage===
</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]].
 
 
 
 
 
===Field list===
 
*name
 
*image
 
*conflict
 
*date
 
*place
 
*result
 
*previous
 
*next
 
*side1
 
*side2
 
*commanders1
 
*commanders2
 
*forces1
 
*forces2
 
*casual1
 
*casual2
 
  
===Usage===
+
The Conflict template is used to give details pertaining to conflicts that have happened in the Galaxy. Paste code into an article, filling fields in with the pertinent information. The first four fields should be factions or groups involved in the conflict; the last four are for important battles and locations. In the (likely) event that a particular field requires multiple entries, include them all under the same field, separated by a dash (-) or a dot (&middot;).
To use this template, paste the following code into the top of the article, filling all relevant fields:
 
 
<pre><nowiki>
 
<pre><nowiki>
{{conflict
+
{{Conflict
|name=
+
| image =
|image=
+
| Side 1 =
|conflict=
+
| Side 2 =
|date=
+
| other =
|place=
+
| independent =
|result=
+
| major-battles =
|previous=
+
| minor-battles =
|next=
+
| major-settings =
|side1=
+
| minor-settings =
|side2=
 
|commanders1=
 
|commanders2=
 
|forces1=
 
|forces2=
 
|casual1=
 
|casual2=
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>
</noinclude>
 

Revision as of 00:27, 30 March 2011



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

Usage

The Conflict template is used to give details pertaining to conflicts that have happened in the Galaxy. Paste code into an article, filling fields in with the pertinent information. The first four fields should be factions or groups involved in the conflict; the last four are for important battles and locations. In the (likely) event that a particular field requires multiple entries, include them all under the same field, separated by a dash (-) or a dot (·).

{{Conflict
| image =
| Side 1 =
| Side 2 =
| other =
| independent =
| major-battles =
| minor-battles =
| major-settings =
| minor-settings =
}}