Content deleted Content added
No edit summary |
update image display for dark mode per TPER |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1:
local p = {}
function p.book(frame)
local pframe = frame:getParent()
Line 28 ⟶ 27:
title = mw.title.getCurrentTitle().text
end
dtitle = mw.ustring.gsub(title,'%s+%([^%(]-%)$', '')
stitle = dtitle
if trimArg(args.stitle) then
stitle = trimArg(args.stitle)
end
if trimArg(args.dtitle) then
Line 54 ⟶ 53:
end
local url = "[[
return url
|