Module:Central African Republic Civil War detailed map/doc: Difference between revisions

Content deleted Content added
Created page with '{{tl|Module rating |<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <!...'
 
 
(One intermediate revision by one other user not shown)
Line 35:
 
===Examples of cases where the contested icon should ''not'' be used===
* A case where there was no chance of the enemy taking the town over, and only, small clashes were going on in the town. We don´'t put towns contested if there are only sporadic clashes. So reports of clashes are not always enough to mark a town as contested.
* A case where there were clashes in a town with a handful of enemy fighters and the clashes were over after some hours. For example if source says: "… at least six insurgents were killed during the clashes … while the rest of militants escaped on Saturday evening”
* A case where there was just one source about clashes in a major town and what occurred was essentially a small firefight. Sleeper cells infiltrated the town and shot at some soldiers, and the soldiers shot back and killed some of them. The source then reports the rest of the fighters as having fled the battlefield. So this was a one-off, hit-and-run attack, not a serious attempt to grab and ''hold'' parts of the town.
Line 88:
A quick look at the map's code will tell you where each town dot is currently linking.
 
'''Example 1: How to keep town dots linked to the ''latest'' status source when the town has its own Wikipedia article.'''. 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 [https://en.wikipedia.org/w/index.php?title=Al-Taybah&diff=796465930&oldid=789256319 the following edit] which added to the article the following text:
 
<small><nowiki>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></nowiki></small>
Line 100:
Notice how the paragraph starts with the expression ''<nowiki>{{anchor|Kabajeb}}</nowiki>''. This guides the link to put the reader exactly at the beginning of the latest status & source. However, on 2017-09-04, the government took the town from ISIS. So the above link & source is no longer up-to-date. To stay up-to-date, you need to do 2 steps:
 
Step 1: Write about the new status in some "battle/offensive/etc..." article that relates to the town. Alternatively, you can find an up-to-date text that someone else wrote and procedeproceed to the next step. In our case, you find that someone wrote this updated status in the article [[Central Syria campaign (July 2017–present)]] which states in its code:
 
<small><nowiki>5th Corps alongside 18th Reserve Division captured the town of Kabajib during midday, while later in the day together with Tiger Forces captured al-Shulah.<ref>{{Cite news|url=https://www.almasdarnews.com/article/breaking-syrian-army-liberates-strategic-town-en-route-deir-ezzor-city/|title=Breaking: Syrian Army liberates strategic town en route to Deir Ezzor City|date=2017-09-04|work=AMN - Al-Masdar News {{!}} المصدر نيوز|access-date=2017-09-04|language=en-US}}</ref></nowiki></small>
 
This is exactly what we need. Therefore, we procedeproceed to the next step.
 
Step 2: In the map code, we need to update the link parameter to point to the new status in the new article. [https://en.wikipedia.org/w/index.php?title=Module:Syrian_Civil_War_detailed_map&diff=799666773&oldid=799624578 This edit] does this. As you can see, the link was changed from link="[[Deir ez-Zor offensive (April–July 2014)#Kabajeb]]" to link="[[Central Syria campaign (July 2017–present)#Kabajeb]]". However, for this to work, we need to also put the expression <nowiki>{{anchor|Kabajeb}}</nowiki> at the beginning of the part in the new article that talks about the new status. This is done in [https://en.wikipedia.org/w/index.php?title=Central_Syria_campaign_(July_2017%E2%80%93present)&diff=799653245&oldid=799649953 this edit].
Line 118:
[[File:How war map templates and modules work.png|1300px|left]]
 
<noinclude>{{#invoke:Location map/multi|load|Module:Central African Republic Civil War detailed map}}</noinclude>
[[Category:Module documentation pages]]
</noinclude>