Modul:Marker/Params
Die Dokumentation für dieses Modul kann unter Modul:Marker/Params/doc erstellt werden
-- Parameter lists and localization return { -- administration moduleInterface = { suite = 'Marker', sub = 'Params', serial = '2022-06-05', 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', format = 'format', -- deprecated group = 'group', image = 'image', lat = { 'lat', 'coord' }, long = { 'long', 'lon' }, mapGroup = 'map-group', noGpx = 'no-gpx', name = 'name', nameExtra = 'name-extra', nameLocal = 'name-local', show = 'show', status = 'status', styles = 'styles', symbol = 'symbol', text = 'text', type = 'type', url = 'url', wikidata = 'wikidata', zoom = 'zoom' }, -- corresponding Wikidata properties wd = { coord = { p = 'P625' }, iata = { p = 'P238', c = 3 }, icao = { p = 'P239' }, image = { p = 'P18' }, rss = { p = 'P1019' }, type = { p = 'P31' }, url = { p = 'P856' }, facebook = { p = 'P2013', f = 'https://www.facebook.com/%s' }, flickr = { p = 'P3267', f = 'https://www.flickr.com/photos/%s' }, instagram = { p = 'P2003', f = 'https://www.instagram.com/%s/' }, twitter = { p = 'P2002', f = 'https://twitter.com/%s' }, youtube = { p = 'P2397', f = 'https://www.youtube.com/channel/%s' }, }, -- default Wikidata requests -- iata, icao, rss, social media links only from Wikidata wdContent = { coord = false, -- internal use, don't change name = false, -- internal use, don't change iata = true, -- fetch it by default icao = true, image = true, rss = true, url = true, facebook = false, -- don't fetch it by default flickr = false, instagram = false, twitter = false, youtube = false }, -- check for fetch from Wikidata ynCheckList = { 'facebook', 'flickr', 'iata', 'icao', 'image', 'instagram', 'nameLocal', 'rss', 'twitter', 'youtube', 'url' }, socialMedia = { 'facebook', 'flickr', 'instagram', 'twitter', 'youtube' }, allowedFormats = '^f2$', -- format patterns - deprecated defaultShow = 'poi, name', -- parameters for wrapper tag markerData = { color = 'data-color', commonscat = 'data-commonscat', group = 'data-group', groupTranslated = 'data-group-translated', -- for MapTools.js image = 'data-image', mapGroup = 'data-map-group', nameLocal = 'data-name-local', rss = 'data-rss', symbol = 'data-symbol', type = 'data-type', url = 'data-url', wikidata = 'data-wikidata' }, -- possible values for show parameter show = { all = '', coord = '', copy = '', noname = '', noairport = '', none = '', poi = '', socialmedia = '', symbol = '' } }