Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
change order
doesn't make sense
Line 163:
end
local parse_pt = function(text) -- function to replace _PAGETYPE_ with the actual page type
local ptype = article and 'article' or pagetype -- display "article" for articles otherwise page type "set index article"
return text and text:gsub('_PAGETYPE_', ptype)
end