Template:Conflict

From Bravo Fleet
Revision as of 12:10, 23 March 2024 by McGig (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{name}}}
Belligerents
Template:Conflict

Conflict

This infobox exists for the purpose 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 and examples are provided within the infobox code example 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 its 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 however an alignment issue with mixing belligerents with and without icons. Please see the example below to see the nature of this issue.

If there is a commander or nation without an icon, it creates a spacing issue with entities either above or below.

If you have multiple commanders or nations, simply enter a belligerent line 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

Noise control running from Old Lady Higgins
First Battle of Starbase Kickass
Date
  • August 5th, 2398
  • Staradate 75592.2
Location

Sector Kickass

Result
  • Noise control was told to piss off
  • Stereo turned up even louder!
  • IKS Rust Bucket captured
Belligerents
Blankflag.png
Starbase Kickass
FEDicon.png
The Feds


KDFicon.png
Clingwrap Empire


ROMicon.png
Roman Space Elves
Commanders
Blankflag.png
High Adm. Big Bird


Tholian Assembly.png
Old Lady Higgins
FEDicon.png
Pointy Ears


KDFicon.png
honour eyes.gif


FEDicon.png
Adm. Ens. Kim
Strength
  • Starbase Kickass
  • USS Lollipop
  • USS Shiny
  • IKS Rust Bucket
  • 3 Cruisers
  • 4 Destroyers
Casualties and Losses
  • Janitor Jeff
  • Big Bird's cup of tea
  • 6000 Egos badly bruised
  • 1 bottle 2279 Saurian Brandy
Template:Conflict


The following code block produced the infobox on the right

{{Conflict
| name = First Battle of Starbase Kickass
| image = [[File:Starfleet1.jpg|Noise control running from Old Lady Higgins]]
| date = {{plainlist|
*August 5th, 2398
*Staradate 75592.2
}}
| location = Sector Kickass
| result = {{plainlist|
*Noise control was told to piss off
*Stereo turned up even louder!
*IKS Rust Bucket captured
}}
| belligerents left = 
{{belligerent|Starbase Kickass}}
| belligerents right = 
{{belligerent|FEDicon.png|The Feds}}
{{belligerent|KDFicon.png|Clingwrap Empire}}
{{belligerent|ROMicon.png|Roman Space Elves}}
| commanders left = 
{{belligerent|High Adm. Big Bird}}
{{belligerent|Tholian Assembly.png|Old Lady Higgins}}
| commanders right = 
{{belligerent|FEDicon.png|Pointy Ears}}
{{belligerent|KDFicon.png|honour eyes.gif}}
{{belligerent|FEDicon.png|Adm. Ens. Kim}}
| strength left = {{plainlist|
*Starbase Kickass
*USS Lollipop
}}
| strength right = {{plainlist|
*USS Shiny
*IKS Rust Bucket
*3 Cruisers
*4 Destroyers
}}
| casualties left = {{plainlist|
*Janitor Jeff
*Big Bird's cup of tea
}}
| casualties right = {{plainlist|
*6000 Egos badly bruised
*1 bottle 2279 Saurian Brandy
}}
}}