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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Undid revision 390426456 by Plastikspork (talk) Didn't fix the problem :()
м (174 версии)
 
(не показано 5 промежуточных версии 2 участников)
Строка 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-->
 
     }}
 
     }}
Строка 16: Строка 12:
 
   Start of green doc box.
 
   Start of green doc box.
 
-->{{documentation/core2
 
-->{{documentation/core2
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading-style = {{{heading-style|}}}
 
| heading-style = {{{heading-style|}}}
Строка 22: Строка 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}}
Строка 31: Строка 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}}
 
   }}
 
   }}
  

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

30px Template documentation[create]