टेम्पलेट:Infobox civil conflict: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Frietjes
No edit summary
imported>Frietjes
new version based on template:infobox, will save old version in sandbox for comparison
लाइन 1:
{{infobox
{| class="infobox vevent" style="width: 300px"
| bodyclass = vevent
|-
| bodystyle = width: 300px
! class="summary" colspan="{{#if:{{{side3|}}}|3|2}}" style="font-size: 125%; background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" | {{{title|{{PAGENAME}}}}}
| abovestyle = font-size: 125%; background-color: {{Infobox civil conflict/color}}; vertical-align: middle
|-
| aboveclass = summary
{{#if:{{{partof|}}}|
| above = {{{title|{{PAGENAME}}}}}
{{!}} colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" {{!}} Part of {{{partof}}}
 
{{!}}-
| headerstyle = background-color: {{Infobox civil conflict/color}}; vertical-align: middle
 
| subheaderstyle = background-color: {{Infobox civil conflict/color}}; vertical-align: middle
| subheader = {{#if:{{{partof|}}}|Part of {{{partof}}}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.35|alt={{{image_alt|{{{alt|}}}}}} }}
| imagestyle = {{#if:{{{caption|}}}|border-bottom: 1px solid #aaa}}
| caption = {{{caption|}}}
 
| label1 = Date
| data1 = {{{date|}}}
 
| label2 = Location
| data2 = {{br separated entries
| 1= <span class="location">{{{place}}}</span>
| 2 = {{#if:{{{coordinates|}}}
|{{{coordinates}}}
|{{#if:{{{latitude|}}}{{{longitude|}}}
|{{coord|{{{latitude}}}|{{{longitude}}}|{{{coordinates_type|type:landmark}}}|format=dms|display=inline,title}}}}
}}
}}
 
| label3 = Causes
| data3 = {{{causes|}}}
 
| label4 = Goals
| data4 = {{{goals|}}}|
 
| label5 = Methods
| data5 = {{{methods|}}}
 
| label6 = {{#if:{{{status|}}}|Status|Result}}
| data6 = {{#if:{{{status|}}}|{{{status}}}|{{{result|}}}}}
 
| label7 = Concessions<br />given
| data7 = {{{concessions|}}}
 
| header8 = {{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}|Parties to the civil conflict}}
| data9 = {{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}{{{side1a|}}}{{{side2a|}}}{{{side3a|}}}{{{side1b|}}}{{{side2b|}}}{{{side3b|}}}{{{side1c|}}}{{{side2c|}}}{{{side3c|}}}{{{side1d|}}}{{{side2d|}}}{{{side3d|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;">
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}
|<tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}|width:{{#if:{{{side3|}}}|33%|50%}};}}"><div>
{{{side1|}}}</div></td>{{#if:{{{side2|}}}
|<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{side2}}}</div></td>}}{{#if:{{{side3|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{side3}}}</div></td>
}}</tr>
}}{{#if:{{{side1a|}}}{{{side2a|}}}{{{side3a|}}}
|<tr>
<td style="{{#if:{{{side2a|}}}{{{side3a|}}}|width:{{#if:{{{side3a|}}}|33%|50%}};}}border-top:1px dotted #aaa"><div>
{{{side1a|}}}</div></td>{{#if:{{{side2a|}}}
|<td style="width:{{#if:{{{side3a|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side2a}}}</div></td>}}{{#if:{{{side3a|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side3a}}}</div></td>
}}</tr>
}}{{#if:{{{side1b|}}}{{{side2b|}}}{{{side3b|}}}|
<tr>
<td style="{{#if:{{{side2b|}}}{{{side3b|}}}|width:{{#if:{{{side3b|}}}|33%|50%}};}}border-top:1px dotted #aaa"><div>
{{{side1b|}}}</div></td>{{#if:{{{side2b|}}}
|<td style="width:{{#if:{{{side3b|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side2b}}}</div></td>}}{{#if:{{{side3b|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side3b}}}</div></td>
}}</tr>
}}{{#if:{{{side1c|}}}{{{side2c|}}}{{{side3c|}}}|
<tr>
<td style="{{#if:{{{side2c|}}}{{{side3c|}}}|width:{{#if:{{{side3c|}}}|33%|50%}};}}border-top:1px dotted #aaa"><div>
{{{side1c|}}}</div></td>{{#if:{{{side2c|}}}
|<td style="width:{{#if:{{{side3c|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side2c}}}</div></td>}}{{#if:{{{side3c|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side3c}}}</div></td>
}}</tr>
}}{{#if:{{{side1d|}}}{{{side2d|}}}{{{side3d|}}}|
<tr>
<td style="{{#if:{{{side2d|}}}|width:{{#if:{{{side3d|}}}|33%|50%}};}}border-top:1px dotted #aaa"><div>
{{{side1d|}}}</div></td>{{#if:{{{side2d|}}}
|<td style="width:{{#if:{{{side3d|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side2d}}}</div></td>}}{{#if:{{{side3d|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa; border-top:1px dotted #aaa"><div>
{{{side3d}}}</div></td>
}}</tr>
}}</table>}}
 
| header10 = {{#if:{{{leadfigures1|}}}{{{leadfigures2|}}}{{{leadfigures3|}}}|Lead figures}}
| data11 =
{{#if:{{{leadfigures1|}}}{{{leadfigures2|}}}{{{leadfigures3|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;"><tr>
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div>
{{{leadfigures1|}}}</div></td>
<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{leadfigures2}}}</div></td>{{#if:{{{side3|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{leadfigures3}}}</div></td>
}}</tr></table>
}}
 
{{#if:{{{image|}}}|
| header11 = {{#if:{{{units1|}}}{{{units2|}}}{{{units3|}}}|Units involved}}
{{!}} colspan="{{#if:{{{side3|}}}|3|2}}" style="text-align: center; {{#if:{{{caption|}}}||border-bottom: 1px solid #aaa}}" {{!}} {{{image}}}
| data12 =
{{!}}-
{{#if:{{{captionunits1|}}}{{{units2|}}}{{{units3|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;"><tr>
{{!}} colspan="{{#if:{{{side3|}}}|3|2}}" style="text-align: center; border-bottom: 1px solid #aaa" {{!}} {{{caption}}}
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div>
{{!}}-
{{{units1|}}}</div></td>
<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{units2}}}</div></td>{{#if:{{{side3|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{units3}}}</div></td>
}}</tr></table>
}}
 
| header13 = {{#if:{{{howmany1|}}}{{{howmany2|}}}{{{howmany3|}}}|Number}}
| data14 =
{{#if:{{{howmany1|}}}{{{howmany2|}}}{{{howmany3|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;"><tr>
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div>
{{{howmany1|}}}</div></td>
<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{howmany2}}}</div></td>{{#if:{{{side3|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{howmany3}}}</div></td>
|{{#if:{{{howmany3|}}}
|<tr><td colspan=2 style="text-align:center;{{#if:{{{howmany1|}}}{{{howmany2|}}}|border-top:1px dotted #aaa}}"><div>
{{{howmany3}}}</div></td>
</tr>}}
}}</tr></table>
}}
 
| colspan="{{#if:{{{side3|}}}|3|2}}"|
| header15 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|{{#if:{{{casualties_label|}}}| {{{casualties_label}}} | Casualties }} }}
{| style="width:100%; margin:0; padding:0; border:0"
| data16 =
|-
{{#if:{{{datecasualties1|}}}{{{casualties2|}}}{{{casualties3|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;"><tr>
! Date
<td style="{{#if:{{{side2|}}}{{{side3|}}}|width:{{#if:{{{side3|}}}|33%|50%}};}}"><div>
{{!}} {{{date}}}
{{{casualties1|}}}</div></td>
{{!}}-
<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{casualties2}}}</div></td>{{#if:{{{side3|}}}
|<td style="width:33%; padding-left:2px; border-left:1px dotted #aaa"><div>
{{{casualties3}}}</div></td>
|{{#if:{{{casualties3|}}}
|<tr><td colspan=2 style="text-align:center;{{#if:{{{casualties1|}}}{{{casualties2|}}}|border-top:1px dotted #aaa}}"><div>
{{{casualties3}}}</div></td>
</tr>}}
}}</tr></table>
}}
 
! Location
| <spanheader17 class="location">{{{place}}}</span> {{#if:{{both|{{{placecasualties1|}}}|{{{coordinatescasualties2|}}}}}|<br />}}{{{coordinatescasualties3|}}}
|<!-- empty -->
|-
|{{#if:{{{injuries|}}}{{{fatalities|}}}{{{arrests|}}}{{{detentions|}}}
{{#if:{{{causes|}}}|
|{{#if:{{{casualties_label|}}}| {{{casualties_label}}} | Casualties }}
! Causes
{{! }}
}}
{{{causes}}}
 
| label18 = Death(s)
| data18 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}||{{{fatalities|}}}}}
 
| label19 = Injuries
| data19 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}||{{{injuries|}}}}}
 
| label20 = [[Arrest]]ed
| data20 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}||{{{arrests|}}}}}
 
| label21 = [[Detention (imprisonment)|Detained]]
| data21 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}||{{{detentions|}}}}}
 
| label22 = [[Criminal charge|Charged]]
| data22 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}||{{{charged|}}}}}
 
| label23 = [[Fine (penalty)|Fined]]
| data23 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}||{{{fined|}}}}}
 
| header25 = {{#if:{{{map_type|}}}|<nowiki />}}
| data26 = {{#if:{{{map_type|}}}
| <center>{{Location map|{{{map_type}}}|lat={{{latitude}}}|long={{{longitude}}}|width={{{map_size|220}}}|float=center|border=none|label={{{map_label|}}}|caption={{{map_caption|Location within {{{map_type}}}}}}}}</center>
}}
| belowstyle = border-top:1px solid #aaa
|-
| below = {{#if:{{{goalsnotes|}}}|
 
! Goals
}}<noinclude>{{documentation}}</noinclude>
{{!}}
{{{goals}}}
}}
|-
{{#if:{{{methods|}}}|
! Methods
{{!}}
{{{methods}}}
}}
|-
{{#if:{{{status|}}}{{{result|}}}|
! {{#if:{{{status|}}}|Status|Result}}
{{!}} {{#if:{{{status|}}}|{{{status}}}|{{{result}}}}}
{{!}}-
}}
|-
{{#if:{{{concessions|}}}|
! Concessions<br />given
{{!}}
{{{concessions}}}
}}
|}
|-
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}|
! colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" {{!}} Parties to the civil conflict
{{!}}-
{{!}} {{#if:{{{side2|}}}|style="width:{{#if:{{{side3|}}}|33%|50%}}; border-right:1px dotted #aaa"|colspan=2}} {{!}}
{{{side1|}}}
{{#if:{{{side2|}}}|
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}" {{!}}
{{{side2}}}
}}
{{#if:{{{side3|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa" {{!}}
{{{side3}}}
}}
{{!}}-
}}
{{#if:{{{side1a|}}}{{{side2a|}}}{{{side3a|}}}|
{{!}} {{#if:{{{side2a|}}}|style="width:{{#if:{{{side3a|}}}|33%|50%}}; border-right:1px dotted #aaa; border-top:1px dotted #aaa"|colspan=2}} {{!}}
{{{side1a|}}}
{{#if:{{{side2a|}}}|
{{!}} style="width:{{#if:{{{side3a|}}}|33%|50%}}; border-top:1px dotted #aaa" {{!}}
{{{side2a}}}
}}
{{#if:{{{side3a|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa; border-top:1px dotted #aaa" {{!}}
{{{side3a}}}
}}
{{!}}-
}}
{{#if:{{{side1b|}}}{{{side2b|}}}{{{side3b|}}}|
{{!}} {{#if:{{{side2b|}}}|style="width:{{#if:{{{side3b|}}}|33%|50%}}; border-right:1px dotted #aaa; border-top:1px dotted #aaa"|colspan=2}} {{!}}
{{{side1b|}}}
{{#if:{{{side2b|}}}|
{{!}} style="width:{{#if:{{{side3b|}}}|33%|50%}}; border-top:1px dotted #aaa" {{!}}
{{{side2b}}}
}}
{{#if:{{{side3b|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa; border-top:1px dotted #aaa" {{!}}
{{{side3b}}}
}}
{{!}}-
}}
{{#if:{{{side1c|}}}{{{side2c|}}}{{{side3c|}}}|
{{!}} {{#if:{{{side2c|}}}|style="width:{{#if:{{{side3c|}}}|33%|50%}}; border-right:1px dotted #aaa; border-top:1px dotted #aaa"|colspan=2}} {{!}}
{{{side1c|}}}
{{#if:{{{side2c|}}}|
{{!}} style="width:{{#if:{{{side3c|}}}|33%|50%}}; border-top:1px dotted #aaa" {{!}}
{{{side2c}}}
}}
{{#if:{{{side3c|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa; border-top:1px dotted #aaa" {{!}}
{{{side3c}}}
}}
{{!}}-
}}
{{#if:{{{side1d|}}}{{{side2d|}}}{{{side3d|}}}|
{{!}} {{#if:{{{side2d|}}}|style="width:{{#if:{{{side3d|}}}|33%|50%}}; border-right:1px dotted #aaa; border-top:1px dotted #aaa"|colspan=2}} {{!}}
{{{side1d|}}}
{{#if:{{{side2d|}}}|
{{!}} style="width:{{#if:{{{side3d|}}}|33%|50%}}; border-top:1px dotted #aaa" {{!}}
{{{side2d}}}
}}
{{#if:{{{side3d|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa; border-top:1px dotted #aaa" {{!}}
{{{side3d}}}
}}
{{!}}-
}}
{{#if:{{{leadfigures1|}}}{{{leadfigures2|}}}{{{leadfigures3|}}}|
! colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" {{!}} Lead figures
{{!}}-
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}; border-right:1px dotted #aaa" {{!}}
{{{leadfigures1|}}}
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}" {{!}}
{{{leadfigures2|}}}
{{#if:{{{side3|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa" {{!}}
{{{leadfigures3|}}}
}}
{{!}}-
}}
{{#if:{{{units1|}}}{{{units2|}}}{{{units3|}}}|
! colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" {{!}} Units involved
{{!}}-
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}; border-right:1px dotted #aaa" {{!}}
{{{units1|}}}
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}" {{!}}
{{{units2|}}}
{{#if:{{{side3|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa" {{!}}
{{{units3|}}}
}}
{{!}}-
}}
{{#if:{{{howmany1|}}}{{{howmany2|}}}{{{howmany3|}}}|
! colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" {{!}} Number
{{!}}-
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}; border-right:1px dotted #aaa" {{!}} {{{howmany1|}}}
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}" {{!}} {{{howmany2|}}}
{{#if:{{{side3|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa" {{!}} {{{howmany3|}}}
}}
{{!}}-
}}
{{#if:{{{side3|}}}||{{#if:{{{howmany3|}}}|
{{!}} colspan=2 style="text-align:center; {{#if:{{{howmany1|}}}{{{howmany2|}}}|border-top:1px dotted #aaa;}}" {{!}}
{{{howmany3}}}
{{!}}-
}}}}
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{injuries|}}}{{{fatalities|}}}{{{arrests|}}}{{{detentions|}}}|
! colspan="{{#if:{{{side3|}}}|3|2}}" style="background-color: {{Infobox civil conflict/color}}; text-align: center; vertical-align: middle" {{!}} {{#if:{{{casualties_label|}}}| {{{casualties_label}}} | Casualties }}
{{!}}-
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}; border-right:1px dotted #aaa" {{!}} {{{casualties1|}}}
{{!}} style="width:{{#if:{{{side3|}}}|33%|50%}}" {{!}} {{{casualties2|}}}
{{#if:{{{side3|}}}|
{{!}} style="width:33%; border-left:1px dotted #aaa" {{!}} {{{casualties3|}}}
}}
{{!}}-
}}
{{#if:{{{side3|}}}||{{#if:{{{casualties3|}}}{{{injuries|}}}{{{fatalities|}}}{{{arrests|}}}{{{detentions|}}}|
{{!}} colspan=2 style="text-align:center; {{#if:{{{casualties1|}}}{{{casualties2|}}}|border-top:1px dotted #aaa;}}" {{!}} {{#if:{{{casualties3|}}}|{{{casualties3}}}|<table>{{#if:{{{fatalities|}}}|<tr><td align="left" width="121px">'''Death(s)'''</td><td align="left">{{{fatalities}}}</td></tr>|}}{{#if:{{{injuries|}}}|<tr><td align="left" width="121px">'''Injuries'''</td><td align="left">{{{injuries}}}</td></tr>|}}{{#if:{{{arrests|}}}|<tr><td align="left" width="121px">'''[[Arrest]]ed'''</td><td align="left">{{{arrests}}}</td></tr>|}}{{#if:{{{detentions|}}}|<tr><td align="left" width="121px">'''[[Detention (imprisonment)|Detained]]'''</td><td align="left">{{{detentions}}}</td></tr>|}}</table>}}
{{!}}-
}}}}
{{#if:{{{notes|}}}|
{{!}} colspan="{{#if:{{{side3|}}}|3|2}}" style="border-top:1px solid #aaa" {{!}} {{{notes}}}
}}
{{#if: {{{map_type|}}}|
{{!}}-
{{!}} colspan="{{#if:{{{side3|}}}|3|2}}" style="border-top:1px dotted #aaa" {{!}} <center>{{Location map|{{{map_type}}}|lat={{{latitude}}}|long={{{longitude}}}|width={{{map_size|220}}}|float=center|border=none|label={{{map_label|}}}|caption={{{map_caption|Location within {{{map_type}}}}}}}}</center>
}}
|}<noinclude>{{documentation}}</noinclude>