Difference between revisions of "Template:Template other"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (3 revisions)
(Creating this namespace detecting template. Based on my code from {{category other}} and {{main other}} etc.)
(8 intermediate revisions by 5 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}}|{{ns:Template}}
+
   | {{#ifeq:{{NAMESPACE}}|Template
 
     | template
 
     | template
 
     | other
 
     | other
     }}
+
     }}  
 
   }}
 
   }}
 
| template = {{{1|}}}
 
| template = {{{1|}}}
Line 13: Line 13:
 
}}<!--End switch--><noinclude>
 
}}<!--End switch--><noinclude>
  
{{documentation}}
+
{{pp-template|small=yes}}
 +
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 00:14, 6 February 2009


Documentation icon Template documentation[create]