Pegaus Fleet Wiki Template:Conflict

Template:Conflict

Template page
{{{name}}}
Belligerents
Commanders
Strength
Casualties and losses

Conflict

This infobox exists for the purposes of providing a uniform and consistent method for displaying conflict high level details. There is the infobox itself as well as 2 other templates in use for formatting. They are detailed below on their usage as well and examples are provided within the infobox code below.

The code for the infobox itself is as follows:

{{Conflict
| name = 
| image = 
| date = 
| location = 
| result = 
| belligerents left = {{belligerent|icon|name}}
| belligerents right = {{belligerent|icon|name}}
| commanders left = {{belligerent|icon|name}}
| commanders right = {{belligerent|icon|name}}
| strength left = {{plainlist|
*
*
}}
| strength right = {{plainlist|
*
*
}}
| casualties left = {{plainlist|
*
*
}}
| casualties right = {{plainlist|
*
*
}}
}}

Belligerent

{{belligerent|icon|name}}

This code is used to provide a belligerent and it's national icon. The code can be used for nations, commanders and strength if indicating strength per participant instead of as a whole per side. If there is no accompanying icon, remove the icon| part of the code and it will simply display the nation name correctly.

THERE IS A LINE GAP ISSUE, SEE EXAMPLE BELOW
If there is a commander or nation without an icon, it creates a spacing issue with entities on either above and below.
You have been warned

If you have multiple commanders or nations, simply enter in a belligerent line in for each entity.

Plainlist

{{plainlist|
*
*
}}

This is used when you have a list of items. It will display a list without any bullet points at all in mediawiki code and not require the use of HTML to force line breaks. It works best for listing items in this template and is preferred.

Example

The following code block produced the infobox on the right

{{Conflict
| name = Second Battle of ''Deep Space 9''
| image = 
| date = {{plainlist|
*2373
}}
| location = [[memoryalpha:Deep Space 9|''Deep Space 9'']], [[memoryalpha:Bajoran sector|Bajoran sector]]
| result = [[memoryalpha:Dominion|Dominion]] tactical victory; [[memoryalpha:Federation Alliance|Federation Alliance]] strategic victory
| belligerents left = 
[[memoryalpha:Federation Alliance|Federation Alliance]]
{{belligerent|FEDicon.png|[[memoryalpha:United Federation of Planets|United Federation of Planets]]}}
{{belligerent|KDFicon.png|[[memoryalpha:Klingon Empire|Klingon Empire]]}}
| belligerents right = 
[[memoryalpha:Cardassian Union#History|Dominion Alliance]]
{{belligerent|DOMicon.png|[[memoryalpha:Dominion|Dominion]]}}
{{belligerent|CARDicon.png|[[memoryalpha:Cardassian Union|Cardassian Union]]}}
| commanders left = 
{{plainlist|
*[[memoryalpha:Benjamin Sisko|Benjamin Sisko]]
*[[memoryalpha:Jadzia Dax|Jadzia Dax]]
*[[memoryalpha:Martok|Martok]]
}}
| commanders right = 
{{plainlist|
*[[memoryalpha:Dukat|Dukat]]
*[[memoryalpha:Weyoun|Weyoun]]
}}
| strength left = {{plainlist|
*[[memoryalpha:Deep Space 9|''Deep Space 9'']]
*[[memoryalpha:USS Defiant (2370)|''USS Defiant'']]
*[[memoryalpha:IKS Rotarran|''IKS Rotarran'']]
}}
| strength right = {{plainlist|
*[[memoryalpha:Jem'Hadar battle cruiser|Jem'Hadar battle cruiser]]
*[[memoryalpha:Jem'Hadar fighter|Jem'Hadar fighter]]
*[[memoryalpha:Galor class|''Galor'' class]] [[memoryalpha:Destroyer|destroyers]]
*[[memoryalpha:Hideki class|''Hideki'' class destroyers]] [[memoryalpha:Fighter|fighters]]
}}
| casualties left = {{plainlist|
*''Deep Space 9'' captured
}}
| casualties right = {{plainlist|
*50+ ships destroyed
}}
}}