Template:Template other: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
创建页面,内容为“{{#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|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>”
 
m Text replacement - " {{lc:" to "{{lc:"
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
   <!--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

Latest revision as of 21:51, 12 April 2025


[ View | Edit | History | Purge ]Documentation page

这是一个元模板,它可以帮助其他模板检测它们是否在“Template:”命名空间中使用。

[ View | Edit | History | Purge ]The above documentation is transcluded from Template:Template other/doc.