FANDOM


local p = {}
 
function p.main()
	-- Nested if for less testing on 99% of pages
	local page = mw.title.getCurrentTitle()
	if page.namespace == 10 then
		if page.isSubpage and page.subpageText:lower() == 'preload' then
			return '<br /><hr />This page is a preload template. Simply click one of the template preloads from the menu in the editor and its contents will be placed on the page that you are editing.'..
			'More info on preloads can be found at this [[Template:PreloadPage/doc|documentation page]].[[Category:Preload templates]]'
		end
	else
		return ''
	end
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.