No edit summary |
Support place, title, leadfigures and howmany parameter spellings and whitelist them |
||
| Line 6: | Line 6: | ||
| abovestyle = background-color:#CEE0F2;color:inherit;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>{{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}</includeonly> | | above = <includeonly>{{{name|{{{title|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}}}}</includeonly> | ||
| autoheaders = y | | autoheaders = y | ||
| Line 29: | Line 29: | ||
| label2 = Location | | label2 = Location | ||
| data2 = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{if empty|{{{fetchwikidata|}}}|ALL}}|onlysourced={{{onlysourced|}}}|{{br separated entries | | data2 = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{if empty|{{{fetchwikidata|}}}|ALL}}|onlysourced={{{onlysourced|}}}|{{br separated entries | ||
| 1= {{#if:{{{location|}}}|<div style="display:inline;" class="location">{{{location|}}}</div>}} | | 1= {{#if:{{{location|{{{place|}}}}}}|<div style="display:inline;" class="location">{{{location|{{{place|}}}}}}</div>}} | ||
| 2 = {{{coordinates|}}} | | 2 = {{{coordinates|}}} | ||
}} }} | }} }} | ||
| Line 116: | Line 116: | ||
| header12 = Lead figures | | header12 = Lead figures | ||
| data13 = {{Infobox/Columns|{{{lead_figures1|}}}|{{{lead_figures2|}}}|{{{lead_figures3|}}} }} | | data13 = {{Infobox/Columns|{{{lead_figures1|{{{leadfigures1|}}}}}}|{{{lead_figures2|{{{leadfigures2|}}}}}}|{{{lead_figures3|{{{leadfigures3|}}}}}} }} | ||
| header14 = Units involved | | header14 = Units involved | ||
| Line 122: | Line 122: | ||
| header16 = Number | | header16 = Number | ||
| data17 = {{#if:{{{how_many1|}}}{{{how_many2|}}} | | data17 = {{#if:{{{how_many1|{{{howmany1|}}}}}}{{{how_many2|{{{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; display:inline-table;{{#if:{{{side3|}}}||{{#if:{{{how_many3|{{{howmany3|}}}}}}|border-bottom:1px dotted #aaa}}}}"><tr> | ||
<td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div> | <td style="width:{{#if:{{{side3|}}}|33%|50%}};"><div> | ||
{{{how_many1|}}}</div></td> | {{{how_many1|{{{howmany1|}}}}}}</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> | {{{how_many2|{{{howmany2|}}}}}}</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> | {{{how_many3|{{{howmany3|}}}}}}</div></td> | ||
}}</tr></table> | }}</tr></table> | ||
}} | }} | ||
| data18 = {{#if:{{{side3|}}}||{{{how_many3|}}}}} | | data18 = {{#if:{{{side3|}}}||{{{how_many3|{{{howmany3|}}}}}}}} | ||
| header19 = Casualties and losses | | header19 = Casualties and losses | ||
| Line 206: | Line 206: | ||
| below = {{{notes|}}} | | below = {{{notes|}}} | ||
}}{{#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> | }}{{#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 | howmany1 | howmany2 | howmany3 | image | image_size | image_upright | injuries | lead_figures1 | lead_figures2 | lead_figures3 | leadfigures1 | leadfigures2 | leadfigures3 | 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 | place | 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 | title | units1 | units2 | units3 }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||