Module:Israeli-Palestinian conflict detailed map/doc

{{anchor|Rules for editing the map}}{{tmbox

| type = notice

| image = 40px

| text = Rules for Editing the Map

1- A reliable source for that specific edit should be provided.


a) A well-known source that has a reputation for neutral (not biased) territorial control coverage, can be used (is deemed reliable) for all edits.


b) A well-known source that does not have a reputation for neutral (not biased) territorial control coverage, can be used (is deemed reliable) only for edits that are unfavorable to the side it prefers (favorable to the side it opposes).


c) A source that is not well-known (or that has proven inaccurate for all edits) cannot be used (is deemed unreliable) for any edit. This includes all maps (see item 2- next).

2- Copying from maps is strictly prohibited. Maps from mainstream media are approximate and therefore unreliable for any edit. Maps from amateur sources are below the standards of Wikipedia for any edit. They violate WP:RS and WP:CIRCULAR.


WP:RS: “Anyone can create a personal web page or publish their own book, and also claim to be an expert in a certain field. For that reason, self-published media, such as books, patents, newsletters, personal websites, open wikis, personal or group blogs, Internet forum postings, and tweets, are largely not acceptable as sources.” Source: Wikipedia:Verifiability#Self-published_sources


WP:CIRCULAR: “Do not use websites that mirror Wikipedia content or publications that rely on material from Wikipedia as sources.”
See also: Wikipedia:Top 10 reasons why copying from maps is strictly prohibited on the Wikipedia Syria war map.

3- WP:POV pushing and intentional misinterpretation of sources will not be tolerated. If you are not sure about what the source is saying (or its reliability), post it on the talk page first so that it would be discussed.
See also: Wikipedia:Top 10 myths about the Wikipedia Syria war map.

}}

For quick reference, this module is transcluded on the following:

Icons available for use on map

Control :  11px Israel; 11px Palestine (Ramallah administration); 11px Palestine (Gaza administration); 11px Hezbollah; 11px Syria; 11px Egypt; 11px Popular Forces (Gaza)

Stable mixed control (same colours) : 11px 11px 11px 11px 11px 

Rural presence :  12px  12px  12px  12px     12px  12px  12px

Contested : 11px Israel/Palestine ; 11px Israel/Hamas ; 11px Israel/Hezbollah ; 11px Israel/Syria

Besieged_one_side : 11px 11px 11px

  11px 11px 11px

  11px 11px 11px

  11px 11px 11px

  11px 11px 11px

  11px 11px 11px

  11px 11px 11px

  11px 11px 11px

Besieged : 2 nested circles: inner controls, outer sieges (or indicates strong enemy pressure) : 12px 12px 11px 11px  

Military base : 13px 13px 13px 13px 13px

  Strategic hill : 13px 13px 13px 13px 13px   Oil/gas : 13px 13px 13px

Airport/Air base (plane) : 13px 13px 13px 13px  

Heliport/Helicopter base : 13px 13px 13px 13px

12px 12px Major ports or naval bases ; 20px Border Post ; 16px Dam ; 12px Industrial complex

Small icon within a larger icon: the situation in individual neighbourhood/district

Labels

Only towns & border posts can have blue visible wikilink labels. Whether a town has a blue visible wikilink label or not will depend on its size, importance and available space around it for the label to appear without obstructing other towns. The wikilink labels have a minimum size of 65 (label_size=65).

Contested icon

=Definition=

The purpose of the contested icon (11px) is to show military or civil conflict and militant attacks or rocket attacks in a town.

=Cities=

File:Largecitycontested.pngLarge cities do not always need to be marked contested in their entirety. Instead we can make image mini-maps for them or put small icons on them to represent neighborhoods that are contested or controlled by a specific party.

For example, we would not mark as contested a city where a party still controls 95% of the city. Instead we mark specific enemy positions on the outskirts of the city until fighting in the city becomes widespread. As nobody claims there is any fighting inside of the city, it should be marked as colored dot within a siege circle (see Figure 1). Then, advanced points in the city should be marked as small dots in the color of the enemy (or small contested icons). In this specific case, a "contested" icon was added to represent the "west side of the city" that is contested (see Figure 2). This is more informative to our viewers. Since the code puts icons on the map in the order of code lines (starting with first line of code and ending with last line of code), the small "contested" icon should come in the line after that of the (large) city icon. Otherwise, the small icon will be hidden by the large icon and will therefore be invisible.

After the fights become more widespread in the city (& enemy controls a larger part of the city), we can remove the "west side of the city" icon and turn the whole city contested (see Figure 3). After this, if we learn that the enemy has taken over the whole city except for a small pocket (in south east) that is still resisting, then we change the contested icon into the color of the enemy and put a small dot representing the small pocket that is still resisting (see Figure 4).

Siege and pressure from one side icons

=Definition=

The siege icon (12px) should be used for towns that are under siege or enemy pressure or militant attacks or rocket attacks. The “pressure from one side” icon (11px) should be used for towns that are under enemy pressure from one side.

===How to place these icons===

The easiest way to place these icons is to copy/paste the line code of the object you want to have a circle (or semi-circle) around it and then:

  1. Replace the mark = parameter with 12px or 11px
  2. Increase marksize = parameter by 4. So for example, if the town dot has a size of 10, then the circle (or semi-circle) should have a size of 14.

Always put line of code circle (or semi-circle) before line of code of town (or other object). This is because the code puts icons on the map in the order of code lines starting with first line of code and ending with last line of code. If you put the line of code that draws the circle (or semi-circle) icon after the line of code that draws the town icon then the computer puts the town icon first and then put the circle (or semi-circle) icon on top of it. The town icon still appears because the circle (or semi-circle) is drawn on a transparent background. However, even a transparent background does obstruct the name of the town icon from appearing. So, the name of the town will not appear when you hold cursor over it.

Example:

  • Correct: { lat = "33.972", long = "36.897", mark = "map-arcNE-black.svg", marksize = "12" },

{ lat = "33.972", long = "36.897", mark = "Abm-red+icon.png", marksize = "8", label = "Brigade 128", label_size = "0" },

  • Wrong: { lat = "33.972", long = "36.897", mark = "Abm-red+icon.png", marksize = "8", label = "Brigade 128", label_size = "0" },

{ lat = "33.972", long = "36.897", mark = "map-arcNE-black.svg", marksize = "8" },

How to preview map before saving edit

Before saving your changes (by clicking "Publish changes"), you should preview your edits (changes). This allows you to view the map to make sure it is what you want to do before saving and making the change appear on Wikipedia. To do this, type in the box under "Preview page with this module" the name of the template: "Template:Israeli-Palestinian conflict detailed map". Then hit "Show preview".

How war map module work with other parts of Wikipedia

File:How war map templates and modules work.png

{{#invoke:Location map/multi|load|Module:Israeli-Palestinian_conflict_detailed_map}}

Category:Module documentation pages