Відмінності між версіями «Шаблон: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:11, 25 травня 2015