Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Änderungen
Zur Navigation springen
Zur Suche springen
Zeile 1:
Zeile 1:
− +
Zeile 35:
Zeile 35:
−
−
−
− local function fault( a )
− -- Formatiere Fehler mit class=error einstellungsabhängig
− -- Parameter:
− -- a -- string mit Text
− local r
− if type( Zitation ) == "table" then
− r = Zitation.fault( a )
− else
− r = falsch( a )
− end
− return r
− end -- fault()
Zeile 168:
Zeile 153:
− +
Zeile 247:
Zeile 232:
− +
+
Zeile 292:
Zeile 278:
− +
− +
− not args.Sammelwerk then+
− +
− args.Band = nil+
− +
+
+
+
Zeile 305:
Zeile 294:
− +
− +
− not args.Sammelwerk then+
− +
− args.Nummer = nil+
− +
+
+
+
Zeile 318:
Zeile 310:
− +
+
Zeile 365:
Zeile 358:
− +
− +
+
+
+
Zeile 385:
Zeile 381:
− +
+
+
+
+
− +
Modul:Vorlage:Literatur (Quelltext anzeigen)
Version vom 2. Mai 2017, 22:10 Uhr
, 22:10, 2. Mai 20172017-05-02
local Serial = "2017-04-21"
local Serial = "2017-05-02"
--[=[
--[=[
Unterstützung für {{Literatur}}
Unterstützung für {{Literatur}}
end
end
end -- falsch()
end -- falsch()
-- Parameter:
-- Parameter:
-- adapt -- something
-- adapt -- something
-- returns atom value, or deep copy of a table with no metatable
-- Returns atomic value, or deep copy of a table with no metatable
local r
local r
if type( adapt ) == "table" then
if type( adapt ) == "table" then
r = false
r = false
elseif s ~= args.Tag and
elseif s ~= args.Tag and
"0" .. s ~= args.Tag then
"0" .. s ~= args.Tag and
s .. "." ~= args.Tag then
fehler( "MonatTag", "'Tag'=" .. args.Tag )
fehler( "MonatTag", "'Tag'=" .. args.Tag )
end
end
local Band = function ( args )
local Band = function ( args )
-- OBSOLET nach Bereinigung im ANR
-- OBSOLET nach Bereinigung im ANR
if args.Reihe and
if args.Band and
not args.BandReihe and
not args.Sammelwerk and not args.BandReihe then
if args.Reihe then
args.BandReihe = args.Band
args.BandReihe = args.Band
args.Band = nil
fehler( "Temp4" )
fehler( "Temp4" )
else
fehler( "Temp3" )
end
end
end
end -- Band()
end -- Band()
local Nummer = function ( args )
local Nummer = function ( args )
-- OBSOLET nach Bereinigung im ANR
-- OBSOLET nach Bereinigung im ANR
if args.Reihe and
if args.Nummer and
not args.NummerReihe and
not args.Sammelwerk and not args.NummerReihe then
if args.Reihe then
args.NummerReihe = args.Nummer
args.NummerReihe = args.Nummer
args.Nummer = nil
fehler( "Temp4" )
fehler( "Temp4" )
else
fehler( "Temp3" )
end
end
end
end -- Nummer()
end -- Nummer()
local Herausgeber = function ( args )
local Herausgeber = function ( args )
-- OBSOLET nach Bereinigung im ANR
-- OBSOLET nach Bereinigung im ANR
if args.Hrsg and not args.Sammelwerk and not args.HrsgReihe then
if args.Hrsg and
not args.Sammelwerk and not args.HrsgReihe then
if args.Reihe then
if args.Reihe then
args.HrsgReihe = args.Hrsg
args.HrsgReihe = args.Hrsg
r, schrott = Zitation.format()
r, schrott = Zitation.format()
if schrott then
if schrott then
Schrei = Schrei or ""
if Schrei then
Schrei = Schrei .. Zitation.fault( schrott )
Schrei = string.format( "%s *** %s", Schrei, schrott )
else
Schrei = schrott
end
end
end
return r
return r
Zitation.frame = frame
Zitation.frame = frame
folder()
folder()
r = format( arglist )
r = string.format( "%s%s%s",
format( arglist ),
fehlerliste(),
Zitation.failure( Schrei ) )
else
else
fehler( "Modul", r )
fehler( "Modul", r )
r = fehlerliste()
end
end
return r .. fehlerliste() .. Zitation.failure( Schrei )
return r
end -- f()
end -- f()