Difference between revisions of "Template:When on template page"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Import from Wikipedia (CC BY-SA license))
 
(Import from Wikipedia (CC BY-SA license). (Replace with correct version))
 
Line 1: Line 1:
{{#switch:
+
#redirect [[Template:Template other]]
  <!--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}}
+
[[Category:Template namespace templates]]
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
[[Category:Namespace manipulation templates]]
</noinclude>
 

Latest revision as of 22:42, 30 May 2015