Diff: Template:Template other
Comparing revision #1 (2018-12-16 22:06:25) with revision #2 (2023-02-02 05:25:37).
| Old | New |
|---|---|
{{#switch: |
{{#switch: |
<!--If no or empty "demospace" parameter then detect namespace--> |
<!--If no or empty "demospace" parameter then detect namespace--> |
{{#if:{{{demospace|}}} |
{{#if:{{{demospace|}}} |
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> |
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> |
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}} |
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}} |
| template |
| template |
| other |
| other |
}} |
}} |
}} |
}} |
| template = {{{1|}}} |
| template = {{{1|}}} |
| other |
| other |
| #default = {{{2|}}} |
| #default = {{{2|}}} |
}}<!--End switch--><noinclude> |
}}<!--End switch--><noinclude> |
{{documentation}} |
{{documentation}} |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
</noinclude> |
</noinclude> |