Difference between revisions of "Template:Conflict"
Line 1: | Line 1: | ||
<div class="infobox"> | <includeonly><div class="infobox"> | ||
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0; | {| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0; | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
Line 51: | Line 51: | ||
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;" | |- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;" | ||
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Conflict]] | |colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Conflict]] | ||
|}</div> | |}</div></includeonly> | ||
<includeonly>[[Category:Conflict]] | <includeonly>[[Category:Conflict]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
==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. | |||
{{clear}} | |||
The code for the infobox itself is as follows: | |||
<pre> | <pre> | ||
{{Conflict | {{Conflict | ||
Line 63: | Line 68: | ||
| location = | | location = | ||
| result = | | result = | ||
| belligerents left = | | 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| | |||
* | |||
* | |||
}} | |||
}} | |||
</pre> | |||
==Belligerent== | |||
<pre> | |||
{{belligerent|icon|name}} | |||
</pre> | |||
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 you have multiple commanders or nations, simply enter in a belligerent line in for each entity. | |||
==Plainlist== | |||
<pre> | |||
{{plainlist| | |||
* | |||
* | |||
}} | |||
</pre> | |||
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== | |||
{{Conflict | |||
| name = First Battle of Starbase Kickass | |||
| image = | |||
| date = {{plainlist| | |||
*August 5th, 2398 | |||
*Staradate 75592.2 | |||
}} | |||
| location = Sector Kickass | |||
| result = Noise control was told to piss off, stereo turned up even louder! | |||
| belligerents left = Starbase Kickass | |||
| belligerents right = | | belligerents right = | ||
{{belligerent|FEDicon.png|United Federation of Wimps}} | |||
{{belligerent|KDFicon.png|Clingy Empire}} | |||
{{belligerent|ROMicon.png|Roman Space Elves}} | |||
| commanders left = | | commanders left = | ||
{{belligerent|High Admiral Big Bird}} | |||
{{belligerent|FEDicon.png|Old Lady Higgins}} | |||
| commanders right = | | commanders right = | ||
| strength left = | {{belligerent|FEDicon.png|Admiral Pointy Ears}} | ||
| strength right = | {{belligerent|KDFicon.png|honour eyes.gif}} | ||
| casualties left = | {{belligerent|FEDicon.png|Captain Ensign Kim}} | ||
| strength left = {{plainlist| | |||
}} | *Starbase Kickass | ||
*USS Lollipop | |||
}} | |||
{{plainlist| | | strength right = {{plainlist| | ||
* | *USS Shiny | ||
*IKS Rust Bucket | |||
*3 Cruisers | |||
*4 Destroyers | |||
}} | |||
| casualties left = {{plainlist| | |||
*Janitor Jeff | |||
*High Admiral Big Bird's cup of tea | |||
}} | |||
| casualties right = {{plainlist| | |||
*6000 Egos badly bruised | |||
*1 bottle 2279 Saurian Brandy | |||
}} | |||
}} | }} | ||
<noinclude>[[Category:Infobox Templates|Conflict]]</noinclude> | <noinclude>[[Category:Infobox Templates|Conflict]]</noinclude> |
Revision as of 11:51, 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 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 |