Module:Documentation: Difference between revisions
Content deleted Content added
try and keep the line length down a bit |
more efficient code for the subpages link |
||
Line 326:
end
-- Show the "subpages" link.
if subjectSpace
local pagetype
text = text .. ' ' .. makeWikilink('Special:PrefixIndex/' .. templatePage .. '/', 'Subpages of this module')▼
pagetype = 'template'
elseif subjectSpace
pagetype = 'module'
else
pagetype = 'page'
end
▲ text = text .. ' ' .. makeWikilink('Special:PrefixIndex/' .. templatePage .. '/', 'Subpages of this
end
-- Show the "print" link if it exists.
|