Template:Infobox Conflict: Difference between revisions
Jump to navigation
Jump to search
Rupert Havok (talk | contribs) No edit summary |
Jeb`el Ras (talk | contribs) cat change |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 30%; float: right; font-size: 11px;"><tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{ | <table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 30%; float: right; font-size: 11px;"><tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{title}}}</b></font></td></tr> | ||
<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="width: 100%; text-align: center;">{{{image}}}</td></tr> | <tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="width: 100%; text-align: center;">{{{image}}}</td></tr> | ||
<tr><td style="width: 20%;" valign="top"> | <tr><td style="width: 20%;" valign="top">Date</td><td colspan="{{#if:{{{side3|}}}|2|1}}"style="width: 80%;" valign="top">{{{start}}} — {{{end}}}</td></tr> | ||
<tr><td style="width: 20%;" valign="top"> | <tr><td style="width: 20%;" valign="top">Location</td><td colspan="{{#if:{{{side3|}}}|2|1}}" style="width: 80%;" valign="top">{{{location}}}</td></tr> | ||
<tr><td style="width: 20%;" valign="top"> | <tr><td style="width: 20%;" valign="top">Result</td><td colspan="{{#if:{{{side3|}}}|2|1}}" style="width: 80%;" valign="top">{{{result}}}</td></tr> | ||
<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Belligerents</b></font></td></tr> | <tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Belligerents</b></font></td></tr> | ||
<tr> | <tr> | ||
{{#if:{{{side3|}}}|<td width="33%" valign="top"><small>{{{side1}}}</small></td><td width="34%" valign="top"><small>{{{side2}}}</small></td><td width="33%" valign="top"><small>{{{side3}}}</small></td></tr>|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; text-align: left;" width="50%" valign="top">{{{side1}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; text-align: right;" width="50%" valign="top">{{{side2}}}</td></tr>}} | {{#if:{{{side3|}}}|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" width="33%" valign="top"><small>{{{side1}}}</small></td><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 1px; text-align: center;" width="34%" valign="top"><small>{{{side2}}}</small></td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" width="33%" valign="top"><small>{{{side3}}}</small></td></tr>|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" width="50%" valign="top">{{{side1}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" width="50%" valign="top">{{{side2}}}</td></tr>}} | ||
<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Commanders and Leaders</b></font></td></tr> | <tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Commanders and Leaders</b></font></td></tr> | ||
<tr> | <tr> | ||
{{#if:{{{side3|}}}|<td width="33%" valign="top">{{{side1leaders}}}</td><td width="34%" valign="top">{{{side2leaders}}}</td><td width="33%" valign="top">{{{side3leaders}}}</td></tr>|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; text-align: left;" width="50%" valign="top">{{{side1leaders}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; text-align: right;" width="50%" valign="top">{{{side2leaders}}}</td></tr>}} | {{#if:{{{side3|}}}|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" width="33%" valign="top">{{{side1leaders}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 1px; text-align: center;" width="34%" valign="top">{{{side2leaders}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" width="33%" valign="top">{{{side3leaders}}}</td></tr>|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" width="50%" valign="top">{{{side1leaders}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" width="50%" valign="top">{{{side2leaders}}}</td></tr>}} | ||
<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Casualties and Losses</b></font></td></tr> | {{#if:{{{side1losses|}}}|<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Casualties and Losses</b></font></td></tr> | ||
<tr> | <tr> | ||
{{#if:{{{side3|}}}|<td width="33%" valign="top">{{{side1losses}}}</td><td width="34%" valign="top">{{{side2losses}}}</td><td width="33%" valign="top">{{{side3losses}}}</td></tr>|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; text-align: left;" width="50%" valign="top">{{{side1losses}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; text-align: right;" width="50%" valign="top">{{{side2losses}}}</td></tr>}} | {{#if:{{{side3|}}}|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" width="33%" valign="top">{{{side1losses}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 1px; text-align: center;" width="34%" valign="top">{{{side2losses}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" width="33%" valign="top">{{{side3losses}}}</td></tr>|<td style="border-color: #4d4d4d; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" width="50%" valign="top">{{{side1losses}}}</td><td style="border-color: #4d4d4d; border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: right;" width="50%" valign="top">{{{side2losses}}}</td></tr>}}}} | ||
{{#if:{{{battles|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: center;"><font color="white"><b>Battles</b></font></td></tr> | {{#if:{{{battles|}}}|<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: #21314c; text-align: center;"><font color="white"><b>Battles</b></font></td></tr> | ||
<tr><td width="100%" colspan="2" style="text-align: center;">{{{battles}}}</td></tr>}}</table><noinclude> | <tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="text-align: center;">{{{battles}}}</td></tr>}}</table><noinclude> | ||
===Usage=== | ===Usage=== | ||
The Conflict template is used to give details pertaining to conflicts that have happened in the | 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 regimes 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 (·). | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox Conflict | {{Infobox Conflict | ||
| | | title = | ||
| image = | | image = | ||
| start = | | start = | ||
Line 36: | Line 37: | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category: | ==See also== | ||
* [[:Template:Infobox Battle]] | |||
* [[:Category:Conflicts]] | |||
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 22:56, 17 April 2014
{{{title}}} | |
{{{image}}} | |
Date | {{{start}}} — {{{end}}} |
Location | {{{location}}} |
Result | {{{result}}} |
Belligerents | |
{{{side1}}} | {{{side2}}} |
Commanders and Leaders | |
{{{side1leaders}}} | {{{side2leaders}}} |
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 regimes 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 (·).
{{Infobox Conflict | title = | image = | start = | end = | location = | result = | side1 = | side2 = | side1leaders = | side2leaders = | side1losses = | side2losses = | battles = }}