Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
Move issue next to volume, is this going to break lots of things? |
sanity check the italics for other single quotes |
||
வரிசை 563:
and config.CitationClass ~= "encyclopaedia"
) then
if Chapter:sub(1,1) == "'" then Chapter = " " .. Chapter; end
if Chapter:sub(-1,-1) == "'" then Chapter = Chapter .. " "; end
Chapter = "''" .. Chapter .. "''"
else
வரி 589 ⟶ 591:
Title = "\"" .. Title .. "\""
else
if Title:sub(1,1) == "'" then Title = " " .. Title; end
if Title:sub(-1,-1) == "'" then Title = Title .. " "; end
Title = "''" .. Title .. "''"
end
வரி 767 ⟶ 772:
if ( nil ~= LaySummary and "" ~= LaySummary ) then
if ( LayDate ~= nil ) then LayDate = " (" .. LayDate .. ")" else LayDate = "" end
if ( LaySource ~= nil ) then
if LaySource:sub(1,1) == "'" then LaySource = " " .. LaySource; end
if LaySource:sub(-1,-1) == "'" then LaySource = LaySource .. " "; end
else
LaySource = ""
end
Lay = " [" .. LaySummary .. " lay summary]" .. LaySource .. LayDate
else
வரி 803 ⟶ 815:
-- Several of the above rely upon detecting this as nil, so do it last.
if ( Periodical ~= nil and Periodical ~="" ) then
if Periodical:sub(1,1)
if Periodical:sub(-1,-1) == "'" then Periodical =
▲ else Periodical = "''" .. Periodical .. "''"
if ( Title and Title ~= "") then
Periodical = sepc .. " ''" .. Periodical .. "''"
else
Periodical = "''" .. Periodical .. "''"
end
else Periodical = "" end
| |||