Difference between revisions of "Template:Conflict"
Line 98: | Line 98: | ||
If there is no accompanying icon, remove the icon| part of the code and it will simply display the nation name correctly. | 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 | ;;;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. | If you have multiple commanders or nations, simply enter in a belligerent line in for each entity. | ||
Revision as of 12:33, 31 January 2021
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
First Battle of Starbase Kickass | |
Date |
|
Location | Sector Kickass |
Result | Noise control was told to piss off, stereo turned up even louder! |
Belligerents | |
Starbase Kickass |
|
Commanders | |
|
|
Strength | |
|
|
Casualties and losses | |
|
|
Template:Conflict |