Jump to content

Module:Middle East conflicts map marks/display

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by MarioJump83 (talk | contribs) at 05:48, 12 June 2016 (SMB99thx moved page Module:Middle East insurgencies map marks/display to Module:Middle East conflicts map marks/display without leaving a redirect: Good name). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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