Module:Citation/CS1: Difference between revisions
switch other italic tags to wikistyle italics, should be more consistent with prior style when input contains italics
m>Dragons flight (Try Wikipedia style italics, should work better for titles with embedded italics) |
m>Dragons flight (switch other italic tags to wikistyle italics, should be more consistent with prior style when input contains italics) |
||
Line 552: | Line 552: | ||
and config.CitationClass ~= "encyclopaedia" | and config.CitationClass ~= "encyclopaedia" | ||
) then | ) then | ||
Chapter = " | Chapter = "''" .. Chapter .. "''" | ||
else | else | ||
Chapter = "\"" .. Chapter .. "\"" | Chapter = "\"" .. Chapter .. "\"" | ||
Line 756: | Line 756: | ||
if ( nil ~= LaySummary and "" ~= LaySummary ) then | if ( nil ~= LaySummary and "" ~= LaySummary ) then | ||
if ( LayDate ~= nil ) then LayDate = " (" .. LayDate .. ")" else LayDate = "" end | if ( LayDate ~= nil ) then LayDate = " (" .. LayDate .. ")" else LayDate = "" end | ||
if ( LaySource ~= nil ) then LaySource = " – | if ( LaySource ~= nil ) then LaySource = " – ''" .. LaySource .. "''" else LaySource = "" end | ||
Lay = " [" .. LaySummary .. " lay summary]" .. LaySource .. LayDate | Lay = " [" .. LaySummary .. " lay summary]" .. LaySource .. LayDate | ||
else | else | ||
Line 793: | Line 793: | ||
if ( Periodical ~= nil and Periodical ~="" ) then | if ( Periodical ~= nil and Periodical ~="" ) then | ||
if ( Title and Title ~= "") | if ( Title and Title ~= "") | ||
then Periodical = sepc .. " | then Periodical = sepc .. " ''" .. Periodical .. "''" | ||
else Periodical = " | else Periodical = "''" .. Periodical .. "''" | ||
end | end | ||
else Periodical = "" end | else Periodical = "" end |