Content deleted Content added
listclass |
No edit summary |
||
Line 7:
if not args[1] then return end
end
local oxford = args.oxford
embedded = (embedded == "y")▼
if oxford then oxford = oxford:lower() end
if embedded then embedded = embedded:lower() end
local bold = args.bold
local out = ""
for k, v in ipairs(args) do
v = mw.text.trim(v)
if v ~= "" then
out = out .. (bold and "<li style=\"font-weight:bold\">" or "<li>") .. v .. "</li>"
end
end
Line 22 ⟶ 27:
listclass = listclass .. "sslist"
else
if oxford then
listclass = listclass .. "cslist"▼
if args[3] then
listclass = listclass .. "andlistoxford"
else
listclass = listclass .. "andlist"
end
else
▲ listclass = listclass .. "cslist"
end
end
if embedded then
|