Template:War: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
 
{{Infobox/Header|title={{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{greater_conflict|}}}|{{{greater_conflict|}}}|}}}}
 
{{Infobox/Header|title={{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{greater_conflict|}}}|{{{greater_conflict|}}}|}}}}
{{Infobox/Illustration|file={{#if:{{{img|}}}|[[File:{{{photo}}}]]|}}|caption={{{img_desc|}}}}}
+
{{Infobox/Illustration|file={{#if:{{{image|}}}|[[File:{{{image}}}]]|}}|caption={{{image_desc|}}}}}
{{Infobox/ Item|key=Period|value={{#if:{{{start_date|}}}|{{#if:{{{end_date|}}}|{{{start_date}}} - {{{end_date}}}}}}}}}
+
{{Infobox/Vertical Item|key=Period|value={{#if:{{{start_date|}}}|{{#if:{{{end_date|}}}|{{{start_date}}} - {{{end_date}}}}}}}}}
 
{{Infobox/Item|key=Location|value={{{location|}}}}}
 
{{Infobox/Item|key=Location|value={{{location|}}}}}
 
{{Infobox/Item|key=Result|value={{{treaty/outcome}}}}}
 
{{Infobox/Item|key=Result|value={{{treaty/outcome}}}}}
Line 10: Line 10:
 
{{Infobox/SectionHeader|section=Belligerents}}
 
{{Infobox/SectionHeader|section=Belligerents}}
 
{{Infobox/Column|leftValue={{#if:{{{force_1_header|}}}|'''{{{force_1_header|}}}'''|}}|rightValue={{#if:{{{force_2_header|}}}|'''{{{force_2_header|}}}'''|}}}}
 
{{Infobox/Column|leftValue={{#if:{{{force_1_header|}}}|'''{{{force_1_header|}}}'''|}}|rightValue={{#if:{{{force_2_header|}}}|'''{{{force_2_header|}}}'''|}}}}
{{Infobox/Bar}}
+
{{#if:{{{force_1_list|}}}{{{force_2_list|}}}|{{Infobox/Bar}}|}}
 
{{Infobox/Column|leftValue={{{force_1_list|}}}|rightValue={{{force_2_list|}}}}}
 
{{Infobox/Column|leftValue={{{force_1_list|}}}|rightValue={{{force_2_list|}}}}}
 
{{Infobox/SectionHeader|section=Strength}}
 
{{Infobox/SectionHeader|section=Strength}}
Line 23: Line 23:
 
{{War
 
{{War
 
|title = {{PAGENAME}}|greater_conflict = [greater_conflict]
 
|title = {{PAGENAME}}|greater_conflict = [greater_conflict]
|img = KP dark.png|img_desc = [description]
+
|image = KP dark.png|image_desc = [description]
 
|start_date = [start_date]|end_date = [end_date]
 
|start_date = [start_date]|end_date = [end_date]
 
|location = [location]
 
|location = [location]

Latest revision as of 12:14, 28 October 2022



War

Result {{{treaty/outcome}}}
Belligerents
Strength
Casualties and Losses


War
[greater_conflict]
KP dark.png
[description]
Period
[start_date] - [end_date]
Location [location]
Result [treaty/outcome]
Territorial Changes [changes]
Belligerents
[force_1_header] [force_2_header]

[force_1_list] [force_2_list]
Strength
[force_1_strength] [force_2_strength]
Casualties and Losses
[force_1_losses] [force_2_losses]

No description.

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
greater_conflictgreater_conflict

no description

Unknownoptional
illustrationillustration

no description

Unknownoptional
illustration_descillustration_desc

no description

Unknownoptional
start_datestart_date

no description

Unknownoptional
end_dateend_date

no description

Unknownoptional
locationlocation

no description

Unknownoptional
treaty/outcometreaty/outcome

no description

Unknownoptional
changeschanges

no description

Unknownoptional
Force A Nameforce_1_header

no description

Unknownoptional
Force B Nameforce_2_header

no description

Unknownoptional
Force A Listforce_1_list

no description

Unknownoptional
Force B Listforce_2_list

no description

Unknownoptional
force_1_strengthforce_1_strength

no description

Unknownoptional
force_2_strengthforce_2_strength

no description

Unknownoptional
force_1_lossesforce_1_losses

no description

Unknownoptional
force_2_lossesforce_2_losses

no description

Unknownoptional