Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:MergedMapGetPushPin/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]
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>'