Template:Infobox civil conflict: Difference between revisions

m Bot: cleaning unwanted module calls
BellaCH (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{#if:{{{sidebox|{{{campaignbox|}}}}}}|{{stack begin|clear=true}}}}{{infobox
{{#if:{{{campaign_box|}}}|{{stack begin|clear=true}}}}{{#invoke:infobox|infoboxTemplate
| child         = {{{child|}}}
| child       = {{{child|}}}
| subbox         = {{{subbox|}}}
| subbox     = {{{subbox|}}}
| bodyclass = vevent
| bodyclass   = vevent
| bodystyle = width:25.5em;border-spacing: 2px;
| bodystyle   = width:25.5em;border-spacing: 2px;
| abovestyle = background-color:#CEE0F2;text-align:center;vertical-align:middle;font-size:110%;
| abovestyle = background-color:#CEE0F2;color:inherit;text-align:center;vertical-align:middle;font-size:110%;
| aboveclass = summary
| aboveclass = summary
| above = <includeonly>{{{title|{{PAGENAMEBASE}}}}}</includeonly>
| above       = <includeonly>{{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}</includeonly>
| autoheaders = y
| autoheaders = y


| headerstyle =background-color:#CEE0F2;
| headerstyle   = background-color:#CEE0F2;color:inherit;
| subheaderstyle = background-color:#eeeeee;text-align:center;vertical-align:middle;
| subheaderstyle = background-color:#eeeeee;color:inherit;text-align:center;vertical-align:middle;
| subheader = {{br separated entries|{{{subtitle|}}}|{{#if:{{{partof|}}}|Part of {{{partof}}}}}}}
| subheader     = {{br separated entries
    |{{{subtitle|}}}
    |{{#if:{{{part_of|}}}|Part of {{{part_of|}}}}}
    }}


| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |upright={{{image_upright|1.35}}} |alt={{{image_alt|{{{alt|}}}}}} |border={{{border|no}}} }}
| image       = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright={{if empty|{{{image_upright|}}}|1.15}} |alt={{{alt|}}} |border={{if empty|{{{border|}}}|no}} }}
| imagestyle = text-align: center; border-bottom: 1px solid #aaa; line-height: 1.5em;
| imagestyle   = text-align: center; border-bottom: 1px solid #aaa; line-height: 1.5em;
| captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em;
| captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em;
| caption = {{{caption|}}}
| caption     = {{{caption|}}}


| labelstyle     = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->;
| labelstyle = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->;
| datastyle     = line-height:1.3em;
| datastyle = line-height:1.3em;


| label1 = Date
| label1   = Date
| data1 = {{{date|}}}{{#if:{{{time|}}}|<br/>{{{time}}}}}{{#if:{{{time-begin|}}}|<br/>{{{time-begin|}}}&nbsp;– {{{time-end|}}}}}{{#if:{{{timezone|}}}| ({{{timezone}}})}}
| data1   = {{#invoke:WikidataIB|getValue|P585|name=date|suppressfields={{{suppressfields|}}}|fetchwikidata={{if empty|{{{fetchwikidata|}}}|ALL}}|onlysourced={{{onlysourced|}}}|{{{date|}}} {{#if:{{{time|}}}|<br/>{{{time}}}}}{{#if:{{{time_begin|}}}|<br/>{{{time_begin|}}}&nbsp;– {{{time_end|}}}}} {{#if:{{{timezone|}}}|({{{timezone}}})}} }}
| label2 = Location
 
| data2 =
| label2   = Location
{{br separated entries
| data2   = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{if empty|{{{fetchwikidata|}}}|ALL}}|onlysourced={{{onlysourced|}}}|{{br separated entries
  | 1 = {{#if:{{{place|}}}|<div style="display:inline;" class="location">{{{place}}}</div>}}
  | 1= {{#if:{{{location|}}}|<div style="display:inline;" class="location">{{{location|}}}</div>}}
  | 2 = {{#if:{{{coordinates|}}}|{{{coordinates}}}}}
  | 2 = {{{coordinates|}}}
}}
}} }}
| label3 = Caused by
 
| data3 = {{{causes|}}}
| label3  = Caused by
| data3    = {{{causes|}}}
 
| label4  = Goals
| data4    = {{{goals|}}}
 
| label5  = Objectives
| data5    = {{{objectives|}}}


| label4 = {{#if:{{{goals|}}}|Goals|Objectives}}
| label6  = Methods
| data4 = {{#if:{{{goals|}}}|{{{goals}}}|{{{objectives|}}}}}|
| data6    = {{{methods|}}}


| label5 = Methods
| label7  = Status
| data5 = {{{methods|}}}
| data7    = {{{status|}}}


| label6 = {{#if:{{{status|}}}|Status|Resulted in}}
| label8  = Result
| data6 = {{#if:{{{status|}}}|{{{status}}}|{{{result|}}}}}
| data8    = {{{result|}}}


| label7 = Concessions<br />given
| label9  = Concessions
| data7 = {{{concessions|}}}
| data9    = {{{concessions|}}}


| header8 = Parties to the civil conflict
| header10 = Parties
| data9 = {{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}{{{side1a|}}}{{{side2a|}}}{{{side3a|}}}{{{side1b|}}}{{{side2b|}}}{{{side3b|}}}{{{side1c|}}}{{{side2c|}}}{{{side3c|}}}{{{side1d|}}}{{{side2d|}}}{{{side3d|}}}
| data11  = {{#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;">
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;">
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}|<tr>
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}|<tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}|width:{{#if:{{{side3|}}}|33%|50%}};}}"><div>
<td style="{{#if:{{{side2|}}}{{{side3|}}}|width:{{#if:{{{side3|}}}|33%|50%}};}}"><div>
Line 105: Line 115:
}}</table>}}
}}</table>}}


| header10 = Lead figures
| header12 = Lead figures
| data11 = {{Infobox/Columns|{{{leadfigures1|}}}|{{{leadfigures2|}}}|{{{leadfigures3|}}}|{{{leadfigures4|}}} }}
| data13  = {{Infobox/Columns|{{{lead_figures1|}}}|{{{lead_figures2|}}}|{{{lead_figures3|}}} }}
 
| data12 = {{#if:{{{side6|}}}||{{{leadfigures6|}}}}}
 
| header13 = Units involved
| data14 = {{Infobox/Columns|{{{units1|}}}|{{{units2|}}}|{{{units3|}}}|{{{units4|}}} }}


| data15 = {{#if:{{{side6|}}}||{{{units6|}}}}}
| header14 = Units involved
| data15   = {{Infobox/Columns|{{{units1|}}}|{{{units2|}}}|{{{units3|}}} }}


| header16 = Number
| header16 = Number
| data17 =  
| data17   = {{#if:{{{how_many1|}}}{{{how_many2|}}}
{{#if:{{{howmany1|}}}{{{howmany2|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;{{#if:{{{side3|}}}||{{#if:{{{how_many3|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;{{#if:{{{side3|}}}||{{#if:{{{howmany3|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div>
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div>
{{{howmany1|}}}</div></td>
{{{how_many1|}}}</div></td>
<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
<td style="width:{{#if:{{{side3|}}}|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{howmany2|}}}</div></td>
{{{how_many2|}}}</div></td>
{{#if:{{{side3|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{#if:{{{side3|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{howmany3|}}}</div></td>
{{{how_many3|}}}</div></td>
}}</tr></table>
}}</tr></table>
}}
}}
| data18 = {{#if:{{{side3|}}}||{{{howmany3|}}}}}
| data18   = {{#if:{{{side3|}}}||{{{how_many3|}}}}}


| header19 = Casualties and losses
| header19 = Casualties and losses
| data20 =  
| data20   = {{#if:{{{casualties1|}}}{{{casualties2|}}}
{{#if:{{{casualties1|}}}{{{casualties2|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;{{#if:{{{side3|}}}||{{#if:{{{casualties3|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
|<table style="width:100%; border-spacing:0; margin:0; text-align:left;{{#if:{{{side3|}}}||{{#if:{{{casualties3|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}|width:{{#if:{{{side3|}}}|33%|50%}};}}"><div>
<td style="{{#if:{{{side2|}}}{{{side3|}}}|width:{{#if:{{{side3|}}}|33%|50%}};}}"><div>
{{{casualties1|}}}</div></td>
{{{casualties1|}}}</div></td>
Line 141: Line 145:
}}</tr></table>
}}</tr></table>
}}
}}
| data21 = {{#if:{{{side3|}}}||{{{casualties3|}}}}}
| data21   = {{#if:{{{side3|}}}||{{{casualties3|}}}}}


| header22 = {{#if:{{{casualties_label|}}}| {{{casualties_label}}} | Casualties }}
| header22 = {{if empty|{{{casualties_label|}}}| Casualties }}


| label23 = Death(s)
| label23 = Death{{pluralize from text|{{{fatalities|}}}|parse_number=1|plural=s}}
| data23 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{fatalities|}}}}}
| data23  = {{{fatalities|}}}


| label24 = Injuries
| label24 = Injuries
| data24 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{injuries|}}}}}
| data24   = {{{injuries|}}}


| label25 = Arrested
| label25 = Arrested
| data25 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{arrests|}}}}}
| data25   = {{{arrests|}}}


| label26 = Damage
| label26 = Damage
| data26 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{damage|}}}}}
| data26   = {{{damage|}}}


| label27     = Buildings destroyed
| label27 = {{longitem|Buildings destroyed}}
| data27     = {{{buildings|{{{buildings destroyed|}}}}}}
| data27   = {{{buildings|}}}


| label28 = [[Detention (imprisonment)|Detained]]
| label28 = [[Detention (imprisonment)|Detained]]
| data28 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{detentions|}}}}}
| data28   = {{{detentions|}}}


| label29 = [[Criminal charge|Charged]]
| label29 = [[Criminal charge|Charged]]
| data29 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{charged|}}}}}
| data29   = {{{charged|}}}


| label30 = [[Fine (penalty)|Fined]]
| label30 = [[Fine (penalty)|Fined]]
| data30 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{fined|}}}}}
| data30   = {{{fined|}}}


| label31 = {{{effect_label}}}
| label31 = {{{effect_label}}}
| data31 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}{{{casualties4|}}}||{{{effect|}}}}}
| data31   = {{{effect|}}}


| header32 = <nowiki />
| header32 = <nowiki />
| data33 = {{#if:{{{map_type|}}}|
| data33   = {{#if:{{{map_type|}}}|
{{#if:{{{coordinates2|}}}|
{{#if:{{{coordinates2|}}}|
{{Location map many|{{{map_type}}}|coordinates1={{if empty|{{{map_coord|}}} | {{{coordinates|}}} }}|width={{{map_size|220}}}|float=center|border=infobox|label1={{{map_label|}}}|caption={{{map_caption|Location within {{#invoke:Location map|data|{{{map_type}}}|name}} }}}
{{Location map many|{{{map_type}}}|coordinates1={{{coordinates|}}}|width={{if empty|{{{map_size|}}}|220}}|float=center|border=infobox|label1={{{map_label|}}}|caption={{{map_caption|Location within {{#invoke:Location map|data|{{{map_type}}}|name}} }}}
|coordinates2={{{coordinates2|}}}|label2={{{map_label2|}}}
|coordinates2={{{coordinates2|}}}|label2={{{map_label2|}}}
{{#if:{{{coordinates3|}}}|{{!}}coordinates3={{{coordinates3|}}}{{!}}label3={{{map_label3|}}} }}
{{#if:{{{coordinates3|}}}|{{!}}coordinates3={{{coordinates3|}}}{{!}}label3={{{map_label3|}}} }}
{{#if:{{{coordinates4|}}}|{{!}}coordinates4={{{coordinates4|}}}{{!}}label4={{{map_label4|}}} }}
{{#if:{{{coordinates4|}}}|{{!}}coordinates4={{{coordinates4|}}}{{!}}label4={{{map_label4|}}} }}
{{#if:{{{coordinates5|}}}|{{!}}coordinates5={{{coordinates5|}}}{{!}}label5={{{map_label5|}}} }}
{{#if:{{{coordinates5|}}}|{{!}}coordinates5={{{coordinates5|}}}{{!}}label6={{{map_label5|}}} }}
{{#if:{{{coordinates6|}}}|{{!}}coordinates6={{{coordinates6|}}}{{!}}label6={{{map_label6|}}} }}
{{#if:{{{coordinates6|}}}|{{!}}coordinates6={{{coordinates6|}}}{{!}}label7={{{map_label6|}}} }}
{{#if:{{{coordinates7|}}}|{{!}}coordinates7={{{coordinates7|}}}{{!}}label7={{{map_label7|}}} }}
{{#if:{{{coordinates7|}}}|{{!}}coordinates7={{{coordinates7|}}}{{!}}label8={{{map_label7|}}} }}
{{#if:{{{coordinates8|}}}|{{!}}coordinates8={{{coordinates8|}}}{{!}}label8={{{map_label8|}}} }}
{{#if:{{{coordinates8|}}}|{{!}}coordinates8={{{coordinates8|}}}{{!}}label9={{{map_label8|}}} }}
{{#if:{{{coordinates9|}}}|{{!}}coordinates9={{{coordinates9|}}}{{!}}label9={{{map_label9|}}} }}
{{#if:{{{coordinates9|}}}|{{!}}coordinates9={{{coordinates9|}}}{{!}}label10={{{map_label9|}}} }}
{{#if:{{{coordinates10|}}}|{{!}}coordinates10={{{coordinates10|}}}{{!}}label10={{{map_label10|}}} }}
{{#if:{{{coordinates10|}}}|{{!}}coordinates10={{{coordinates10|}}}{{!}}label11={{{map_label10|}}} }}
}}
}}
|{{Location map|{{{map_type}}}|coordinates={{if empty|{{{map_coord|}}} | {{{coordinates|}}} }}|width={{{map_size|220}}}|float=center|border=infobox|label={{{map_label|}}}|caption={{{map_caption|Location within {{#invoke:Location map|data|{{{map_type}}}|name}} }}} }}
|{{Location map|{{{map_type}}}
  |coordinates={{{coordinates|}}}
  |width={{if empty|{{{map_size|}}}|220}}  
  |float=center
  |border=infobox
  | label   = {{{map_label|}}}
  |caption={{{map_caption|Location within {{#invoke:Location map|data|{{{map_type}}}|name}} }}} }}
}}
}}
}}
}}


| header34 = {{#if:{{{map_type|}}}||<nowiki />}}
| header34 = {{#if:{{{map_type|}}}||<nowiki />}}
| data35 = {{#invoke:Infobox mapframe|auto}}
| data35   = {{#invoke:Infobox mapframe|autoWithCaption}}
| data36 = {{#invoke:Infobox mapframe|autocaption}}


| belowstyle = border-top:1px #aaa solid
| belowstyle = border-top:1px #aaa solid
| below = {{{notes|}}}
| below   = {{{notes|}}}


}}{{#if:{{{sidebox|{{{campaignbox|}}}}}}|
}}{{#if:{{{campaign_box|}}}|{{{campaign_box|}}}{{stack end}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox civil conflict with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox civil conflict]] with unknown parameter "_VALUE_"|ignoreblank=y|mapframe_args=y| alt | arrests | border | buildings | campaign_box | caption | casualties_label | casualties1 | casualties2 | casualties3 | causes | charged | child | concessions | coordinates | coordinates2 | coordinates3 | coordinates4 | coordinates5 | coordinates6 | coordinates7 | coordinates8 | coordinates9 | coordinates10 | damage | date | detentions | effect | effect_label | fatalities | fetchwikidata | fined | goals | how_many1 | how_many2 | how_many3 | image | image_size | image_upright | injuries | lead_figures1 | lead_figures2 | lead_figures3 | location | map_caption | map_label | map_label2 | map_label3 | map_label4 | map_label5 | map_label6 | map_label7 | map_label8 | map_label9 | map_label10 | map_size | map_type | methods | name | notes | objectives | onlysourced | part_of | result | side1 | side1a | side1b | side1c | side1d | side2 | side2a | side2b | side2c | side2d | side3 | side3a | side3b | side3c | side3d | status | subbox | subtitle | suppressfields | time | time_begin | time_end | timezone | units1 | units2 | units3 }}<noinclude>
{{{sidebox|{{{campaignbox|}}}}}}{{stack end}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox civil conflict with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox civil conflict]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | arrests | campaignbox | caption | casualties_label | casualties1 | casualties2 | casualties3 | causes | charged | concessions | coordinates | damage | date | detentions | fatalities | fined | goals | howmany1 | howmany2 | howmany3 | image | image_alt | image_size | image_upright | injuries | leadfigures1 | leadfigures2 | leadfigures3 | map_caption | map_label | map_size | map_type | methods | notes | partof | place | result | side1 | side1a | side1b | side1c | side1d | side2 | side2a | side2b | side2c | side2d | side3 | side3a | side3b | side3c | side3d | sidebox | status | title | subtitle | units1 | units2 | units3 | effect | effect_label | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:51, 22 July 2026

Template documentation[create]