Шаблон:Documentation — различия между версиями
Материал из Аэроскан Сервис
(add temporary param to pp-template to track usage from doc template) |
Admin (обсуждение | вклад) м (174 версии) |
||
| (не показано 8 промежуточных версии 3 участников) | |||
| Строка 1: | Строка 1: | ||
<!-- | <!-- | ||
| − | |||
| − | |||
| − | |||
| − | |||
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 | + | | {{pp-template}} |
| {{#if: {{PROTECTIONLEVEL:edit}} | | {{#if: {{PROTECTIONLEVEL:edit}} | ||
| − | | {{pp-template | + | | {{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 | + | <!--Some namespaces must have the /doc 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