Difference between revisions of "Template:Conflict Infobox"
From Discovery Wiki
Jump to navigationJump to search (Fixing styles for theme/automatic style changes) |
|||
Line 4: | Line 4: | ||
| colspan="2" class="infobox-name"|'''{{{conflict}}}''' | | colspan="2" class="infobox-name"|'''{{{conflict}}}''' | ||
{{#if: {{{partof|}}} | {{!}}- | {{#if: {{{partof|}}} | {{!}}- | ||
− | {{!}} colspan="2" class="infobox-section" {{!}} Part of the {{{partof}}} | + | {{!}} colspan="2" class="infobox-section" {{!}} Part of the {{{partof}}} }}{{#if: {{{date|}}} | |
− | }} | + | {{!}}- |
− | {{#if: {{{date|}}} | {{!}}- | ||
{{!}} style="font-weight: bold;" {{!}} Date | {{!}} style="font-weight: bold;" {{!}} Date | ||
{{!}} style="padding-right: 1em;" {{!}} {{{date}}} | {{!}} style="padding-right: 1em;" {{!}} {{{date}}} | ||
Line 14: | Line 13: | ||
|style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{region|}}} | |style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{region|}}} | ||
| {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{region|}}} | <br>''{{{region}}}'' }} | | {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{region|}}} | <br>''{{{region}}}'' }} | ||
− | | ''unknown'' | + | | ''unknown'' }}{{#if: {{{status|}}} |
− | }} | + | | {{!}}- |
− | {{#if: {{{status|}}} | {{!}}- | ||
{{!}} style="font-weight: bold;" {{!}} Status | {{!}} style="font-weight: bold;" {{!}} Status | ||
{{!}} style="padding-right: 1em;" {{!}} {{{status}}} | {{!}} style="padding-right: 1em;" {{!}} {{{status}}} | ||
− | }} | + | }}{{#if: {{{result|}}} |
− | {{#if: {{{result|}}} | {{!}}- | + | | {{!}}- |
{{!}} style="font-weight: bold;" {{!}} Result | {{!}} style="font-weight: bold;" {{!}} Result | ||
− | {{!}} style="padding-right: 1em;" {{!}} {{{result}}} | + | {{!}} style="padding-right: 1em;" {{!}} {{{result}}} }} |
− | }} | ||
|- | |- | ||
| colspan="2" class="infobox-section" | Belligerents | | colspan="2" class="infobox-section" | Belligerents | ||
Line 32: | Line 29: | ||
| style="vertical-align: top; width: 50%; padding-right: 3px; border-right: 1px dotted #aaaaaa;" | {{{combatant1}}} | | style="vertical-align: top; width: 50%; padding-right: 3px; border-right: 1px dotted #aaaaaa;" | {{{combatant1}}} | ||
| style="vertical-align: top; width: 50%; padding-left: 3px;" | {{{combatant2}}} | | style="vertical-align: top; width: 50%; padding-left: 3px;" | {{{combatant2}}} | ||
− | |} | + | |}{{#if: {{{commander1|}}}{{{commander2|}}} | |
− | {{#if: {{{commander1|}}}{{{commander2|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="infobox-section" {{!}} Commanders | {{!}} colspan="2" class="infobox-section" {{!}} Commanders | ||
Line 43: | Line 39: | ||
{{!}} style="vertical-align: top; width: 50%; padding-left: 3px;;" {{!}} {{{commander2}}} | {{!}} style="vertical-align: top; width: 50%; padding-left: 3px;;" {{!}} {{{commander2}}} | ||
{{!}}} | {{!}}} | ||
− | }} | + | }}{{#if: {{{strength1|}}}{{{strength2|}}} | |
− | {{#if: {{{strength1|}}}{{{strength2|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="infobox-section" {{!}} Strength | {{!}} colspan="2" class="infobox-section" {{!}} Strength |
Revision as of 00:02, 9 March 2010
Example 1
Usage
{{Conflict Infobox | conflict = Omega-5 Conflict | partof = Corsair - Hessian War | date = 740 [[A.S.]] | 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 the Hessian-Corsair War|- | Date | 740 A.S. | |||
Location | Omega-5 Border Worlds|- |
Status | Ongoing conflict | ||
Belligerents | |||||
|
Strength | ||||
|
Example 2
Usage
{{Conflict Infobox | conflict = Battle of the Yanagi cloud | partof = [[Eighty Years War]] | date = 668 [[A.S.]] | sector = C5 | system = [[Sigma-13]] | region = [[Border Worlds]] | 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 the Eighty Years War|- | Date | 668 A.S. | |||
Location | C5, Sigma-13 Border Worlds|- |
Result | Decisive victory for the Gas Miners Guild | ||
Belligerents | |||||
|
Commanders | ||||
|