Difference between revisions of "Template:Conflict Infobox"

From Discovery Wiki
Jump to navigationJump to search
Line 34: Line 34:
 
{| style="width: 100%;"
 
{| style="width: 100%;"
 
|-
 
|-
| style="width: 50%; border-right: 1px dotted #aaaaaa;" | {{{combatant1}}}
+
| style="width: 50%; padding-right: 3px; border-right: 1px dotted #aaaaaa;" | {{{combatant1}}}
| style="width: 50%;" | {{{combatant2}}}
+
| style="width: 50%; padding-left: 3px;" | {{{combatant2}}}
|}
 
|-
 
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;" | Commanders
 
|-
 
| colspan="2" |
 
{| style="width: 100%;"
 
|-
 
| style="width: 50%; border-right: 1px dotted #aaaaaa;" | {{{commander1}}}
 
| style="width: 50%;" | {{{commander2}}}
 
 
|}
 
|}
 +
{{#if: {{{commander1|}}}{{{commander2|}}} |
 +
{{!}}-
 +
{{!}} colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;" | Commanders
 +
{{!}}-
 +
{{!}} colspan="2" {{!}}
 +
{{{!}} style="width: 100%;"
 +
{{!}}-
 +
{{!}} style="width: 50%; padding-right: 3px; border-right: 1px dotted #aaaaaa;" {{!}} {{{commander1}}}
 +
{{!}} style="width: 50%; padding-left: 3px;;" {{!}} {{{commander2}}}
 +
{{!}}}
 +
}}
 
{{#if: {{{strength1|}}}{{{strength2|}}} |  
 
{{#if: {{{strength1|}}}{{{strength2|}}} |  
 
{{!}}-
 
{{!}}-
Line 53: Line 55:
 
{{{!}} style="width: 100%;"
 
{{{!}} style="width: 100%;"
 
{{!}}-
 
{{!}}-
{{!}} style="width: 50%; border-right: 1px dotted #aaaaaa;" {{!}} {{{strength1}}}
+
{{!}} style="width: 50%; padding-right: 3px; border-right: 1px dotted #aaaaaa;" {{!}} {{{strength1}}}
{{!}} style="width: 50%;" {{!}} {{{strength2}}}
+
{{!}} style="width: 50%; padding-left: 3px;" {{!}} {{{strength2}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Revision as of 14:32, 3 July 2009

Example 1

Usage

{{Conflict Infobox
| conflict = Omega-5 Conflict
| partof = Corsair - Hessian War
| started = 740
| ended = 
| sector = 
| system = [[Omega-5]]
| region = [[Border Worlds]]
| result = 
| status = Ongoing conflict
| combatant1 = [[Red Hessians]]
| combatant2 = {{House Link | Corsairs}}
| commander1 = 
| commander2 = 
| strength1 = Exact number unknown,<br>believed to maintain numerical superiority
| strength2 = Exact number unknown
}}

Result

Omega-5 Conflict
Part of Hessian-Corsair War
Started on 740 A.S.
Location unknown
Status Ongoing conflict
Belligerents
Red Hessians Flag-corsairs.png Corsairs

Commanders

Strength
Exact number unknown,
believed to maintain numerical superiority
Exact number unknown

Example 2

Usage

{{Conflict Infobox
| conflict = Battle of the Yanagi cloud
| partof = [[Eighty Years War]]
| started = 668
| ended = 
| location = [[Sigma-13]] system
| result = Decisive victory for the [[Gas Miners Guild]]
| status = 
| combatant1 = {{House Link | Rheinland}}
| combatant2 = [[Gas Miners Guild]]
| commander1 = Empress Leicht
| commander2 = GMG Security Council
| strength1 = 
| strength2 = 
}}

Result

Battle of the Yanagi cloud
Part of Eighty Years War
Started on 668 A.S.
Location unknown
Result Decisive victory for the Gas Miners Guild
Belligerents
Flag-rheinland.png Rheinland Gas Miners Guild
colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;"