Module:Sandbox/Jackmcbarn: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
test the gerrit change
Jackmcbarn (talk | contribs)
test the combine function
Line 1:
return { marks = { { lat = "37.105", long = "37.314", mark = "Rif_Aleppo2.svg", marksize = "279", label = "[[Battle of Aleppo (2012–present)|Aleppo]]", link = "File:Rif_Aleppo2.svg", label_size = "140", position = "left" } } }
local p = {}
 
function p.main(frame)
local args, args_mt = { '__pairs was not used' }, {}
function args_mt.__pairs( t )
return pairs( { 'success' } )
end
return frame:expandTemplate{ title = 'Echo', args = setmetatable( args, args_mt ) }
end
 
return p