Module:Sprite: Difference between revisions

Jump to navigation Jump to search
m
Also attempt to prefix with section (hey look, an actual use for this)
m (it'stoolateineedtogotosleep)
m (Also attempt to prefix with section (hey look, an actual use for this))
Line 315: Line 315:
parentDiv:wikitext(link:sub( 1,#link-1 ) .. '|')
parentDiv:wikitext(link:sub( 1,#link-1 ) .. '|')
else
else
parentDiv:wikitext('[[' .. link .. '|')
if string.find(link,"#") == 1 then
parentDiv:wikitext('[[' .. self.__source.ids[itemName].section .. link .. '|')
else
parentDiv:wikitext('[[' .. link .. '|')
end
end
end
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu