Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Änderungen
Zur Navigation springen
Zur Suche springen
KZeile 13:
Zeile 13:
− +
+
Zeile 61:
Zeile 62:
+
Zeile 69:
Zeile 71:
− +
Modul:Vorlage:FormatDate (Quelltext anzeigen)
Version vom 2. Juni 2013, 17:16 Uhr
, 17:16, 2. Jun. 2013keine Bearbeitungszusammenfassung
end
end
if not pos then
if not pos then
return Datum
Datum.y = tonumber(str) or 'x'
return false, Datum
end
end
Teil = mw.ustring.sub(str,1,pos-1)
Teil = mw.ustring.sub(str,1,pos-1)
local VCHR = "";
local VCHR = "";
local STIL = 'F';
local STIL = 'F';
local IsOk = true
local Tbl = {}
local Tbl = {}
if mw.ustring.lower(Args['AT'] or "") == "ja" then AT = true; end
if mw.ustring.lower(Args['AT'] or "") == "ja" then AT = true; end
Tbl = Split(Args[1])
IsOk, Tbl = Split(Args[1])
if Tbl.y == 'x' then
if Tbl.y == 'x' then
Text = '<span class="error">[[Vorlage:FormatDate]]: Ungültiger Wert für Jahr!</span>'
Text = '<span class="error">[[Vorlage:FormatDate]]: Ungültiger Wert für Jahr!</span>'