Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
subjectPageTitle
No edit summary
Line 11:
end
local function wikilink = function(link, display)
if display then
return '[[' .. link .. '|' .. display .. ']]'
Line 30:
end
 
local function if_exists = function(target, fallback) -- function to add wikilink if target exists
local title = mw.title.new(target)
if title and title.exists then
Line 165:
local project_talk = wikilink(project_link.talkPageTitle.prefixedText,'the discussion')
local assessment_cat = args.ASSESSMENT_CAT or project .. ' articles'
local function primary_image = function(image_name, image_size)
local cell = mw.html.create('td')
if image_name and image_name ~= '' then