Jump to content

မေႃႇၵျူး:MergedMapGetPushPin/doc

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

This is the documentation page for မေႃႇၵျူး:MergedMapGetPushPin

This module returns Pushpin map or location map of its first argument, and other arguments provide settings, see example below.

လွင်ႈၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]
local pushpinArgs = {}
local pushpinMapName = mw.ustring.gsub(mapname, '^%s*(.-)%s*$', '%1')
		
pushpinArgs[1] =  mapname
pushpinArgs['alt']= args.alt
pushpinArgs['coordinates']= args.coordinates
pushpinArgs['label']= args.label
pushpinArgs['relief']= args.relief or 'yes'
pushpinArgs['float']= 'center'
pushpinArgs['width']= 270
frame.args = pushpinArgs
maps[#maps + 1] = '<div style= "text-align: left;">' .. pushpinModule.main(frame, pushpinArgs) .. '</div>'