Template:Infobox civil conflict/doc
This is a documentation subpage for Template:Infobox civil conflict. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
2011 Wisconsin protests | |||
---|---|---|---|
2011 budget repair bill protests in Wisconsin Part of United States public employee protests 2011 | |||
Date | 15 February 2011 | – ongoing||
Location | Lua error: callParserFunction: function "#coordinates" was not found. | ||
Caused by | Opposition to certain provisions in legislation proposed by Governor Scott Walker to address a projected $3.6 billion budget shortfall. | ||
Goals | Stopping Wisconsin Senate Bill 11 | ||
Methods | Protest, Sit in, Demonstrations | ||
Status | Ongoing | ||
Parties to the civil conflict | |||
Lead figures | |||
| |||
Number | |||
| |||
Casualties and losses | |||
| |||
Script error: The function "autocaption" does not exist. |
A civil conflict infobox may be used to summarize information about a particular civil conflict (for example, protest, strike, clash with police) in a standard manner. This template is designed for non-military conflicts, so please do not use on the entry of military conflict.
Usage
The infobox should be added using the {{Infobox civil conflict}} template, as shown below:
{{Infobox civil conflict | title = | subtitle = | partof = | image = | caption = | date = | place = | coordinates = | causes = | goals = | methods = | status = | result = | side1 = | side2 = | side3 = | side4 = | leadfigures1 = | leadfigures2 = | leadfigures3 = | leadfigures4 = | howmany1 = | howmany2 = | howmany3 = | howmany4 = | casualties1 = | casualties2 = | casualties3 = | casualties4 = | fatalities = | injuries = | arrests = | damage = | buildings = | detentions = | charged = | fined = | effect = | effect_label = | casualties_label = | notes = | sidebox = }}
All parameters are optional parameters, the general please fill out conflict, date, place, result. Can also follow the different nature of the conflict, to adopt the parameters.
- title – the name of the conflict being described (e.g. "2011 Wisconsin budget protest").
- subtitle – alternative name of the conflict being described (e.g. "2011 budget repair bill protests in wisconsin").
- partof – optional – the larger conflict containing the event described in the article. For protests, it could be larger encompassing movement.
- image – optional – an image for the infobox. The image must be given in the form [[File:Example.jpg|300px|alt=Example alt text]]; in particular, the thumb attribute must not be selected.
- caption – optional – the text to be placed below the image.
- date – optional – the date of the conflict described. Convention is to give the actual date for the civil conflict.
- time – The time of the civil conflict, or of multiple civil conflict if they all occurred at the same time (do not use this along with time-begin and time-end)
- time-begin and time-end – The start and end times, respectively, if a series of civil conflict (do not use this along with time)
- timezone – The timezone of the location of the civil conflict(s); UTC+X, UTC−X, or UTC (i.e. offset from UTC) preferred
- place – the location of the conflict. For conflicts covering a wide area, a general description (e.g. "France", or "Europe", or "Worldwide") may be used.
- coordinates – optional – the location of the structure, given as a coordinate pair by using {{coord}} with display=inline,title.
- map_type – optional – the base map to be used for the location map, e.g. "Scotland"; see {{location map}} for more details.
- map_size – optional – width of the location map in pixels (px), e.g. "150"; defaults to: "220".
- map_caption – optional – caption displayed below the location map; defaults to "Location within {{{map_type}}}", e.g. "Location within Scotland".
- map_label – optional – the label placed next to the marker on the location map.
- goals – optional – goal for the conflict. For instance, Regime change, human rights, democracy.
- methods – optional methods used in the civil dispute. Many terms can be used. For instance, Protest march, Picketing, Street protesters, Petitions, Sit-in, Riot, Hunger strike, Suicide, Bombing, Strike, Walkout, Lockout, Boycott, or Book burning. See: Protest#Forms of protest.
- status – optional – for ongoing conflicts, the current status of the conflict. This should not be used if a final result (above) is provided.
- result – optional – The choice of term should reflect what the sources say. In cases where the standard terms do not accurately describe the outcome, a link to the section of the article where the result is discussed in detail (such as "See the 'Aftermath' section") should be used instead of introducing non-standard terms like "marginal" or contradictory statements. It is better to omit this parameter altogether than to engage in speculation about which side won or by how much.
- side1/side2/side3 – optional – the parties participating in the conflict. When there is a large number of participants, it may be better to list only the three or four major groups on each side of the conflict, and to describe the rest in the body of the article. The side3 field may be used if a conflict has three distinct "sides", and should be left blank on other articles. Sides should be listed in order of importance to the conflict, be it in terms of political clout, or a recognized chain of command. If differing metrics can support alternative lists, then ordering is left to the editors of the particular article.
- side1a/side2a/side3a – optional – in cases where the parties significantly changed over the course of the conflict, these subsidiary fields may be used to provide additional rows for the sideN fields (above).
- side1b/side2b/side3b – optional – additional row, as above.
- side1c/side2c/side3c – optional – additional row, as above.
- side1d/side2d/side3d – optional – additional row, as above.
- leadfigures1/leadfigures2/leadfigures3 – optional – the primary leaders of the sides involved. The leadfigures3 field can only be used if the side3 field is set.
- units1/units2/units3 – optional – the people or groups involved. If a large number of distinct groups are present, it may be better to reference the body of the article than to include the entire list in this field. The units3 field can only be used if the side3 field is set.
- howmany1/howmany2 – optional – the numerical size of the people involved.
- howmany3 – optional – if side3 is set, this is a third size field identical to the two above; if it is not set, this is an alternate combined field for use where only the total participation in a conflict is known.
- casualties1/casualties2 – optional – casualties suffered, including dead, wounded, missing, and arrested.
- casualties3 – optional – if side3 is set, this is a third casualty field identical to the two above; if it is not set, this is an alternate combined field for use where only the total casualties of a conflict are known, or where civilian casualties cannot be directly attributed to either side.
- fatalities– optional – the numerical size of the dead.
- injuries – optional – the numerical size of the injured.
- arrests – optional – the numerical size of the arrested.
- damage – optional – the numerical size of the damage.
- 'buildings – optional – the numerical size of the buildings destroyed.
- detentions– optional – the numerical size of the detained.
- charged– optional – the name of the Criminal charge.
- fined– optional – the numerical size of the fine penalty.
- effect– optional – the effect
- effect_label– optional – the name of the effect
- casualties_label - optional - Renames the section label of the casualties field. The default label is Casualties.
- notes – optional – optional field for further notes; this should only be used in exceptional circumstances.
- sidebox – optional – optional field for appending a Template:Side box to the bottom of the infobox, which allows both boxes to float as a single element (useful if there are subsequent left floating images, which would otherwise not be able to float above the side box); the template must be specified in the format {{Side box XYZ}}.
Mapframe maps
To include a mapframe map, use the following parameters:
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. Default: not specified - mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.
P17
for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17),P131
for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– switch geomasks found in Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area. Default: 10
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
Campaignboxes
Basic usage
{{civil conflict sidebar | name = {{subst:PAGENAME}} | above = | state = {{{state|}}} | listclass = hlist | events = * * }}
Additional parameters
| bodyclass = | belowclass = | notes =
Tracking category
TemplateData
TemplateData for Infobox civil conflict
A civil conflict infobox may be used to summarize information about a particular civil conflict (for example, protest, clash with police, etc) in a standard manner. This template is designed for non-military conflicts, so please do not use on the entry of military conflict.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Name of conflict | String | optional |
subtitle | subtitle | Alternative name of conflict | String | optional |
latitude | latitude | String | optional | |
longitude | longitude | String | optional | |
side3 | side3 | String | optional | |
partof | partof | String | optional | |
image | image | String | optional | |
caption | caption | String | optional | |
date | date | String | optional | |
time | time | String | optional | |
time-begin | time-begin | String | optional | |
time-end | time-end | String | optional | |
timezone | timezone | String | optional | |
place | place | String | required | |
coordinates | coordinates | String | optional | |
causes | causes | String | optional | |
goals | goals | String | optional | |
methods | methods | String | optional | |
status | status | String | optional | |
result | result | String | optional | |
concessions | concessions | String | optional | |
side1 | side1 | String | optional | |
side2 | side2 | String | optional | |
side1a | side1a | String | optional | |
side2a | side2a | String | optional | |
side3a | side3a | String | optional | |
side1b | side1b | String | optional | |
side2b | side2b | String | optional | |
side3b | side3b | String | optional | |
side1c | side1c | String | optional | |
side2c | side2c | String | optional | |
side3c | side3c | String | optional | |
side1d | side1d | String | optional | |
side2d | side2d | String | optional | |
side3d | side3d | String | optional | |
leadfigures1 | leadfigures1 | String | optional | |
leadfigures2 | leadfigures2 | String | optional | |
leadfigures3 | leadfigures3 | String | optional | |
units1 | units1 | String | optional | |
units2 | units2 | String | optional | |
units3 | units3 | String | optional | |
howmany1 | howmany1 | String | optional | |
howmany2 | howmany2 | String | optional | |
howmany3 | howmany3 | String | optional | |
casualties1 | casualties1 | String | optional | |
casualties2 | casualties2 | String | optional | |
casualties3 | casualties3 | String | optional | |
injuries | injuries | String | optional | |
fatalities | fatalities | String | optional | |
arrests | arrests | String | optional | |
damage | damage | String | optional | |
detentions | detentions | String | optional | |
charged | charged | String | optional | |
fined | fined | String | optional | |
effect | effect | String | optional | |
effect_label | effect_label | String | optional | |
casualties_label | casualties_label | String | optional | |
notes | notes | String | optional | |
map_type | map_type | String | optional | |
map_size | map_size | String | optional | |
map_label | map_label | String | optional | |
map_caption | map_caption | String | optional |
See also
- {{Infobox military conflict}} for an infobox better suited for military conflicts.
- {{Infobox civilian attack}} for an infobox to be used for particular violent attacks in a civilian context (such as terrorist attacks, murders, etc.).
References