Template:Namespace detect showall
From ETCwiki
Jump to navigationJump to search
{{#switch:
{{#switch: {{#if: | {{{demospace}}} | {{#ifeq:template| | main | {{#ifeq:template|template talk | talk | template }} }} }} | showall = showall | main = | talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | other | #default = }}
| 1 = | 2 = | 3 = | 4 = | 5 = | 6 = | showall = }}
{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: {{#switch: Namespace detect showall
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Namespace detect showall/doc
}}
|[[{{fullurl:{{#switch: Namespace detect showall |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}}|action=edit}} edit]] [purge]
|[[{{fullurl:{{#switch: Namespace detect showall |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
{{#ifexist: {{#switch: Namespace detect showall
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}}
|This documentation is transcluded from [[{{#switch: Namespace detect showall |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}}]]. ([{{fullurl:{{#switch: Namespace detect showall
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Namespace detect showall
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}}|action=history}} history])
}}{{#switch: Namespace detect showall |sandbox|testcases= |#default= {{#switch: Template |Template |User= {{#ifexist: Template:Namespace detect showall/sandbox |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: Template:Namespace detect showall/testcases |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Namespace detect showall/testcases |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:|{{{content}}}|{{#ifexist:{{#switch: Namespace detect showall
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}} | {{ {{#switch: Namespace detect showall
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Namespace detect showall/doc
}} }} }}}}