Module:Section link: Difference between revisions

changing to non-breaking nbsp per lengthy talk discussion with Edokter, SMcCandlish, LLarson, among others about § not wrapping
m (Protected Module:Section link: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(changing to non-breaking nbsp per lengthy talk discussion with Edokter, SMcCandlish, LLarson, among others about § not wrapping)
Line 40:
local linkPage = page or ''
local section = sections[1] or 'Notes'
local display = '§&thinspnbsp;' .. section
if isShowingPage then
page = page or title.prefixedText
Line 66:
 
-- Add the intro text.
local intro = '§§&thinspnbsp;'
if isShowingPage then
intro = (page or title.prefixedText) .. ' ' .. intro