Відмінності між версіями «Шаблон:Template other»

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
м (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)))
(Changing "Template" to "{{ns:Template}}". Thus slightly easier to port to other projects.)
Рядок 1: Рядок 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|}}}
Рядок 13: Рядок 13:
 
}}<!--End switch--><noinclude>
 
}}<!--End switch--><noinclude>
  
{{pp-template|small=yes}}
+
{{pp-template}}
{{Documentation}}
+
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Версія за 04:58, 13 березня 2009


Шаблон:Pp-template

30px Template documentation[create]