Template:Template other: Difference between revisions

Changing "Template" to "{{ns:Template}}". Thus slightly easier to port to other projects.
m (Protected Template:Template other: Highly visible template: Will be used in for instance {{dmbox}} used in all disambig boxes, thus very high-risk. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Changing "Template" to "{{ns:Template}}". Thus slightly easier to port to other projects.)
Line 1:
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
| template
| other
}}
}}
| template = {{{1|}}}
Line 13:
}}<!--End switch--><noinclude>
 
{{pp-template|small=yes}}
{{Documentationdocumentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
Anonymous user