Template:Namespace detect showall
From RouteWiki
{{#switch:
{{#switch: {{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }} | showall = showall | main | = | talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | book = | other | #default = }}
| 1 = | 2 = | 3 = | 4 = | 5 = | 6 = | showall = }}