Template:Namespace and pagename-detecting templates

From Atlas Altera