Template:War3: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
   
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
{{Infobox/Header|title={{{title}}}|subtitle={{{greater_conflict}}}}}
+
{{Infobox/Header|title={{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{greater_conflict|}}}|{{{greater_conflict|}}}|}}}}
{{Infobox/Illustration|file=[[File:{{{illustration}}}]]|caption={{{imgdesc}}}}}
+
{{Infobox/Illustration|file={{#if:{{{img|}}}|[[File:{{{photo}}}]]|}}|caption={{{img_desc|}}}}}
{{Infobox/Item|key=Date|value={{{date}}}}}
+
{{Infobox/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}}}}}
{{Infobox/Item|key=Territorial Changes|value={{{changes}}}}}
+
{{Infobox/Item|key=Territorial Changes|value={{{changes|}}}}}
 
{{Infobox/SectionHeader|section=Belligerents}}
 
{{Infobox/SectionHeader|section=Belligerents}}
{{Infobox/Three Column|leftValue='''{{{force_1_header}}}'''|centerValue='''{{{force_2_header}}}'''|rightValue='''{{{force_3_header}}}'''}}
+
{{Infobox/Three Column|leftValue={{#if:{{{force_1_header|}}}|'''{{{force_1_header|}}}'''|}}|centerValue={{#if:{{{force_2_header|}}}|'''{{{force_2_header|}}}'''|}}|rightValue={{#if:{{{force_3_header|}}}|'''{{{force_3_header|}}}'''|}}}}
 
{{Infobox/Bar}}
 
{{Infobox/Bar}}
{{Infobox/Three Column|leftValue={{{force_1_list}}}|centerValue={{{force_2_list}}}|rightValue={{{force_3_list}}}}}
+
{{Infobox/Three Column|leftValue={{{force_1_list|}}}|centerValue={{{force_2_list|}}}|rightValue={{{force_3_list|}}}}}
 
{{Infobox/SectionHeader|section=Strength}}
 
{{Infobox/SectionHeader|section=Strength}}
{{Infobox/Three Column|leftValue={{{force_1_strength}}}|centerValue={{{force_2_list}}}|rightValue={{{force_3_strength}}}}}
+
{{Infobox/Three Column|leftValue={{{force_1_strength|}}}|centerValue={{{force_2_list|}}}|rightValue={{{force_3_strength|}}}}}
 
{{Infobox/SectionHeader|section=Casualties and Losses}}
 
{{Infobox/SectionHeader|section=Casualties and Losses}}
{{Infobox/Three Column|leftValue={{{force_1_losses}}}|centerValue={{{force_2_list}}}|rightValue={{{force_3_losses}}}}}
+
{{Infobox/Three Column|leftValue={{{force_1_losses|}}}|centerValue={{{force_2_list|}}}|rightValue={{{force_3_losses|}}}}}
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
<noinclude>{{War3
+
<noinclude>
  +
{{War3}}
  +
  +
{{War3
 
|title = {{PAGENAME}}|greater_conflict = [greater_conflict]
 
|title = {{PAGENAME}}|greater_conflict = [greater_conflict]
|illustration = KP dark.png|illustration_desc = [description]
+
|img = KP dark.png|img_desc = [description]
 
|start_date = [start_date]|end_date = [end_date]
 
|start_date = [start_date]|end_date = [end_date]
 
|location = [location]
 
|location = [location]
 
|treaty/outcome = [treaty/outcome]
 
|treaty/outcome = [treaty/outcome]
 
|changes = [changes]
 
|changes = [changes]
|force_1_header = [force_1_header]|force_2_header = [force_2_header]|force_3_header = [force_2_header]
+
|force_1_header = [force_1_header]|force_2_header = [force_2_header]|force_3_header = [force_3_header]
 
|force_1_list = [force_1_list]|force_2_list = [force_2_list]|force_3_list = [force_3_list]
 
|force_1_list = [force_1_list]|force_2_list = [force_2_list]|force_3_list = [force_3_list]
 
|force_1_strength = [force_1_strength]|force_2_strength = [force_2_strength]|force_3_strength = [force_3_strength]
 
|force_1_strength = [force_1_strength]|force_2_strength = [force_2_strength]|force_3_strength = [force_3_strength]

Revision as of 22:55, 26 October 2022



War3

Result {{{treaty/outcome}}}
Belligerents

Strength
Casualties and Losses


War3
[greater_conflict]
[[File:{{{photo}}}]]
[description]
Period [start_date] - [end_date]
Location [location]
Result [treaty/outcome]
Territorial Changes [changes]
Belligerents
[force_1_header] [force_2_header] [force_3_header]

[force_1_list] [force_2_list] [force_3_list]
Strength
[force_1_strength] [force_2_list] [force_3_strength]
Casualties and Losses
[force_1_losses] [force_2_list] [force_3_losses]