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

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
oops
plural option for editors
வரிசை 136:
end
end
local count = #text;
local result = table.concat(text, sep) -- construct list
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
end
 
வரி 493 ⟶ 494:
Authors = listpeople(control, a)
end
local EditorCount
if ( Editors == nil ) then
local EditorNameSep = args["editor-name-separator"] or args["name-separator"] or "&#44; "
வரி 499 ⟶ 501:
local EditorMaximum = tonumber(args["display-editors"] or args.displayeditors) or 3
local control = { sep = EditorSep, namesep = EditorNameSep, format = EditorFormat, maximum = EditorMaximum }
Editors, EditorCount = listpeople(control, e)
else
EditorCount = 1;
end
if ( Date == nil or Date == "") then
வரி 837 ⟶ 841:
elseif ( "" ~= Editors) then
if ( "" ~= Date ) then
Editorsif EditorCount <= Editors .. ",1 ed."then
Editors = Editors .. ", ed."
else
Editors = Editors .. ", eds."
end
Date = " (" .. Date ..")" .. OrigYear .. sepc .. " "
else
Editorsif EditorCount <= Editors .. " (ed.)" .. sepc .. "1 "then
Editors = Editors .. " (ed.)" .. sepc .. " "
else
Editors = Editors .. " (eds.)" .. sepc .. " "
end
end
text = Editors .. Date .. Chapter .. tcommon .. Issue .. Page .. Pages .. At .. idcommon
"https://tamilar.wiki/w/Module:Citation/CS1" இலிருந்து மீள்விக்கப்பட்டது