Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Änderungen
Zur Navigation springen
Zur Suche springen
Zeile 67:
Zeile 67:
− if mw.ustring.lower(Args[2] or "") == "nbsp" or mw.ustring.lower(Args[3] or "") == "nbsp" or mw.ustring.lower(Args[4] or "") == "nbsp" then NBSP = true; end +
− +
− +
− +
− +
− +
+
+
+
Modul:Vorlage:FormatDate (Quelltext anzeigen)
Version vom 18. Juni 2013, 22:46 Uhr
, 22:46, 18. Jun. 2013text.trim() für Parameterwerte
local Numstr = "";
local Numstr = "";
local SortTag= "";
local SortTag= "";
local Arg2 = mw.ustring.lower(mw.text.trim(Args[2] or ""));
if mw.ustring.lower(Args[2] or "") == "link" or mw.ustring.lower(Args[3] or "") == "link" or mw.ustring.lower(Args[4] or "") == "link" then LINK = true; end
local Arg3 = mw.ustring.lower(mw.text.trim(Args[3] or ""));
if mw.ustring.upper(Args[2] or "") == "M" or mw.ustring.upper(Args[3] or "") == "M" or mw.ustring.upper(Args[4] or "") == "M" then STIL = 'M'; end
local Arg4 = mw.ustring.lower(mw.text.trim(Args[4] or ""));
if mw.ustring.upper(Args[2] or "") == "S" or mw.ustring.upper(Args[3] or "") == "S" or mw.ustring.upper(Args[4] or "") == "S" then STIL = 'S'; end
if Arg2 == "nbsp" or Arg3 == "nbsp" or Arg4 == "nbsp" then NBSP = true; end
if mw.ustring.lower(Args['AT'] or "") == "ja" then AT = true; end
if Arg2 == "link" or Arg3 == "link" or Arg4 == "link" then LINK = true; end
if mw.ustring.lower(Args['Sort'] or "") ~= "" then SortIt = true; end
if Arg2 == "m" or Arg3 == "m" or Arg4 == "m" then STIL = 'M'; end
if Arg2 == "s" or Arg3 == "s" or Arg4 == "s" then STIL = 'S'; end
if mw.ustring.lower(mw.text.trim(Args['AT'] or "")) == "ja" then AT = true; end
if mw.ustring.lower(mw.text.trim(Args['Sort'] or "")) ~= "" then SortIt = true; end
IsOk, Tbl = Split(Args[1])
IsOk, Tbl = Split(Args[1])