Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
DOI cleanup is organized by year
get the semicolon off the et al.
வரிசை 125:
local maximum = control.maximum
local text = {}
local etal = false;
for i,person in ipairs(people) do
if (person.last ~= nil or person.last ~= "") then
வரி 130 ⟶ 131:
local one
if ( maximum ~= nil and i == maximum + 1 ) then
local etal_textetal = "et al."true;
if (sepc == ".") then etal_text = "et al" endbreak;
one = etal_text
elseif ( maximum ~= nil and i > maximum + 1 ) then
break
elseif (mask ~= nil) then
local n = tonumber(mask)
வரி 156 ⟶ 154:
local count = #text;
local result = table.concat(text, sep) -- construct list
if etal then
local etal_text = "et al."
if (sepc == ".") then etal_text = "et al" end
result = result .. " " one =.. etal_text;
end
if ( "scap" == format ) then result= z.mw.text.tag({name="span", contents=result, params={class="smallcaps", style="font-variant:small-caps;"}}) end -- if necessary wrap result in <span> tag to format in Small Caps
return result, count
"https://tamilar.wiki/w/Module:Citation/CS1" இலிருந்து மீள்விக்கப்பட்டது