Шаблон:Documentation: различия между версиями
Перейти к навигации
Перейти к поиску
en>Gurch м |
en>Gurch м |
||
| Строка 38: | Строка 38: | ||
|#default={{ | |#default={{ | ||
#switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} | #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} | ||
|{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases --> | |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->{{ | ||
#ifexist: {{ #rel2abs: /sandbox }} | #ifexist: {{ #rel2abs: /sandbox }} | ||
|<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ | |<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ | ||
Версия 20:53, 22 ноября 2007
{{ #ifeq: Documentation | sandbox
| Шаблон:Template sandbox notice | Шаблон:Pp-semi-template
}} Шаблон:Intricate {{
#ifeq: Шаблон:Documentation | Template:Documentation |
}}
{{
#if: Documentation|
{{
#ifexist: Шаблон:Documentation/docname |[[{{fullurl:Шаблон:Documentation/docname}} view]] [[{{fullurl:Шаблон:Documentation/docname|action=edit}} edit]] |{{ #if: | |[[{{fullurl:Шаблон:Documentation/docname|action=edit&preload=Template:Documentation/preload}} edit]] }}}} Documentation
|}}
{{
#ifeq: show | show
|{{
#ifexist: Шаблон:Documentation/docname
|This documentation is transcluded from [[Шаблон:Documentation/docname]]. ([{{fullurl:Шаблон:Documentation/docname|action=edit}} edit] | [{{fullurl:Шаблон:Documentation/docname|action=history}} history])
|
}}
|
}}{{
#switch: Documentation
|sandbox=
|testcases=
|#default={{
#switch: Шаблон/show
|Шаблон/show|Участник/show={{
#ifexist: {{ #rel2abs: /sandbox }}
|This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{
#ifexist: {{ #rel2abs: /testcases }}
|and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.
| for editors to experiment.}}
|{{
#ifexist: {{ #rel2abs: /testcases }}
|This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.
|}}
}}
|
}}
}}{{ {{ #ifexist: Шаблон:Documentation/docname | Шаблон:Documentation/docname | ns:0 }} }}