Template:Infobox terrorist attack: Difference between revisions
No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width: | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:310px;min-width:310px; background-color: #f8f9fa; background: border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | ||
|- | |- | ||
|<div> | |<div> | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100% | {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan="2" style="text-align:center | ! colspan="2" style="text-align:center;" | <font style="font-size:150%;">{{{title}}}</font> | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{partof|}}}| |display: none;}} text-align:center;" | <font style="font-size:95%;">Part of {{{partof}}}</font> | |||
! colspan="2" style="{{#if:{{{partof|}}}| |display: none;}} text-align:center | |||
|- | |- | ||
{{#if:{{{image|}}} | <!-- Check if image_flag is provided --> | {{#if:{{{image|}}} | <!-- Check if image_flag is provided --> | ||
Line 17: | Line 12: | ||
}} | }} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{location|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Location''' | ||
| style="{{#if:{{{date|}}}| |display: none;}}" class="infoboxcell" valign=" | | style="{{#if:{{{location|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{location|}}} | ||
|- | |||
| style="{{#if:{{{date|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Date''' | |||
| style="{{#if:{{{date|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{date|}}} | |||
|- | |||
| style="{{#if:{{{target|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Target''' | |||
| style="{{#if:{{{target|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{target|}}} | |||
|- | |||
| style="{{#if:{{{type|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Attack type''' | |||
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{type|}}} | |||
|- | |||
| style="{{#if:{{{fatalities|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Deaths''' | |||
| style="{{#if:{{{fatalities|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{fatalities|}}} | |||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{injuries|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Injured''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{injuries|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{injuries|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{perpetrators|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Perpetrators''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{perpetrators|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{perpetrators|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{number_of_participants|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''No. of participants''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{number_of_participants|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{number_of_participants|}}} | ||
|- | |||
| style="{{#if:{{{motive|}}}| |display: none;}} font-size: 14px;" valign="middle" | '''Motive''' | |||
| style="{{#if:{{{motive|}}}| |display: none;}}" class="infoboxcell" halign="left" valign="middle" | {{{motive|}}} | |||
|- | |- | ||
|} | |} | ||
|} | |} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
{{Infobox | {{Infobox terrorist attack | ||
|title= | |title= | ||
|partof= | |partof= | ||
Line 65: | Line 74: | ||
|target=South African soldiers | |target=South African soldiers | ||
|perpetrators=Boer rebels | |perpetrators=Boer rebels | ||
|weapons= | |weapons=Stolen guns | ||
|number_of_participants= | |number_of_participants=12 | ||
|motive=Boer nationalism | |||
|motive= | |||
}} | }} | ||
Example Usage:<pre> | Example Usage:<pre> | ||
{{Infobox terrorist attack | {{Infobox terrorist attack | ||
|title= | |title=Example attack | ||
|partof= | |partof=Other conflict | ||
|image=[[Image:Image 2024-10-07 110020309.png|270px|bordered]]<br />Aftermath of the attack. | |image=[[Image:Image 2024-10-07 110020309.png|270px|bordered]]<br />Aftermath of the attack. | ||
|location=South Africa | |||
|location= | |date=00/00/0000 | ||
|date= | |type=Terrorist attack | ||
|type= | |fatalities=10+ | ||
|fatalities= | |injuries=100+ | ||
|injuries= | |target=South African soldiers | ||
| | |perpetrators=Boer rebels | ||
|perpetrators= | |weapons=Stolen guns | ||
|number_of_participants=12 | |||
|weapons= | |motive=Boer nationalism | ||
|number_of_participants= | |||
|motive= | |||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 10:35, 7 October 2024
|
Example Usage:
{{Infobox terrorist attack |title=Example attack |partof=Other conflict |image=[[Image:Image 2024-10-07 110020309.png|270px|bordered]]<br />Aftermath of the attack. |location=South Africa |date=00/00/0000 |type=Terrorist attack |fatalities=10+ |injuries=100+ |target=South African soldiers |perpetrators=Boer rebels |weapons=Stolen guns |number_of_participants=12 |motive=Boer nationalism }}
Documentation
Conflict is the name of the conflict, for example, "Iraq War" or "Syrian War" or "Battle of Town"
|conflict
Part of is to show if it is part of a bigger conflict, this is mostly used for individual battles.
|partof
Image is to give an image of the war, could be a screen shot of the battle. IMAGE SIZE MUST BE NO MORE THAN 170px
|image
Date is when the battle was fought, must be in the format of: 6th November 2024 - 5th December 2024 3rd Janurary 2023 - 1st February 2025 21st October 2024 - 5th December 2024
|date
Location is where it took place, i.e Berlin, near Berlin, south Berlin, Cork. If its a war over multiple areas ignore this, else put "world wide" or list what continents/areas
|location
Image map is a image of where the battle took place, please use the MapChart province map, any other map wont be accepted.
|image_map
Result is the result of the battle, i.e who won.
|result
Status is what is happening, ongoing? ended?
|status
The commander ones are for a list of commanders on each side. I.e
the ul means unordered list, it is an html element, the li is a list item, this holds the flag and player link. Player names must be wraped in [[ ]] to link to their player.
|commander1, commander2, commander3
Example
This example is used on the right.
Example Usage:
{{Infobox terrorist attack }}