Module:Documentation: Difference between revisions

sandbox notice - separate test cases blurb with a line break rather than a space
m>Mr. Stradivarius
(convert the sandbox notice code to Lua)
m>Mr. Stradivarius
(sandbox notice - separate test cases blurb with a line break rather than a space)
Line 322: Line 322:
local testcasesLinkDisplay = message('sandboxNoticeTestcasesLinkDisplay', 'string')
local testcasesLinkDisplay = message('sandboxNoticeTestcasesLinkDisplay', 'string')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. ' ' .. message('sandboxNoticeTestcasesBlurb', 'string', {testcasesLink})
text = text .. '<br />' .. message('sandboxNoticeTestcasesBlurb', 'string', {testcasesLink})
end
end
-- Add the page to [[Category:Template sandboxes]].
-- Add the page to [[Category:Template sandboxes]].
Anonymous user