Module:Russo-Ukrainian War detailed map/doc: Difference between revisions

Content deleted Content added
Line 77:
== Siege and pressure from one side icons ==
===Definition===
The siege icon ([[File:map-circle-blackred.svg|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 ([[File:map-arcNE-blackred.svg|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:
# Replace the mark = parameter with [[File:map-circle-blackred.svg|12px]] or [[File:map-arcNE-blackred.svg|11px]]
# 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.
 
Line 87:
 
'''Example:'''
* Correct: <syntaxhighlight lang="lua">{ lat = "33.972", long = "36.897", mark = "map-arcNE-blackred.svg", marksize = "12" },
{ lat = "33.972", long = "36.897", mark = "Abm-redblue+icon.png", marksize = "8", label = "Brigade 128", label_size = "0" },</syntaxhighlight>
* Wrong: <syntaxhighlight lang="lua">{ lat = "33.972", long = "36.897", mark = "Abm-redblue+icon.png", marksize = "8", label = "Brigade 128", label_size = "0" },
{ lat = "33.972", long = "36.897", mark = "map-arcNE-blackred.svg", marksize = "8" },</syntaxhighlight>
 
== Truce (purple with D) icon ==