m Bot: cleaning unwanted module calls |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if:{{{ | {{#if:{{{campaign_box|}}}|{{stack begin|clear=true}}}}{{#invoke:infobox|infoboxTemplate | ||
| child | | child = {{{child|}}} | ||
| 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>{{{ | | 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:{{{ | | subheader = {{br separated entries | ||
|{{{subtitle|}}} | |||
|{{#if:{{{part_of|}}}|Part of {{{part_of|}}}}} | |||
}} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size| | | 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 | | labelstyle = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->; | ||
| datastyle | | datastyle = line-height:1.3em; | ||
| label1 = Date | | label1 = Date | ||
| data1 = {{{date|}}}{{#if:{{{time|}}}|<br/>{{{time}}}}}{{#if:{{{ | | 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|}}} – {{{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:{{{ | | 1= {{#if:{{{location|}}}|<div style="display:inline;" class="location">{{{location|}}}</div>}} | ||
| 2 = | | 2 = {{{coordinates|}}} | ||
}} }} | |||
| | |||
| | | label3 = Caused by | ||
| data3 = {{{causes|}}} | |||
| label4 = Goals | |||
| data4 = {{{goals|}}} | |||
| label5 = Objectives | |||
| data5 = {{{objectives|}}} | |||
| | | label6 = Methods | ||
| | | data6 = {{{methods|}}} | ||
| | | label7 = Status | ||
| | | data7 = {{{status|}}} | ||
| | | label8 = Result | ||
| | | data8 = {{{result|}}} | ||
| | | label9 = Concessions | ||
| | | data9 = {{{concessions|}}} | ||
| | | header10 = Parties | ||
| | | 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>}} | ||
| | | header12 = Lead figures | ||
| | | data13 = {{Infobox/Columns|{{{lead_figures1|}}}|{{{lead_figures2|}}}|{{{lead_figures3|}}} }} | ||
| data15 = {{ | | header14 = Units involved | ||
| data15 = {{Infobox/Columns|{{{units1|}}}|{{{units2|}}}|{{{units3|}}} }} | |||
| header16 = Number | | header16 = Number | ||
| data17 = | | data17 = {{#if:{{{how_many1|}}}{{{how_many2|}}} | ||
{{#if:{{{ | |<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:{{{ | |||
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div> | <td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div> | ||
{{{ | {{{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> | ||
{{{ | {{{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> | ||
{{{ | {{{how_many3|}}}</div></td> | ||
}}</tr></table> | }}</tr></table> | ||
}} | }} | ||
| data18 = {{#if:{{{side3|}}}||{{{ | | 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 = {{ | | header22 = {{if empty|{{{casualties_label|}}}| Casualties }} | ||
| label23 = Death | | label23 = Death{{pluralize from text|{{{fatalities|}}}|parse_number=1|plural=s}} | ||
| data23 = {{{fatalities|}}} | |||
| label24 = Injuries | | label24 = Injuries | ||
| data24 = | | data24 = {{{injuries|}}} | ||
| label25 = Arrested | | label25 = Arrested | ||
| data25 = | | data25 = {{{arrests|}}} | ||
| label26 = Damage | | label26 = Damage | ||
| data26 = | | data26 = {{{damage|}}} | ||
| label27 | | label27 = {{longitem|Buildings destroyed}} | ||
| data27 | | data27 = {{{buildings|}}} | ||
| label28 = [[Detention (imprisonment)|Detained]] | | label28 = [[Detention (imprisonment)|Detained]] | ||
| data28 = | | data28 = {{{detentions|}}} | ||
| label29 = [[Criminal charge|Charged]] | | label29 = [[Criminal charge|Charged]] | ||
| data29 = | | data29 = {{{charged|}}} | ||
| label30 = [[Fine (penalty)|Fined]] | | label30 = [[Fine (penalty)|Fined]] | ||
| data30 = | | data30 = {{{fined|}}} | ||
| label31 = {{{effect_label}}} | | label31 = {{{effect_label}}} | ||
| data31 = | | data31 = {{{effect|}}} | ||
| header32 = <nowiki /> | | header32 = <nowiki /> | ||
| data33 = {{#if:{{{map_type|}}}| | | data33 = {{#if:{{{map_type|}}}| | ||
{{#if:{{{coordinates2|}}}| | {{#if:{{{coordinates2|}}}| | ||
{{Location map many|{{{map_type}}}|coordinates1={{ | {{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|}}}{{!}} | {{#if:{{{coordinates5|}}}|{{!}}coordinates5={{{coordinates5|}}}{{!}}label6={{{map_label5|}}} }} | ||
{{#if:{{{coordinates6|}}}|{{!}}coordinates6={{{coordinates6|}}}{{!}} | {{#if:{{{coordinates6|}}}|{{!}}coordinates6={{{coordinates6|}}}{{!}}label7={{{map_label6|}}} }} | ||
{{#if:{{{coordinates7|}}}|{{!}}coordinates7={{{coordinates7|}}}{{!}} | {{#if:{{{coordinates7|}}}|{{!}}coordinates7={{{coordinates7|}}}{{!}}label8={{{map_label7|}}} }} | ||
{{#if:{{{coordinates8|}}}|{{!}}coordinates8={{{coordinates8|}}}{{!}} | {{#if:{{{coordinates8|}}}|{{!}}coordinates8={{{coordinates8|}}}{{!}}label9={{{map_label8|}}} }} | ||
{{#if:{{{coordinates9|}}}|{{!}}coordinates9={{{coordinates9|}}}{{!}} | {{#if:{{{coordinates9|}}}|{{!}}coordinates9={{{coordinates9|}}}{{!}}label10={{{map_label9|}}} }} | ||
{{#if:{{{coordinates10|}}}|{{!}}coordinates10={{{coordinates10|}}}{{!}} | {{#if:{{{coordinates10|}}}|{{!}}coordinates10={{{coordinates10|}}}{{!}}label11={{{map_label10|}}} }} | ||
}} | }} | ||
|{{Location map|{{{map_type}}}|coordinates={{ | |{{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| | | data35 = {{#invoke:Infobox mapframe|autoWithCaption}} | ||
| belowstyle = border-top:1px #aaa solid | | belowstyle = border-top:1px #aaa solid | ||
| below = {{{notes|}}} | | below = {{{notes|}}} | ||
}}{{#if:{{{ | }}{{#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> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||