Modul:Citace: Porovnání verzí
Smazaný obsah Přidaný obsah
unifikace "url alt" > "url2"; fce p.supplyPeriodical() pro odvození periodika z url |
oprava ve funkci p.citDate; p.date > p.dateCs |
||
Řádek 29:
-- debugging options
-- c.noCoins = 1
-- c.trace = 1
-- c.dbg = 1
end
Řádek 762:
if c.type == 'citacePeriodika' or c.type == 'citaceElMonografie' or c.type == 'citaceElPeriodika' then
table.insert(c.r, ""
.. "" .. (not p.empty(c.args["místo"]) and " " .. c.args["místo"] .. ": " or "")
.. "" .. (not p.empty(c.args["vydavatel"]) and p.wikilink(c.args["odkaz na vydavatele"], c.args["vydavatel"]) or "")
)
Řádek 777 ⟶ 778:
if c.trace then p.trace(c, debug.getinfo(1, "n")) end
local t = {}
t.datum = not p.empty(c.args["datum"]) and c.args["datum"] or p.dateCs(c.args)
if c.type == 'citaceElMonografie' or c.type == 'citaceElPeriodika' then
Řádek 783 ⟶ 785:
end
if not p.empty(
t.finalDot = true;
table.insert(c.r, ""
.. (not p.empty(c.args["vydavatel"]) and ", " .. t.datum or " " .. p.upperFirst(t.datum))
)
end
Řádek 793 ⟶ 794:
if not p.empty(c.args["datum aktualizace"]) then
t.finalDot = true;
if not p.empty(c.args["vydavatel"]) or not p.empty(
table.insert(c.r, ", " .. p.coalesce(c.args["typ aktualizace"], "rev."))
elseif not p.empty(c.args["místo"]) then
Řádek 805 ⟶ 806:
if not p.empty(c.args["datum přístupu"]) then
t.finalDot = true;
if not p.empty(c.args["vydavatel"]) or not p.empty(
table.insert(c.r, " ")
end
if not c.localTest and c.type == 'citaceElMonografie' then
table.insert(c.r, "[cit. " .. p.frame:callParserFunction('#time', 'Y-m-d', c.args["datum přístupu"]) .. "]")
Řádek 819 ⟶ 817:
if (t.finalDot) then
table.insert(c.r, ".
end
elseif c.type == "citacePeriodika" then
Řádek 835 ⟶ 833:
end
else
t.datum = p.
if c.useHarvardFormat and t.datum == c.args["rok"] then
Řádek 854 ⟶ 852:
table.insert(c.r, ", ")
end
table.insert(c.r, p.
if not p.empty(c.args["rok"]) or not p.empty(c.args["rok copyrightu"]) then
table.insert(c.r, ")")
|