dtype.org
Log in

Difference between revisions of "Template:Template other"

From dtype.org
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)))
m (6 revisions imported: import from wikipedia Div Col)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{#switch:
 
{{#switch:
 
   <!--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}}|Template
+
   | {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
 
     | template
 
     | template
 
     | other
 
     | other
     }}  
+
     }}
 
   }}
 
   }}
 
| template = {{{1|}}}
 
| template = {{{1|}}}
Line 13: Line 13:
 
}}<!--End switch--><noinclude>
 
}}<!--End switch--><noinclude>
  
{{pp-template|small=yes}}
+
{{documentation}}
{{Documentation}}
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 21:42, 3 July 2020

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = | other | #default = }}

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}