MediaWiki

MediaWiki:Apihelp-query+templates-param-namespace

From Unusual Haunts

Show templates in these namespaces only.