Module:Libyan Civil War detailed map/doc
![]() | This is a documentation subpage for Module:Libyan Civil War detailed map. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Libyan Civil War detailed map
"link=" parameter: linking towns to sources
Every element on the map should be verifiable. Information on towns (description of control & sources) can be found by clicking on the town dot on the map. Notice the caption of the map which says: "Hold cursor over location to display name; click to go to sources &/or status description (if available, the cursor will show as ; if not, it will show as
)."
Notice the “link=” parameter in the map code. This is supposed to link to the part in the Wikipedia article that contains the source and talks about the events in the town. So for example, if you click on the dot of the town "Inkhil" on the map, it will take you to the part of the Wikipedia article on the town "Inkhil" that has the description of war events (& sources): link = "Inkhil#civilwar" Here the first part before the # is the name of the article (Inkhil). the second part after the # is the name of the section (civilwar).
For this to work, there needs to be a section by this same name in the article or you need to put a wikilink anchor: {{anchor|section}} that will act as a section header (in this case {{anchor|civilwar}}). By the way, sources &/or status description can also be found in "battle/offensive/etc..." articles and not just in towns' articles... A quick look at the map's code will tell you where each town dot will link.
Here is an example on how to keep town dots linked to the latest status source. The example concerns the town of Al-Taybah. First, notice how there is: link = "Al-Taybah#civilwar" parameter associated with the code line of town Al-Taybah. As indicated above, this links the Al-Taybah town dot with the war section in the town's Wikipedia article. This parameter does not change over time. However, the war section in the town's Wikipedia article needs to stay up-to-date in terms of the latest control status and latest associated source. For example, on 20/08/2017 the government took the town. To keep the link up-to-date, this latest event (along with the source) needs to be added to the the war section in the town's Wikipedia article. To accomplish this, notice the following edit which added to the article the following text:
However, in 20/08/2017, the Army stormed the Taybah area from their positions at the Al-Kom axis, pushing their way through ISIL's front-lines. Unable to maintain their positions, ISIL was forced to retreat from Taybah, leaving the entire area for the Army to take control of after a short battle.<ref>[https://www.almasdarnews.com/article/breaking-syrian-army-liberates-important-area-besiege-isil-north-palmyra/ Syrian Army liberates important area to besiege ISIL north of Palmyra], Al-Masdar news, 20/08/2017.</ref>
This provides the latest status (along with the source) to viewers clicking on the town's dot in the map. Notice also how at the beginning of the war section in the town's Wikipedia article, there is the expression: {{anchor|civilwar}}. This mirrors the #civilwar part in the link parameter in the map's code and allows the click on the dot to take the viewer to the beginning of the war section in the town's Wikipedia article. In summary, when the status of a map object changes, the color of the icon has to be updated and the write-up (along with the source) has to be added as well.
How to preview map before saving edit
Before saving your changes (by clicking "Save changes"), you should preview your edit (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:Libyan Civil War detailed map". Then hit "Show preview".
Under the control of the Tobruk-based Government, Libyan National Army, and Allies
Under the control of the Government of National Accord and affiliated militias (Libya Shield Force, Petroleum Facilities Guard [PFG])
Under the control of local tribal forces
Contested
Tobruk Government–Government of National Accord
Tobruk Government–Islamic State of Iraq and the Levant
Tobruk Government–Local Tribal Forces
Government of National Accord–Islamic State of Iraq and the Levant
Government of National Accord–Local Tribal Forces
Islamic State of Iraq and the Levant–Local Tribal Forces
Mixed Control (Stable situation)
Other
Military base
Airport/Airbase (jet)
Airport/Airbase (helicopter)
Military base
Airport/Airbase (jet)
Airport/Airbase (helicopter)
Major port or naval base
Border Post
Dam
Oil fields
Industrial complex
Strategic peak/hill
Rural presence
Presence of the Tobruk-based Government, Libyan National Army, and Allies
Presence of the Government of National Accord and affiliated militias (Libya Shield Force, Petroleum Facilities Guard [PFG])
Presence of the Islamic State of Iraq and the Levant
Presence of local tribal forces
2 nested circles: inner controls, outer sieges // 3 nested circles: mixed control with stable situation // Small icons within large circle: situation in individual neighborhoods/districts