Template:Namespace detect
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:template| | main | {{#ifeq:template|discussioni template | talk | template }} }} }}
| main = | talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | other | #default =
}}