Jump to content

Module:Middle East conflicts map marks/display

From Wikipedia, the free encyclopedia

local p = {}

local m = mw.loadData('Module:Middle East conflicts map marks')

function p.main(frame)
	local out = {}
	for k,v in pairs(m) do
		out[#out + 1] = string.format('\n* %s: [[File:%s|16x16px]]', k, v)
	end
	table.sort(out)
	return frame:expandTemplate{title='Div col', args={colwidth='250px'}} .. table.concat(out) .. frame:expandTemplate{title='Div col end'}
end

return p