Шаблон:Documentation — различия между версиями
Материал из Аэроскан Сервис
м (1 revision from w:Template:Documentation: For History of Hong Kong) |
(add temporary param to pp-template to track usage from doc template) |
||
| Строка 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}} | + | | {{pp-template|docusage=yes}} |
| {{#if: {{PROTECTIONLEVEL:edit}} | | {{#if: {{PROTECTIONLEVEL:edit}} | ||
| − | | {{pp-template}} | + | | {{pp-template|docusage=yes}} |
| <!--Not protected, or only semi-move-protected--> | | <!--Not protected, or only semi-move-protected--> | ||
}} | }} | ||
| Строка 17: | Строка 21: | ||
| link box = {{{link box|}}} <!--So "link box=off" works--> | | link box = {{{link box|}}} <!--So "link box=off" works--> | ||
| − | <!--Some namespaces must have the /doc in talk space--> | + | <!--Some namespaces must have the /doc, /sandbox and /testcases |
| + | in talk space--> | ||
| docspace = | | docspace = | ||
{{#switch: {{SUBJECTSPACE}} | {{#switch: {{SUBJECTSPACE}} | ||
| Строка 25: | Строка 30: | ||
| {{ns:Category}} = {{TALKSPACE}} | | {{ns:Category}} = {{TALKSPACE}} | ||
| #default = {{SUBJECTSPACE}} | | #default = {{SUBJECTSPACE}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
Версия 10:59, 3 октября 2010