Module:Template link general: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 67: Line 67:
end
end
titlePart = titlePart .. '|' .. textPart
titlePart = titlePart .. '|' .. textPart .. ']]'
if _ne(args.braceinside) then
if _ne(args.braceinside) then
titlePart = '<nowiki>{' .. titlePart .. '}</nowiki>'
titlePart = '<nowiki>{' .. titlePart .. '}</nowiki>'
Line 103: Line 103:
-- final wrap
-- final wrap
local ret = titlePart .. textPart .. ']]'
local ret = titlePart .. textPart
if not dontBrace then ret = '<nowiki>{{</nowiki>' .. ret .. '<nowiki>}}</nowiki>' end
if not dontBrace then ret = '<nowiki>{{</nowiki>' .. ret .. '<nowiki>}}</nowiki>' end
if _ne(args.a) then ret = '<nowiki>*</nowiki>&nbsp;' .. ret end
if _ne(args.a) then ret = '<nowiki>*</nowiki>&nbsp;' .. ret end
Anonymous user