Template:War3: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<templatestyles src="Corporation/style.css" /> <includeonly>{{Infobox/begin}} {{Infobox/Header|title={{{title}}}|subtitle={{{greater_conflict}}}}} {{Infobox/Illustration|file...") |
mNo edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <templatestyles src=" |
+ | <templatestyles src="War/styles.css" /> |
<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:{{{ |
+ | {{Infobox/Illustration|file={{#if:{{{image|}}}|[[File:{{{image}}}]]|}}|caption={{{image_desc|}}}}} |
− | {{Infobox/Item|key= |
+ | {{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}}}}} |
||
− | {{Infobox/Item|key=Territorial Changes|value={{{changes}}}}} |
+ | {{Infobox/Item|key=Territorial Changes|value={{{changes|}}}}} |
{{Infobox/SectionHeader|section=Belligerents}} |
{{Infobox/SectionHeader|section=Belligerents}} |
||
− | {{Infobox/Column|leftValue='''{{{force_1_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|}}}'''|}}}} |
+ | {{#if:{{{force_1_header|}}}{{{force_2_header|}}}{{{force_3_header|}}} |{{Infobox/Bar}}|}} |
||
− | {{Infobox/Column|leftValue={{{force_1_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/Column|leftValue={{{force_1_strength}}}| |
+ | {{Infobox/Three Column|leftValue={{{force_1_strength|}}}|centerValue={{{force_2_strength|}}}|rightValue={{{force_3_strength|}}}}} |
{{Infobox/SectionHeader|section=Casualties and Losses}} |
{{Infobox/SectionHeader|section=Casualties and Losses}} |
||
− | {{Infobox/Column|leftValue={{{force_1_losses}}}| |
+ | {{Infobox/Three Column|leftValue={{{force_1_losses|}}}|centerValue={{{force_2_losses|}}}|rightValue={{{force_3_losses|}}}}} |
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
− | <noinclude> |
+ | <noinclude> |
+ | {{War3}} |
||
− | {{Infobox/Header|title={{{title}}}|subtitle={{{greater_conflict}}}}} |
||
+ | |||
− | {{Infobox/Illustration|file=[[File:KP dark.png]]|caption={{{mapdesc}}}}} |
||
+ | {{War3 |
||
− | {{Infobox/Item|key=Date|value={{{date}}}}} |
||
+ | |title = {{PAGENAME}}|greater_conflict = [greater_conflict] |
||
− | {{Infobox/Item|key=Location|value={{{location}}}}} |
||
+ | |image = KP dark.png|image_desc = [description] |
||
− | {{Infobox/Item|key=Result|value={{{treaty/outcome}}}}} |
||
+ | |start_date = [start_date]|end_date = [end_date] |
||
− | {{Infobox/Item|key=Territorial Changes|value={{{changes}}}}} |
||
+ | |location = [location] |
||
− | {{Infobox/SectionHeader|section=Belligerents}} |
||
+ | |treaty/outcome = [treaty/outcome] |
||
− | {{Infobox/Column|leftValue='''{{{force_1_header}}}'''|rightValue='''{{{force_2_header}}}'''}} |
||
+ | |changes = [changes] |
||
− | {{Infobox/Column|leftValue={{{force_1_list}}}|rightValue={{{force_2_list}}}}} |
||
+ | |force_1_header = [force_1_header]|force_2_header = [force_2_header]|force_3_header = [force_3_header] |
||
− | {{Infobox/SectionHeader|section=Strength}} |
||
+ | |force_1_list = [force_1_list]|force_2_list = [force_2_list]|force_3_list = [force_3_list] |
||
− | {{Infobox/Column|leftValue={{{force_1_strength}}}|rightValue={{{force_2_strength}}}}} |
||
+ | |force_1_strength = [force_1_strength]|force_2_strength = [force_2_strength]|force_3_strength = [force_3_strength] |
||
− | {{Infobox/SectionHeader|section=Casualties and Losses}} |
||
− | + | |force_1_losses = [force_1_losses]|force_2_losses = [force_2_losses]|force_3_losses = [force_3_losses] |
|
+ | }} |
||
− | {{Infobox/end}} |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
+ | <templatedata> |
||
⚫ | |||
+ | { |
||
+ | "params": { |
||
+ | "title": {}, |
||
+ | "greater_conflict": {}, |
||
+ | "image": {}, |
||
+ | "image_desc": {}, |
||
+ | "start_date": {}, |
||
+ | "end_date": {}, |
||
+ | "location": {}, |
||
+ | "treaty/outcome": {}, |
||
+ | "changes": {}, |
||
+ | "force_1_header": {}, |
||
+ | "force_2_header": {}, |
||
+ | "force_3_header": {}, |
||
+ | "force_1_list": {}, |
||
+ | "force_2_list": {}, |
||
+ | "force_3_list": {}, |
||
+ | "force_1_strength": {}, |
||
+ | "force_2_strength": {}, |
||
+ | "force_3_strength": {}, |
||
+ | "force_1_losses": {}, |
||
+ | "force_2_losses": {}, |
||
+ | "force_3_losses": {} |
||
+ | } |
||
+ | } |
||
⚫ |
Latest revision as of 02:31, 18 January 2025
War3
|
|||||
---|---|---|---|---|---|
Result | {{{treaty/outcome}}} | ||||
Belligerents | |||||
Strength | |||||
Casualties and Losses |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description | Unknown | optional |
greater_conflict | greater_conflict | no description | Unknown | optional |
image | image | no description | Unknown | optional |
image_desc | image_desc | no description | Unknown | optional |
start_date | start_date | no description | Unknown | optional |
end_date | end_date | no description | Unknown | optional |
location | location | no description | Unknown | optional |
treaty/outcome | treaty/outcome | no description | Unknown | optional |
changes | changes | no description | Unknown | optional |
force_1_header | force_1_header | no description | Unknown | optional |
force_2_header | force_2_header | no description | Unknown | optional |
force_3_header | force_3_header | no description | Unknown | optional |
force_1_list | force_1_list | no description | Unknown | optional |
force_2_list | force_2_list | no description | Unknown | optional |
force_3_list | force_3_list | no description | Unknown | optional |
force_1_strength | force_1_strength | no description | Unknown | optional |
force_2_strength | force_2_strength | no description | Unknown | optional |
force_3_strength | force_3_strength | no description | Unknown | optional |
force_1_losses | force_1_losses | no description | Unknown | optional |
force_2_losses | force_2_losses | no description | Unknown | optional |
force_3_losses | force_3_losses | no description | Unknown | optional |