Module:Favilink: Difference between revisions

Jump to navigation Jump to search
12 bytes removed ,  16:02, 5 February 2021
util compatibility
mNo edit summary
(util compatibility)
Line 48: Line 48:


if result ~= nil then
if result ~= nil then
   name = result[1]['PlainName']
   name = result['PlainName']
else
else
   return '[[' .. name.. ']][[Category:pages with favilink errors]]'
   return '[[' .. name.. ']][[Category:pages with favilink errors]]'
end
end


local pagelink = result[1]['Page'] or name
local pagelink = result['Page'] or name
local displayname = result[1]['DisplayName'] or name
local displayname = result['DisplayName'] or name
local displayimg = result[1]['Display']
local displayimg = result['Display']


--[Setting display name modifiers...]
--[Setting display name modifiers...]

Navigation menu