Template:Template other: Difference between revisions

m
1 revision imported from loginwiki:Template:Template_other: Updating template with latest edits from loginwiki
(Creating this namespace detecting template. Based on my code from {{category other}} and {{main other}} etc.)
 
(username removed)
m (1 revision imported from loginwiki:Template:Template_other: Updating template with latest edits from loginwiki)
 
(10 intermediate revisions by 8 users not shown)
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>
 
{{documentation}}
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
(username removed)