Modul:Citation: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
K (umgestellt) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 193: | Zeile 193: | ||
args.noError = 'false' | args.noError = 'false' | ||
end | end | ||
local theDate = | local theDate = args.date | ||
local published = '' | local published = '' | ||
if | if theDate ~= '' and args.edition then | ||
theDate = mw.ustring.format( formatters.puDateEdition, args.date, args.edition ) | theDate = mw.ustring.format( formatters.puDateEdition, args.date, args.edition ) | ||
end | end | ||
if args.place ~= '' and args.publisher ~= '' then | if args.place ~= '' and args.publisher ~= '' then | ||
published = mw.ustring.format( formatters.puPlacePub, args.place, args.publisher ) | published = mw.ustring.format( formatters.puPlacePub, args.place, args.publisher ) | ||
elseif args.place ~= '' then | |||
published = args.place | |||
elseif args.publisher ~= '' then | |||
published = args.publisher | |||
end | end | ||
if published == '' then | if published == '' then | ||