Modul:Karte/Work: Unterschied zwischen den Versionen

Aus FürthWiki

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 145: Zeile 145:
-- Karte
-- Karte
local map_args = { -- gemeinsame settings
local map_args = { -- gemeinsame settings
width = args["width"], height = args["height"], zoom = args["zoom"],
["width"] = args["width"], ["height"] = args["height"],
enablefullscreen = "yes", resizable = "yes"}
["zoom"] = args["zoom"],  
["enablefullscreen"] = "yes", ["resizable"] = "yes"}
local display_map = false
local display_map = false
if wik.pageExists(geojson_fullpagename) then
if wik.pageExists(geojson_fullpagename) then
Zeile 154: Zeile 155:
if display_map then
if display_map then
mw.logObject(map_args, "map_args")
mw.logObject(map_args, "map_args")
t = t .. frame:callParserFunction{name = "#display_map", args = map_args}
t = t .. frame:callParserFunction("#display_map", map_args)
end
end