Module:Template link general: Difference between revisions
m
30 revisions imported from wikipedia:Module:Template_link_general
(update code - remove trailing blank parameters) |
m (30 revisions imported from wikipedia:Module:Template_link_general) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 102:
while args[i] do
local val = args[i]
if val ~= nil then val = mw.text.unstripNoWiki(val) else break end▼
textPartBuffer = textPartBuffer .. '|'
if val ~= "" then
if _ne(args.nowiki) then
-- Unstrip nowiki tags first because calling nw on something that already contains nowiki tags will
-- mangle the nowiki strip marker and result in literal UNIQ...QINU showing up
end
if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end
textPart = textPart .. textPartBuffer .. val
|