local m = require('Module:Russo-Ukrainian War detailed map')
m.containerArgs.AlternativeMap = nilm.containerArgs.autoSwitcherLabel = truem.containerArgs.width = 1000
local mark, label, label2for i = m.marks.old_len+1, #m.marks do mark = m.marks[i] label = mark.label if label then label = mw.text.trim(label, '%[%]') label2 = mw.text.split(label, '[,|]')[1] label2 = string.gsub(label2, '', ) label = m.marks[label2] and mw.text.split(label, '|')[1] or label2 m.marks[label] = mark end if mark.label_size
'L' then -- is the last expression avoidable? mark.label_size = sizes[mark.marksize] endend
-- Arranged by oblasts in alphabetical order.local mm = m.marks--Dnipropetrovsk Oblastmm["Nikopol"].position = lp.b
--Donetsk Oblastmm["Khartsyzk"].position = "bottom"mm["Krasnohorivka"].position = lp.tmm["Krasnohorivka"].label_width = 7mm["Lyman"].position = "right"mm["Myrnohrad"].label_width = nilmm["Myrnohrad"].label_top = nilmm["Novooleksandrivka"].label_width = 9mm["Nyzhnia Krynka"].position = "bottom"mm["Nyzhnia Krynka"].label_width = 8mm["Staromykhailivka"].position = lp.bmm["Staromykhailivka"].label_width = 8mm["Sviatohirsk"].position = "top"mm["Urozhaine"].position = "right"mm["Volodymyrivka"].label_width = 7mm["Yasynuvata"].label_width = nilmm["Yenakiieve"].position = "left"mm["Zalizne"].position = lp.tmm["Zalizne"].label_width = nil
--Kharkiv Oblastmm["Vovchansk"].position = lp.r
local marks =
TableTools.extend(m.marks, marks)
return m