Шаблон:Documentation — различия между версиями

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(add temporary param to pp-template to track usage from doc template)
м (174 версии)
 
(не показано 8 промежуточных версии 3 участников)
Строка 1: Строка 1:
 
<!--
 
<!--
  Automatically add {{template sandbox notice}} when on a /sandbox page.
 
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
 
| <div style="clear: both;"></div>{{template sandbox notice}}
 
}}<!--
 
 
   Automatically add {{pp-template}} to protected templates.
 
   Automatically add {{pp-template}} to protected templates.
 
-->{{template other
 
-->{{template other
 
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
 
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
   | {{pp-template|docusage=yes}}
+
   | {{pp-template}}
 
   | {{#if: {{PROTECTIONLEVEL:edit}}
 
   | {{#if: {{PROTECTIONLEVEL:edit}}
     | {{pp-template|docusage=yes}}
+
     | {{pp-template}}
 
     | <!--Not protected, or only semi-move-protected-->
 
     | <!--Not protected, or only semi-move-protected-->
 
     }}
 
     }}
Строка 21: Строка 17:
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
  
<!--Some namespaces must have the /doc, /sandbox and /testcases
+
<!--Some namespaces must have the /doc in talk space-->
    in talk space-->
+
 
| docspace =
 
| docspace =
 
   {{#switch: {{SUBJECTSPACE}}
 
   {{#switch: {{SUBJECTSPACE}}
Строка 30: Строка 25:
 
   | {{ns:Category}} = {{TALKSPACE}}
 
   | {{ns:Category}} = {{TALKSPACE}}
 
   | #default = {{SUBJECTSPACE}}
 
   | #default = {{SUBJECTSPACE}}
 +
  }}
 +
 +
<!--For debug purposes-->
 +
| not-docspace =
 +
  {{#switch: {{SUBJECTSPACE}}
 +
  | {{ns:0}}
 +
  | {{ns:File}}
 +
  | {{ns:MediaWiki}}
 +
  | {{ns:Category}} = {{SUBJECTSPACE}}
 +
  | #default = {{TALKSPACE}}
 
   }}
 
   }}
  

Текущая версия на 20:17, 25 мая 2015

30px Template documentation[create]