Module:GAN link and Module:GAN link/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
fix error message for bad nomination page titles |
Create sandbox version of Module:GAN link; make less verbose |
||
Line 82: | Line 82: | ||
-- Formatting parameters |
-- Formatting parameters |
||
local hasIcon = not not args.icon |
|||
local isItalic = not not args.i |
|||
-- Output |
-- Output |
||
local ret = {} |
local ret = {} |
||
if |
if args.icon then |
||
ret[#ret + 1] = getGANIcon() |
ret[#ret + 1] = getGANIcon() |
||
end |
end |
||
Line 94: | Line 92: | ||
formattedArticle = formattedArticle, |
formattedArticle = formattedArticle, |
||
display = display, |
display = display, |
||
isItalic = |
isItalic = args.i |
||
} |
} |
||
ret[#ret + 1] = string.format( |
ret[#ret + 1] = string.format( |