Module:Middle East conflicts map marks/display

MyWikiBiz, Author Your Legacy — Saturday November 30, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Middle East conflicts map marks/display/doc

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