Jump to content

Module:Russo-Ukrainian War detailed map (oblasts)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alexiscoutinho (talk | contribs) at 01:58, 25 April 2024 (Removed now unnecessary variable, improved labels presentation and added Sokil). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local m = require('Module:Russo-Ukrainian War detailed map')

m.containerArgs.AlternativeMap = nil
m.containerArgs.width = 1100

for _, mark in ipairs(m.marks) do
	if mark.label then
		label = mw.text.trim(mark.label, '%[%]')
		m.marks[label] = mark
	end
	if mark.label_size == 0 and mark.position and string.sub(mark.mark, 1, 1) == 'L' then
		mark.label_size = szs_map[mark.marksize]
	end
end

m.marks["Krasnohorivka"].label_width = 7
m.marks["Ocheretyne"].position = "top"
m.marks["Yasynuvata"].label_width = nil

marks = {
	-- Arranged by oblasts in alphabetical order. Crimea is at the bottom.

	--Donetsk Oblast
	{ lat = "48.232", long = "37.553", mark = "Location dot blue.svg", marksize = 6, label = "Sokil", link = "uk:Сокіл (Покровський район)", label_size = 50--[[66]], position = "left" },
}

TableTools.extend(m.marks, marks)

return m