Difference between revisions of "Template:Infobox Conflict"

From Holocron - Star Wars Combine
Jump to: navigation, search
(Replaced content with "Template goes here. ==Usuage== <noinclude> Category:Templates </noinclude>")
Line 1: Line 1:
Template goes here.
+
<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">
 +
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; black:transparent; border-collapse:collapse;">
 +
<tr style="text-align:center; color:#ffffff; background:{{{c1|#303030}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
 +
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{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>'''Conflict''':</td><td class="infoboxcell" style="width:100%;">{{{conflict}}}
 +
</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>'''Date''':</td><td class="infoboxcell" style="width:100%;">{{{date}}}
 +
</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>'''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]].
  
  
 +
===Field list===
 +
*name
 +
*image
 +
*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:
 +
<pre><nowiki>
 +
{{conflict
 +
|name=
 +
|image=
 +
|conflict=
 +
|date=
 +
|place=
 +
|result=
 +
|previous=
 +
|next=
 +
|side1=
 +
|side2=
 +
|commanders1=
 +
|commanders2=
 +
|forces1=
 +
|forces2=
 +
|casual1=
 +
|casual2=
 +
}}
 +
</nowiki></pre>
  
==Usuage==
+
[[Category:Templates|{{PAGENAME}}]]
 
 
<noinclude>
 
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 18:03, 7 March 2011

{{{name}}}
Conflict:{{{conflict}}}
Date:{{{date}}}
Place:{{{place}}}
Outcome:{{{result}}}
Previous:{{{previous}}}
Next:{{{next}}}
Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Strength

{{{forces1}}}

{{{forces2}}}

Casualties

{{{casual1}}}

{{{casual2}}}

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

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{conflict
|name=
|image=
|conflict=
|date=
|place=
|result=
|previous=
|next=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}