Template:Infobox civil conflict/doc

From War in the Realm Wiki
< Template:Infobox civil conflict
Revision as of 23:28, 9 February 2021 by imported>Chrisahn (→‎Additional parameters: removed duplicate section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
2011 Wisconsin protests
2011 budget repair bill protests in Wisconsin
Part of United States public employee protests 2011
Overhead view of hundreds of people wearing red for the Teacher's union, protesting against Walker's bill.
Thousands gather inside Madison Wisconsin's Capitol rotunda to protest Governor Walker's proposed bill.
Date15 February 2011 (2011-02-15)ongoing
Location
Lua error: callParserFunction: function "#coordinates" was not found.
Caused byOpposition to certain provisions in legislation proposed by Governor Scott Walker to address a projected $3.6 billion budget shortfall.
GoalsStopping Wisconsin Senate Bill 11
MethodsProtest, Sit in, Demonstrations
StatusOngoing
Parties to the civil conflict
Lead figures
Non-centralized leadership Scott Walker
Number
100,000+ protesters
100+ Wisconsin police and national guardsmen
Casualties and losses
Deaths: 0
Injuries: 0
Arrests: At least 9

A civil conflict infobox may be used to summarize information about a particular civil conflict (for example, protest, 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").
  • partofoptional – the larger conflict containing the event described in the article. For protests, it could be larger encompassing movement.
  • imageoptional – 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.
  • captionoptional – the text to be placed below the image.
  • dateoptional – 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.
  • coordinatesoptional – the location of the structure, given as a coordinate pair by using {{coord}} with display=inline,title.
  • map_typeoptional – the base map to be used for the location map, e.g. "Scotland"; see {{location map}} for more details.
  • map_sizeoptional – width of the location map in pixels (px), e.g. "150"; defaults to: "220".
  • map_captionoptional – caption displayed below the location map; defaults to "Location within {{{map_type}}}", e.g. "Location within Scotland".
  • map_labeloptional – the label placed next to the marker on the location map.
  • goalsoptional – goal for the conflict. For instance, Regime change, human rights, democracy.
  • methodsoptional 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.
  • statusoptional – for ongoing conflicts, the current status of the conflict. This should not be used if a final result (above) is provided.
  • resultoptional – 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/side3optional – 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/side3aoptional – 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/side3boptional – additional row, as above.
    • side1c/side2c/side3coptional – additional row, as above.
    • side1d/side2d/side3doptional – additional row, as above.
  • leadfigures1/leadfigures2/leadfigures3optional – the primary leaders of the sides involved. The leadfigures3 field can only be used if the side3 field is set.
  • units1/units2/units3optional – 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/howmany2optional – the numerical size of the people involved.
  • howmany3optional – 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/casualties2optional – casualties suffered, including dead, wounded, missing, and arrested.
  • casualties3optional – 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.
  • fatalitiesoptional – the numerical size of the dead.
  • injuriesoptional – the numerical size of the injured.
  • arrestsoptional – the numerical size of the arrested.
  • damageoptional – the numerical size of the damage.
  • 'buildingsoptional – the numerical size of the buildings destroyed.
  • detentionsoptional – the numerical size of the detained.
  • chargedoptional – the name of the Criminal charge.
  • finedoptional – the numerical size of the fine penalty.
  • effectoptional – the effect
  • effect_labeloptional – the name of the effect
  • casualties_label - optional - Renames the section label of the casualties field. The default label is Casualties.
  • notesoptional – optional field for further notes; this should only be used in exceptional circumstances.
  • sideboxoptional – 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:

<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>
  • 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={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> – 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.
      • <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" id="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
  • 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
    • 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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox civil conflict in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
titletitle

Name of conflict

Stringoptional
subtitlesubtitle

Alternative name of conflict

Stringoptional
latitudelatitude

Stringoptional
longitudelongitude

Stringoptional
side3side3

Stringoptional
partofpartof

Stringoptional
imageimage

Stringoptional
captioncaption

Stringoptional
datedate

Stringoptional
timetime

Stringoptional
time-begintime-begin

Stringoptional
time-endtime-end

Stringoptional
timezonetimezone

Stringoptional
placeplace

Stringrequired
coordinatescoordinates

Stringoptional
causescauses

Stringoptional
goalsgoals

Stringoptional
methodsmethods

Stringoptional
statusstatus

Stringoptional
resultresult

Stringoptional
concessionsconcessions

Stringoptional
side1side1

Stringoptional
side2side2

Stringoptional
side1aside1a

Stringoptional
side2aside2a

Stringoptional
side3aside3a

Stringoptional
side1bside1b

Stringoptional
side2bside2b

Stringoptional
side3bside3b

Stringoptional
side1cside1c

Stringoptional
side2cside2c

Stringoptional
side3cside3c

Stringoptional
side1dside1d

Stringoptional
side2dside2d

Stringoptional
side3dside3d

Stringoptional
leadfigures1leadfigures1

Stringoptional
leadfigures2leadfigures2

Stringoptional
leadfigures3leadfigures3

Stringoptional
units1units1

Stringoptional
units2units2

Stringoptional
units3units3

Stringoptional
howmany1howmany1

Stringoptional
howmany2howmany2

Stringoptional
howmany3howmany3

Stringoptional
casualties1casualties1

Stringoptional
casualties2casualties2

Stringoptional
casualties3casualties3

Stringoptional
injuriesinjuries

Stringoptional
fatalitiesfatalities

Stringoptional
arrestsarrests

Stringoptional
damagedamage

Stringoptional
detentionsdetentions

Stringoptional
chargedcharged

Stringoptional
finedfined

Stringoptional
effecteffect

Stringoptional
effect_labeleffect_label

Stringoptional
casualties_labelcasualties_label

Stringoptional
notesnotes

Stringoptional
map_typemap_type

Stringoptional
map_sizemap_size

Stringoptional
map_labelmap_label

Stringoptional
map_captionmap_caption

Stringoptional

See also

References

References