Modul:Straße: Unterschied zwischen den Versionen

Verwendung {{{streetlocation|}}} via Vorlage:Straße/Karte/Lokation
(Umstellung Slash anstelle Dot)
(Verwendung {{{streetlocation|}}} via Vorlage:Straße/Karte/Lokation)
Zeile 1: Zeile 1:
local p = {} --p stands for package
local p = {} --p stands for package
local c = require( "Module:Common" )


function p.Faktenbox( frame )
function p.Faktenbox( frame )
Zeile 51: Zeile 52:


function p.Karte( frame, args )
function p.Karte( frame, args )
t = frame:expandTemplate{title = 'Straße/Karte', args=args}
    args_ = c.shallowcopy(args)
args_["streetlocation"] = frame:expandTemplate{title = 'Straße/Karte/Lokation', args=args}
t = frame:expandTemplate{title = 'Straße/Karte', args=args_}
     return t
     return t
end
end