Modul:Chronik: Unterschied zwischen den Versionen

K
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 11: Zeile 11:
if c.istJahreszahl(frame) == "true" then
if c.istJahreszahl(frame) == "true" then
year = title.text
year = title.text
error("Der Artikel ist eine Jahreszahl")
     end
     end
      
      
return '->' .. args[1] .. 'x' .. args[2] .. 't:' .. title.text .. tostring(year) ..'<-'
return '->' .. args[1] .. 'x' .. args[2] .. 't:' .. title.text .. tostring(year) ..'<-'
end
function dateParsing(s, year)
-- Parses a date down where s is the datestring and year can be nil or string
return s
end
end


return p
return p
82.367

Bearbeitungen