Template:Battle Infobox: Difference between revisions
m (cat) |
(simple doc + templatedata) |
||
Line 14: | Line 14: | ||
{{Infobox row|type=subheader|align=center|text color=white|color=steelblue|Casualties and Losses}} | {{Infobox row|type=subheader|align=center|text color=white|color=steelblue|Casualties and Losses}} | ||
{{Infobox row|type=alternating|{{{losses 1|<noinclude>{{{losses 1}}}</noinclude>}}}|{{{losses 2|<noinclude>{{{losses 2}}}</noinclude>}}}}} | {{Infobox row|type=alternating|{{{losses 1|<noinclude>{{{losses 1}}}</noinclude>}}}|{{{losses 2|<noinclude>{{{losses 2}}}</noinclude>}}}}} | ||
|}<noinclude> | |}<noinclude>Infobox for conflicts, such as battles and wars. | ||
<pre>{{Battle Infobox | |||
|name= | |||
|image= | |||
|image size= | |||
|image text= | |||
|date= | |||
|location= | |||
|result= | |||
|belligerent 1= | |||
|belligerent 2= | |||
|commanders 1= | |||
|commanders 2= | |||
|units 1= | |||
|units 2= | |||
|strength 1= | |||
|strength 2= | |||
|losses 1= | |||
|losses 2= | |||
}}</pre> | |||
{{Navbox|title=TemplateData|<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Adds image to the top of the infobox", | |||
"type": "wiki-file-name" | |||
}, | |||
"image size": { | |||
"label": "Image size", | |||
"description": "Size of the top image", | |||
"type": "line", | |||
"default": "210px" | |||
}, | |||
"image text": { | |||
"label": "Image text", | |||
"description": "A short description of the top image in smaller font", | |||
"type": "line" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the conflict", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"description": "The period of time during which the conflict took place", | |||
"type": "content" | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "The area or place in which the conflict took place", | |||
"type": "content" | |||
}, | |||
"result": { | |||
"label": "Result", | |||
"description": "How the conflict ended", | |||
"type": "content" | |||
}, | |||
"belligerent 1": { | |||
"label": "Belligerent 1", | |||
"description": "Faction(s) or other power(s) on the side 1", | |||
"type": "content" | |||
}, | |||
"belligerent 2": { | |||
"label": "Belligerent 2", | |||
"description": "Faction(s) or other power(s) on the side 2", | |||
"type": "content" | |||
}, | |||
"commanders 1": { | |||
"label": "Commanders and Leaders 1", | |||
"description": "The key leaders on the side 1", | |||
"type": "content" | |||
}, | |||
"commanders 2": { | |||
"label": "Commanders and Leaders 2", | |||
"description": "The key leaders on the side 2", | |||
"type": "content" | |||
}, | |||
"units 1": { | |||
"label": "Units 1", | |||
"description": "Which units took part in the conflict on side 1", | |||
"type": "content" | |||
}, | |||
"units 2": { | |||
"label": "Units 2", | |||
"description": "Which units took part in the conflict on side 2", | |||
"type": "content" | |||
}, | |||
"strength 1": { | |||
"label": "Strength 1", | |||
"description": "How many personnel or ships participated on side 1", | |||
"type": "content" | |||
}, | |||
"strength 2": { | |||
"label": "Strength 2", | |||
"description": "How many personnel or ships participated on side 2", | |||
"type": "content" | |||
}, | |||
"losses 1": { | |||
"label": "Losses 1", | |||
"description": "How many casualties (dead, wounded, missing, captured etc) did side 1 suffer", | |||
"type": "content" | |||
}, | |||
"losses 2": { | |||
"label": "Losses 2", | |||
"description": "How many casualties (dead, wounded, missing, captured etc) did side 2 suffer", | |||
"type": "content" | |||
} | |||
}, | |||
"description": "Infobox for battles, wars and other conflicts", | |||
"format": "block" | |||
} | |||
</templatedata>}} | |||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 10:31, 28 May 2024
Battle Infobox | |
---|---|
Date | |
{{{date}}} | |
Location | |
{{{location}}} | |
Result | |
{{{result}}} | |
Belligerents | |
{{{belligerent 1}}} | |
{{{belligerent 2}}} | |
Commanders and Leaders | |
{{{commanders 1}}} | |
{{{commanders 2}}} | |
Units Involved | |
{{{units 1}}} | |
{{{units 2}}} | |
Strength | |
{{{strength 1}}} | |
{{{strength 2}}} | |
Casualties and Losses | |
{{{losses 1}}} | |
{{{losses 2}}} |
Infobox for conflicts, such as battles and wars.
{{Battle Infobox |name= |image= |image size= |image text= |date= |location= |result= |belligerent 1= |belligerent 2= |commanders 1= |commanders 2= |units 1= |units 2= |strength 1= |strength 2= |losses 1= |losses 2= }}
Infobox for battles, wars and other conflicts
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Adds image to the top of the infobox | File | optional |
Image size | image size | Size of the top image
| Line | optional |
Image text | image text | A short description of the top image in smaller font | Line | optional |
Name | name | Name of the conflict | Line | suggested |
Date | date | The period of time during which the conflict took place | Content | optional |
Location | location | The area or place in which the conflict took place | Content | optional |
Result | result | How the conflict ended | Content | optional |
Belligerent 1 | belligerent 1 | Faction(s) or other power(s) on the side 1 | Content | optional |
Belligerent 2 | belligerent 2 | Faction(s) or other power(s) on the side 2 | Content | optional |
Commanders and Leaders 1 | commanders 1 | The key leaders on the side 1 | Content | optional |
Commanders and Leaders 2 | commanders 2 | The key leaders on the side 2 | Content | optional |
Units 1 | units 1 | Which units took part in the conflict on side 1 | Content | optional |
Units 2 | units 2 | Which units took part in the conflict on side 2 | Content | optional |
Strength 1 | strength 1 | How many personnel or ships participated on side 1 | Content | optional |
Strength 2 | strength 2 | How many personnel or ships participated on side 2 | Content | optional |
Losses 1 | losses 1 | How many casualties (dead, wounded, missing, captured etc) did side 1 suffer | Content | optional |
Losses 2 | losses 2 | How many casualties (dead, wounded, missing, captured etc) did side 2 suffer | Content | optional |