Modul:Chronik/Work: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 9: Zeile 9:
local daterange = frame.args[1]
local daterange = frame.args[1]
local text = frame.args[2] or ""
local text = frame.args[2] or ""
local nodate = frame.args[3]
local option = frame.args[3]
local thema = frame.args["Thema"] or "Ereignis"
local thema = frame.args["Thema"] or "Ereignis"
local year = nil
local year = nil
Zeile 29: Zeile 29:
data['Thema'] = thema
data['Thema'] = thema
mw.smw.subobject(data)
mw.smw.subobject(data)
if option == "nodate" then
return text
end
return ds .. ': ' .. text
return ds .. ': ' .. text
end
end
82.367

Bearbeitungen