|
|
(5 intermediate revisions by the same user not shown) |
Line 11: |
Line 11: |
|
| |
|
| | label2 = Video | | | label2 = Video |
| | data2 = {{{video|{{{video}}}}}} | | | data2 = {{{video|}}} |
|
| |
|
| | label3 = Date | | | label3 = Date |
| | data3 = {{{date|{{{date}}}}}} | | | data3 = {{{date|}}} |
|
| |
|
| | label4 = Location | | | label4 = Location |
| | data4 = {{{location|{{{location}}}}}} | | | data4 = {{{location|}}} |
|
| |
|
| | label5 = Outcome | | | label5 = Outcome |
| | data5 = {{{outcome|{{{outcome}}}}}} | | | data5 = {{{outcome|}}} |
|
| |
|
| | label6 = Major Battles | | | label6 = Major Battles |
| | data6 = {{{major battles|{{{major_battles}}}}}} | | | data6 = {{{major battles|}}} |
|
| |
|
| | header7 = Combatants | | | header7 = Combatants |
Line 86: |
Line 86: |
| }}</table>}} | | }}</table>}} |
|
| |
|
| | | header9 = Commanders |
| | | data10 = {{Infobox/Columns|{{{commanders1|}}}|{{{commanders2|}}}|{{{commanders3|}}} }} |
|
| |
|
| | header9 = Combatants | | | data11 = {{#if:{{{side6|}}}||{{{commanders6|}}}}} |
| | data10 = {{#if:{{{commanders1|}}}{{{commanders2|}}}{{{commanders3|}}}{{{commanders1a|}}}{{{commanders2a|}}}{{{commanders3a|}}}{{{commanders1b|}}}{{{commanders2b|}}}{{{commanders3b|}}}{{{commanders1c|}}}{{{commanders2c|}}}{{{commanders3c|}}}{{{commanders1d|}}}{{{commanders2d|}}}{{{commanders3d|}}}
| |
| |<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;">
| |
| {{#if:{{{commanders1|}}}{{{commanders2|}}}{{{commanders3|}}}|<tr>
| |
| <td style="{{#if:{{{commanders2|}}}{{{commanders3|}}}|width:{{#if:{{{commanders3|}}}|33%|50%}};}}"><div>
| |
| {{{commanders1|}}}</div></td>
| |
| {{#if:{{{commanders2|}}}|<td style="width:{{#if:{{{commanders3|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
| |
| {{{commanders2}}}</div></td>}}
| |
| {{#if:{{{commanders3|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div> | |
| {{{commanders3}}}</div></td>
| |
| }}</tr>
| |
| }}
| |
| {{#if:{{{commanders1a|}}}{{{commanders2a|}}}{{{commanders3a|}}}|<tr>
| |
| <td style="{{#if:{{{commanders2a|}}}{{{commanders3a|}}}|width:{{#if:{{{commanders3a|}}}|33%|50%}};}}border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders1a|}}}</div></td>
| |
| {{#if:{{{commanders2a|}}}|<td style="width:{{#if:{{{commanders3a|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders2a}}}</div></td>}}
| |
| {{#if:{{{commanders3a|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders3a}}}</div></td>
| |
| }}</tr>
| |
| }}
| |
| {{#if:{{{commanders1b|}}}{{{commanders2b|}}}{{{commanders3b|}}}|<tr>
| |
| <td style="{{#if:{{{commanders2b|}}}{{{commanders3b|}}}|width:{{#if:{{{commanders3b|}}}|33%|50%}};}}border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders1b|}}}</div></td>
| |
| {{#if:{{{commanders2b|}}}|<td style="width:{{#if:{{{commanders3b|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders2b}}}</div></td>}}
| |
| {{#if:{{{commanders3b|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders3b}}}</div></td>
| |
| }}</tr>
| |
| }}
| |
| {{#if:{{{commanders1c|}}}{{{commanders2c|}}}{{{commanders3c|}}}|<tr>
| |
| <td style="{{#if:{{{commanders2c|}}}{{{commanders3c|}}}|width:{{#if:{{{commanders3c|}}}|33%|50%}};}}border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders1c|}}}</div></td>
| |
| {{#if:{{{commanders2c|}}}|<td style="width:{{#if:{{{commanders3c|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders2c}}}</div></td>}}
| |
| {{#if:{{{commanders3c|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders3c}}}</div></td>
| |
| }}</tr>
| |
| }}
| |
| {{#if:{{{commanders1d|}}}{{{commanders2d|}}}{{{commanders3d|}}}|<tr>
| |
| <td style="{{#if:{{{commanders2d|}}}|width:{{#if:{{{commanders3d|}}}|33%|50%}};}}border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders1d|}}}</div></td>
| |
| {{#if:{{{commanders2d|}}}|<td style="width:{{#if:{{{commanders3d|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders2d}}}</div></td>}}
| |
| {{#if:{{{commanders3d|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa">
| |
| <div>
| |
| {{{commanders3d}}}</div></td>
| |
| }}</tr>
| |
| }}</table>}}
| |
|
| |
|
| | belowclass = mergedtoprow noprint | | | belowclass = mergedtoprow noprint |
Line 188: |
Line 131: |
| }, | | }, |
| "major battles": { | | "major battles": { |
| | "type": "string", |
| | "suggested": true |
| | }, |
| | "side1": { |
| | "type": "string", |
| | "suggested": true |
| | }, |
| | "side2": { |
| | "type": "string", |
| | "suggested": true |
| | }, |
| | "side3": { |
| | "type": "string", |
| | "suggested": true |
| | }, |
| | "commanders1": { |
| | "type": "string", |
| | "suggested": true |
| | }, |
| | "commanders2": { |
| | "type": "string", |
| | "suggested": true |
| | }, |
| | "commanders3": { |
| "type": "string", | | "type": "string", |
| "suggested": true | | "suggested": true |
}}}
| image =
| label2 = Video
| data2 =
| label3 = Date
| data3 =
| label4 = Location
| data4 =
| label5 = Outcome
| data5 =
| label6 = Major Battles
| data6 =
| header7 = Combatants
| data8 =
| header9 = Commanders
| data10 =
| data11 =
| belowclass = mergedtoprow noprint
| below =
}}
</includeonly>
This template is used for pages about Wars or other conflicts.
Template parameters[Edit template data]
Parameter | Description | Type | Status |
---|
title1 | title1 | no description
| String | required |
---|
image1 | image1 | no description
| File | suggested |
---|
image2 | image2 | no description
| File | suggested |
---|
video | video | no description
| String | suggested |
---|
date | date | no description
| String | suggested |
---|
location | location | no description
| String | suggested |
---|
outcome | outcome | no description
| String | suggested |
---|
major battles | major battles | no description
| String | suggested |
---|
side1 | side1 | no description
| String | suggested |
---|
side2 | side2 | no description
| String | suggested |
---|
side3 | side3 | no description
| String | suggested |
---|
commanders1 | commanders1 | no description
| String | suggested |
---|
commanders2 | commanders2 | no description
| String | suggested |
---|
commanders3 | commanders3 | no description
| String | suggested |
---|