Шаблон:Documentation: различия между версиями
Перейти к навигации
Перейти к поиску
en>MSGJ (hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki) |
en>Davidgothberg (Adding automatic adding of {{template sandbox notice}} when on a /sandbox page. See talkpage section "Request".) |
||
| Строка 1: | Строка 1: | ||
<!--Automatically add {{pp-template}} to protected templates. | <!-- | ||
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. | |||
-->{{template other | -->{{template other | ||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | ||
Версия 06:10, 19 января 2010
{{#ifeq: Documentation | sandbox
|
Шаблон:Template sandbox notice }}Шаблон:Template other
{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: Шаблон:Documentation/docname
|[[{{fullurl:Шаблон:Documentation/docname|action=edit}} edit]] [[[:Шаблон:Purge]]]
|[[{{fullurl:Шаблон:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
}}
}} {{#if:|{{{heading}}}|{{#ifeq:Шаблон|Шаблон|Файл:Template-info.svg Template documentation|Documentation}}}}{{#ifexist: Шаблон:Documentation/docname
|This documentation is transcluded from [[Шаблон:Documentation/docname]]. ([{{fullurl:Шаблон:Documentation/docname|action=edit}} edit] | [{{fullurl:Шаблон:Documentation/docname|action=history}} history])
}}Шаблон:Documentation/links
{{#if:|{{{content}}}|{{#ifexist:Шаблон:Documentation/docname | {{ Шаблон:Documentation/docname }} }}}}