Open main menu

Difference between revisions of "Template:Template other"

en>Davidgothberg
(Creating this namespace detecting template. Based on my code from {{category other}} and {{main other}} etc.)
 
(Blanked the page)
Tag: Blanking
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#switch:
 
  <!--If no or empty "demospace" parameter then detect namespace-->
 
  {{#if:{{{demospace|}}}
 
  | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
 
  | {{#ifeq:{{NAMESPACE}}|Template
 
    | template
 
    | other
 
    }}
 
  }}
 
| template = {{{1|}}}
 
| other
 
| #default = {{{2|}}}
 
}}<!--End switch--><noinclude>
 
  
{{pp-template|small=yes}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 01:50, 10 September 2019