Difference between revisions of "Template:Infobox Conflict"

From Holocron - Star Wars Combine
Jump to: navigation, search
(cat change)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br />
+
<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>
<br />
+
<tr><td width="100%" colspan="{{#if:{{{side3|}}}|3|2}}" style="width: 100%; text-align: center;">{{{image}}}</td></tr>
{| width="100%" style="border: 1px solid grey; padding: 1px; margin: 5px; font-size: 11px;"
+
<tr><td style="width: 20%;" valign="top">Date</td><td colspan="{{#if:{{{side3|}}}|2|1}}"style="width: 80%;" valign="top">{{{start}}} &mdash; {{{end}}}</td></tr>
| colspan="2" style="background-color: #000099; font-size: 14px; text-align: center; color: white;" | '''{{{conflict}}}'''
+
<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">Result</td><td colspan="{{#if:{{{side3|}}}|2|1}}" style="width: 80%;" valign="top">{{{result}}}</td></tr>
| colspan="2" style="background-color: #000066; text-align: center; color: white;" | {{{image}}}
+
<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>
| width="20%" style="background-color: #000066;" | Started
+
{{#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>}}
| width="80%" | {{{conflictstart}}}
+
<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>
| width="20%" style="background-color: #000066;" | Ended
+
{{#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>}}
| width="80%" | {{{conflictend}}}
+
{{#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>
| width="20%" style="background-color: #000066;" | Result
+
{{#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>}}}}
| width="80%" | {{{result}}}
+
{{#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="{{#if:{{{side3|}}}|3|2}}" style="text-align: center;">{{{battles}}}</td></tr>}}</table><noinclude>
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Factions'''
 
|-
 
| width="20%" style="background-color: #000066;" | Side 1
 
| width="80%" | {{{side1}}}
 
|-
 
| width="20%" style="background-color: #000066;" | Side 2
 
| width="80%" | {{{side2}}}
 
|-
 
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Battles'''
 
|-
 
| width="20%" style="background-color: #000066;" | Major
 
| width="80%" | {{{major-battles}}}
 
|-
 
| width="20%" style="background-color: #000066;" | Minor
 
| width="80%" | {{{minor-battles}}}
 
|-
 
| colspan="2" style="background-color: #000099; text-align: center; color: white;" | '''Settings'''
 
|-
 
| width="20%" style="background-color: #000066;" | Major
 
| width="80%" | {{{major-settings}}}
 
|-
 
| width="20%" style="background-color: #000066;" | Minor
 
| width="80%" | {{{minor-settings}}}
 
|}
 
<noinclude>
 
 
===Usage===
 
===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;).
+
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 (&middot;).
 +
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Infobox Conflict
 
{{Infobox Conflict
| conflict =
+
| title =
 
| image =
 
| image =
| conflictstart =
+
| start =
| conflictend =
+
| end =
 +
| location =
 
| result =
 
| result =
 
| side1 =
 
| side1 =
 
| side2 =
 
| side2 =
| major-battles =
+
| side1leaders =
| minor-battles =
+
| side2leaders =  
| major-settings =
+
| side1losses =  
| minor-settings =
+
| side2losses =  
 +
| battles =
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
==See also==
 +
* [[:Template:Infobox Battle]]
 +
* [[:Category:Conflicts]]
 +
 
 +
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17: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 =
}}

See also