Template:Infobox military conflict: Difference between revisions

From Mega-Earth Wiki
Content added Content deleted
(Updated infobox)
(Fixed color)
 
Line 15: Line 15:
}}
}}
|-
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{date|}}}| |display: none;}}" valign="top" | <font size=2>'''Date'''</font>
| style="{{#if:{{{date|}}}| |display: none;}}" valign="top" | <font size=2>'''Date'''</font>
| style="{{#if:{{{date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date|}}}
| style="{{#if:{{{date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{location|}}}| |display: none;}}" valign="top" | <font size=2>'''Location'''</font>
| style="{{#if:{{{location|}}}| |display: none;}}" valign="top" | <font size=2>'''Location'''</font>
| style="{{#if:{{{location|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{location|}}}
| style="{{#if:{{{location|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{location|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{result|}}}| |display: none;}}" valign="top" | <font size=2>'''Result'''</font>
| style="{{#if:{{{result|}}}| |display: none;}}" valign="top" | <font size=2>'''Result'''</font>
| style="{{#if:{{{result|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{result|}}}
| style="{{#if:{{{result|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{result|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{status|}}}| |display: none;}}" valign="top" | <font size=2>'''Status'''</font>
| style="{{#if:{{{status|}}}| |display: none;}}" valign="top" | <font size=2>'''Status'''</font>
| style="{{#if:{{{status|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{status|}}}
| style="{{#if:{{{status|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{status|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
|-
|-
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Belligerents'''
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Belligerents'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{left_belligerents|}}}| |display: none;}}" valign="top" | {{{left_belligerents|}}}
| style="{{#if:{{{left_belligerents|}}}| |display: none;}}" valign="top" | {{{left_belligerents|}}}
| style="{{#if:{{{right_belligerents|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_belligerents|}}}
| style="{{#if:{{{right_belligerents|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_belligerents|}}}
|-
|-
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders and leaders'''
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders and leaders'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{left_leadership|}}}| |display: none;}}" valign="top" | {{{left_leadership|}}}
| style="{{#if:{{{left_leadership|}}}| |display: none;}}" valign="top" | {{{left_leadership|}}}
| style="{{#if:{{{right_leadership|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_leadership|}}}
| style="{{#if:{{{right_leadership|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_leadership|}}}
|-
|-
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Strength'''
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Strength'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{left_strength|}}}| |display: none;}}" valign="top" | {{{left_strength|}}}
| style="{{#if:{{{left_strength|}}}| |display: none;}}" valign="top" | {{{left_strength|}}}
| style="{{#if:{{{right_strength|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_strength|}}}
| style="{{#if:{{{right_strength|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_strength|}}}
|-
|-
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Casualties and losses'''
! colspan="2" style="{{#if:{{{hidesections|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Casualties and losses'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid {{{color}}}; border-bottom: 1px solid {{{color}}};"
| style="{{#if:{{{left_casualties|}}}| |display: none;}}" valign="top" | {{{left_casualties|}}}
| style="{{#if:{{{left_casualties|}}}| |display: none;}}" valign="top" | {{{left_casualties|}}}
| style="{{#if:{{{right_casualties|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_casualties|}}}
| style="{{#if:{{{right_casualties|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{right_casualties|}}}

Latest revision as of 12:07, 26 February 2024

{{{conflict}}} ({{{version}}})
Part of
{{{image}}}
Date
Location
Result
Status
Belligerents
Commanders and leaders
Strength
Casualties and losses

Example usage:

{{Infobox conflict
|color=Example
|conflict=Example
|partof=Example
|image=Example
|date=Example
|location=Example
|result=Example
|status=Example
|left_belligerents=Example
|right_belligerents=Example
|left_leadership=Example
|right_leadership=Example
|left_strength=Example
|right_strength=Example
|left_casualties=Example
|right_casualties=Example
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
colorcolor

no description

Unknownoptional
conflictconflict

no description

Stringoptional
versionversion

no description

Suggested values
V1 V2 V3 V4
Stringrequired
partofpartof

no description

Unknownoptional
imageimage

no description

Fileoptional
datedate

no description

Dateoptional
locationlocation

no description

Unknownoptional
resultresult

no description

Stringoptional
statusstatus

no description

Stringoptional
hidesectionshidesections

no description

Booleanoptional
left_belligerentsleft_belligerents

no description

Stringoptional
right_belligerentsright_belligerents

no description

Stringoptional
left_leadershipleft_leadership

no description

Stringoptional
right_leadershipright_leadership

no description

Stringoptional
left_strengthleft_strength

no description

Stringoptional
right_strengthright_strength

no description

Stringoptional
left_casualtiesleft_casualties

no description

Stringoptional
right_casualtiesright_casualties

no description

Stringoptional