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 07:07, 25 April 2024 (Organized and moved some markers from the detailed map). 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

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

--Dnipropetrovsk Oblast
m.marks["Nikopol"].position = "bottom"

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

marks = {
	--Cherkasy Oblast
	-- Other infrastructure
	{ lat = "49.767", long = "31.472", mark = "BSicon STR+l blue.svg", marksize = 10, label = "[[Kaniv Hydroelectric Power Plant]]", link = "Kaniv Hydroelectric Power Plant", label_size = 0, position = "left" },

	--Chernihiv Oblast
	-- Other infrastructure
	{ lat = "50.926", long = "30.757", mark = "Abm-blue-icon.png", marksize = 8, label = "[[169th Training Centre (Ukraine)]]", link = "169th Training Centre (Ukraine)", label_size = 0, position = "top" },

	--Donetsk Oblast
	-- Extra villages
	{ 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