Módulo:Marker/Params

[editar] [purgar]

Documentación del módulo

Version check

Designación de la versión en Wikidata: 2026-03-16 Ok!

Uso

This module proviceds the parameters for calling the map markers with the template Marker.
Esta documentación es transcluida desde Módulo:Marker/Params/doc.
Los editores pueden experimentar en la zona de pruebas de la plantilla.
Por favor, añade las categorías a la subpágina de documentación. Subpáginas de esta plantilla.

-- Parameter lists and localization return { 	-- administration 	moduleInterface = { 		suite  = 'Marker', 		sub    = 'Params', 		serial = '2026-03-16', 		item   = 65451902 	},  	-- The item key is used by the Marker module. 	-- The value like ['no-gpx'] is the parameter name used in the template. 	-- Use values for localization. 	p = { 		-- module name = template arg 		alt         = 'alt', 		commonscat  = 'commonscat', 		copyMarker  = { 'copy-marker', 'marker-copy' }, 		country     = { 'country', 'país' }, 		group       = { 'group', 'grupo' }, 		id          = 'id', 		image       = { 'image', 'imagen' }, 		lat         = { 'lat', 'latitud', 'coord' }, 		localLang   = 'local-lang', 		long        = { 'long', 'longitud', 'lon' }, 		mapGroup    = { 'map-group', 'mapa-grupo' }, 		noGpx       = 'no-gpx', 		name        = { 'name', 'nombre' }, 		nameExtra   = { 'name-extra', 'nombre-extra' }, 		nameLatin   = { 'name-latin', 'name-roman' }, 		nameLocal   = { 'name-local', 'nombre-local' }, 		nameMap     = { 'name-map', 'nombre-mapa' }, 		sectionFrom = 'section-from', 		show        = { 'show', 'mostrar' }, 		status      = 'status', 		styles      = { 'styles', 'estilo' }, 		symbol      = { 'symbol', 'icon', 'simbolo' }, 		text        = { 'text', 'texto' }, 		type        = { 'type', 'types', 'tipo' }, 		url         = 'url', 		wikidata    = 'wikidata', 		zoom        = 'zoom' 	},  	-- corresponding Wikidata properties 	wd = { 		applemaps     = { p = 'P10046' }, 		coord         = { p =  'P625' }, 		geonames      = { p = 'P1566' }, 		googlemaps    = { p = 'P3749' }, 		iata          = { p =  'P238', c = 3 }, 		icao          = { p =  'P239' }, 		image         = { p = { { p = 'P18' }, 		                  { p = 'P3451' }, -- nighttime view 		                  { p = 'P8592' }, -- aerial view 		                  { p = 'P5775' } } }, -- interior image 		osmNodeId     = { p = 'P11693' }, 		osmRelationId = { p = 'P402' }, 		osmWayId      = { p = 'P10689' }, 		rss           = { p = 'P1019' }, 		stationNumber = { p =  'P954' }, -- intl station number 		tripadvisor   = { p = 'P3134' }, 		url           = { p = { { p = 'P856' }, 		                  { p = 'P973' } } }, 		urlMap        = { p = 'P9601' }, -- official map URL 		urlTimetable  = { p = 'P12677' }, -- timetable/schedule URL   		facebook      = { p = { { p = 'P2013', f = 'https://www.facebook.com/%s' }, -- Facebook username 					      { p = 'P1997', f = 'https://www.facebook.com/%s' }, -- Facebook places ID 					      { p = 'P4003', f = 'https://www.facebook.com/pages/%s' }, -- Facebook page ID 					      { p = 'P11705', f = 'https://www.facebook.com/pages/%s' } } }, -- Facebook numeric ID 		flickr        = { p = 'P3267', f = 'https://www.flickr.com/photos/%s' }, 		instagram     = { p = { { p = 'P2003', f = 'https://www.instagram.com/%s/' }, 		                  { p = 'P4173', f = 'https://www.instagram.com/explore/locations/%s/' } } }, 		tiktok        = { p = { { p = 'P7085', f = 'https://www.tiktok.com/@%s' }, -- TikTok username 		                  { p = 'P11559', f = 'https://www.tiktok.com/place/_-%s' } } }, -- TikTok place ID 		x             = { p = 'P2002', f = 'https://x.com/%s' }, 		youtube       = { p = { { p = 'P11245', f = 'https://www.youtube.com/@%s' }, -- Youtube channel @ alias 		                  { 'P2397', f = 'https://www.youtube.com/channel/%s' } } } -- Youtube channel 	},  	-- default Wikidata requests 	-- iata, icao, rss, social media links, etc. only from Wikidata 	wdContent = { 		applemaps     = true,  -- fetch it by default 		geonames      = true, 		googlemaps    = true, 		iata          = true, 		icao          = true, 		image         = true, 		osmNodeId     = true, 		osmRelationId = true, 		osmWayId      = true, 		rss           = true, 		stationNumber = true, 		tripadvisor   = true, 		url           = true, 		urlMap        = true, 		urlTimetable  = true 	},  	-- check for fetch from Wikidata 	ynCheckList = { 'facebook', 'flickr', 'image', 'instagram', 'nameLocal', 		'tiktok', 'url', 'x', 'youtube' },  	defaultShow = 'poi, name',  	-- parameters for wrapper tag 	markerData = { 		applemaps       = 'data-apple-maps-id', 		color           = 'data-color', 		commonscat      = 'data-commonscat', 		geonames        = 'data-geonames-id', 		googlemaps      = 'data-google-maps-cid', 		group           = 'data-group', 		image           = 'data-image', 		mapGroup        = 'data-map-group', 		nameLocal       = 'data-name-local', 		osmNodeId       = 'data-osm-node-id', 		osmRelationId   = 'data-osm-relation-id', 		osmWayId        = 'data-osm-way-id', 		rss             = 'data-rss', 		stationNumber   = 'data-station-number', 		symbol          = 'data-symbol', 		tripadvisor     = 'data-tripadvisor-com', 		type            = 'data-type', 		url             = 'data-url', 		urlMap          = 'data-map-url', 		urlTimetable    = 'data-timetable-url', 		wikidata        = 'data-wikidata'		 	},  	-- possible values for show parameter 	show = { 		all         = 1, 		coord       = 1, 		copy        = 1, 		noairport   = 1, 		noname      = 1, 		none        = 1, 		nositelinks = 1, 		poi         = 1, 		socialmedia = 1, 		symbol      = 1, 		wikilink    = 1 	} }