Template:Namespace and pagename-detecting templates

From Encyc