Module:Citation/CS1: Difference between revisions
empty checking
m>Dragons flight (alternative form) |
m>Dragons flight (empty checking) |
||
Line 787: | Line 787: | ||
Publisher = " (" .. PublicationPlace .. PublisherName .. PublicationDate .. ")" | Publisher = " (" .. PublicationPlace .. PublisherName .. PublicationDate .. ")" | ||
else | else | ||
if (Location ~=nil) then Publisher= " (" .. Location .. ")" | if (Location ~= nil and Location ~= '') then Publisher= " (" .. Location .. ")" | ||
else Publisher = "" end | else Publisher = "" end | ||
end | end | ||
Line 797: | Line 797: | ||
Publisher = sepc .. " " .. PublicationPlace .. PublisherName .. PublicationDate | Publisher = sepc .. " " .. PublicationPlace .. PublisherName .. PublicationDate | ||
else | else | ||
if (Location ~=nil) then Publisher= sepc .. " " .. Location | if (Location ~= nil and Location ~= '') then Publisher= sepc .. " " .. Location | ||
else Publisher = "" end | else Publisher = "" end | ||
end | end |