Template:Doc: Difference between revisions
Jump to navigation
Jump to search
(Added red link to doc if it doesn't exist. Added German translations.) |
mNo edit summary |
||
| Line 2: | Line 2: | ||
|#default=<span class="mw-editsection plainlinks" style=float:right><table cellspacing=0 style="width:100%;margin-bottom:-1px;"><tr> | |#default=<span class="mw-editsection plainlinks" style=float:right><table cellspacing=0 style="width:100%;margin-bottom:-1px;"><tr> | ||
{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}}} | {{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}}} | ||
|{{#if:{{{content{{uilang|/}}|}}}||<td style="border-left:1px solid;border-image:linear-gradient(0,#AAA,transparent 100%) 1;text-align:center;padding: | |{{#if:{{{content{{uilang|/}}|}}}||<td style="border-left:1px solid;border-image:linear-gradient(0,#AAA,transparent 100%) 1;text-align:center;padding:6px;background:linear-gradient(0,#323232 10%,transparent 100%)">[[{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}|{{int:view}}]]</td> | ||
<td style="text-align:center;padding: | <td style="text-align:center;padding:6px;background:linear-gradient(0,#323232 10%,transparent 100%);border-right:1px solid;border-image:linear-gradient(0,#AAA,transparent 100%)">[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}|action=edit}} {{int:edit}}]</td> | ||
<td style="text-align:center;padding: | <td style="text-align:center;padding:6px;background:linear-gradient(0,#323232 10%,transparent 100%);border-right:1px solid;border-image:linear-gradient(0,#AAA,transparent 100%) 1">[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}|action=history}} {{int:history}}]</td>}} | ||
<td style="text-align:center | <td style="text-align:center;border-bottom:1px solid"><div class="mw-collapsible mw-collapsed" id=mw-customcollapsible-doctools style="padding:0 6px">{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/sandbox}}| [[{{FULLPAGENAME}}/sandbox|{{#switch:{{uilang}}|#default=Sandbox|ru=Песоч­ница}}]] | [{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit&preload={{urlencode:{{FULLPAGENAME}}}}}} {{#switch:{{uilang}}|#default=Sandbox|ru=Песоч­ница}}]}}</div></td> | ||
<td style="text-align:center | <td style="text-align:center;border-bottom:1px solid"><div class="mw-collapsible mw-collapsed" id=mw-customcollapsible-doctools style="padding:0 6px">{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/testcases}}| [[{{FULLPAGENAME}}/testcases|{{#switch:{{uilang}}|#default=Testcase|ru=Тестиро­вание}}]] | [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} {{#switch:{{uilang}}|#default=Testcase|ru=Тестиро­вание}}]}}</div></td> | ||
|{{#if:{{{content{{uilang|/}}|}}}||<td style="text-align:center;padding:8px;background:linear-gradient(0,#323232 10%,transparent 100%);border-left:1px solid;border-right:1px solid;border-image:linear-gradient(0,#AAA,transparent 100%) 1">[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}|action=edit}} {{int:create}}]</td>}} | |{{#if:{{{content{{uilang|/}}|}}}||<td style="text-align:center;padding:8px;background:linear-gradient(0,#323232 10%,transparent 100%);border-left:1px solid;border-right:1px solid;border-image:linear-gradient(0,#AAA,transparent 100%) 1">[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}|action=edit}} {{int:create}}]</td>}} | ||
}} | }} | ||
<td style="text-align:center | <td style="text-align:center;border-bottom:1px solid"><div class="mw-collapsible mw-collapsed" id=mw-customcollapsible-doctools style="padding:0 6px">[[Special:PrefixIndex/{{FULLPAGENAME}}/|{{#switch:{{uilang}}|#default=Subpages|ru=Под­страницы|de=Unterseiten}}]]</div></td> | ||
<td style="text-align:center | <td style="text-align:center;border-bottom:1px solid"><div class="mw-collapsible mw-collapsed" id=mw-customcollapsible-doctools style="padding:0 6px">[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{#switch:{{uilang}}|#default=Purge|es=Purga|ru=Очистить кэш|zh-cn=清除缓存(刷新页面)|ka=წმენდს|de=Aktualisieren}}]</div></td> | ||
<td class="mw-customtoggle-doctools" style="padding:8px;background:linear-gradient(0,#323232 | <td class="mw-customtoggle-doctools" style="padding:8px;background:linear-gradient(0,#323232 10%,transparent 100%);border-left:1px solid;border-right:1px solid;border-image:linear-gradient(to top,#AAA,transparent 100%) 1;height:14px">'''…'''</td> | ||
</tr></table></span> | </tr></table></span> | ||
<div style="clear:both;margin-top:1em;border:1px solid #AAA;background:#323232;padding:1em"> | <div style="clear:both;margin-top:1em;border:1px solid #AAA;background:#323232;padding:1em;{{border-radius|8px 0 8px 8px}}"> | ||
<table cellspacing=0 width=100% style="margin:3px 0 10px 0;background:#323232"> | <table cellspacing=0 width=100% style="margin:3px 0 10px 0;background:#323232"> | ||
<tr><td rowspan=2 style="border-bottom:1px solid #AAA;padding-bottom:3px;font-weight:bold;font-size:125%">{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}} | <tr><td rowspan=2 style="border-bottom:1px solid #AAA;padding-bottom:3px;font-weight:bold;font-size:125%">{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}} | ||
| Line 70: | Line 70: | ||
-->{{#ifeq:{{uilang}}|he|<span style="margin:1px;border:1px solid #AAA"><span style=position:relative;top:-1px>[[File:He.png|link=|עִברִית]]</span></span>[[Category:Hebrew]]|{{#if:{{{content/he|}}}|<span style="margin:1px;border:1px solid #323232"><span style=position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}/he}}|<span style="margin:1px;border:1px solid #323232"><span style=position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>}}}}}}</td>}}</tr> | -->{{#ifeq:{{uilang}}|he|<span style="margin:1px;border:1px solid #AAA"><span style=position:relative;top:-1px>[[File:He.png|link=|עִברִית]]</span></span>[[Category:Hebrew]]|{{#if:{{{content/he|}}}|<span style="margin:1px;border:1px solid #323232"><span style=position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}/he}}|<span style="margin:1px;border:1px solid #323232"><span style=position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>}}}}}}</td>}}</tr> | ||
{{#if:{{{examples|}}}|<tr style=float:left><td class="mw-customtoggle-docexamples mw-editsection plainlinks" style="border-left:1px solid;border-right:1px solid;border-bottom:1px solid;padding:3px">{{int:apisandbox-examples}}</td></tr>< | {{#if:{{{examples|}}}|<tr style=float:left><td class="mw-customtoggle-docexamples mw-editsection plainlinks" style="border-left:1px solid;border-right:1px solid;border-bottom:1px solid;padding:3px">{{int:apisandbox-examples}}</td></tr> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-docexamples" style=" | <tr><td><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-docexamples" style="{{#if:{{{noscroll|}}}||scrollbar-width:thin;scrollbar-gutter:stable;overflow-y:auto;}}max-height:10em;position:absolute;border:1px solid #65635F;background:#242424;margin:2px 0 0 1px;padding:4px;{{border-radius|4px}}"><kbd>{{{examples}}}</kbd></div></td></tr>}} | ||
</table> | |||
{{{content{{uilang|/}}|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}}} | {{{content{{uilang|/}}|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}}} | ||
|{{:{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}}} | |{{:{{{docpage|{{FULLPAGENAME}}/doc}}}{{uilang|/}}}} | ||
| Line 85: | Line 86: | ||
|small={{#switch:{{uilang}}|#default=It should not be used for test editing. To experiment, please use your [[Special:MyPage/sandbox|user sandbox]], or the [[:Category:Sandbox pages|other sandboxes]].|ru=Не используйте её для тестовых правок. Экспериментируйте в [[Special:MyPage/sandbox|своей]] или [[:Category:Sandbox pages|других песочницах]].|de=Sie sollte nicht für Tests bearbeitet werden. Benutzer können auf ihrer [[Special:MyPage/sandbox|Benutzer-Sandbox]] oder anderen [[:Category:Sandbox pages|Sandbox-Seiten]] experimentieren.}}}} | |small={{#switch:{{uilang}}|#default=It should not be used for test editing. To experiment, please use your [[Special:MyPage/sandbox|user sandbox]], or the [[:Category:Sandbox pages|other sandboxes]].|ru=Не используйте её для тестовых правок. Экспериментируйте в [[Special:MyPage/sandbox|своей]] или [[:Category:Sandbox pages|других песочницах]].|de=Sie sollte nicht für Tests bearbeitet werden. Benutzer können auf ihrer [[Special:MyPage/sandbox|Benutzer-Sandbox]] oder anderen [[:Category:Sandbox pages|Sandbox-Seiten]] experimentieren.}}}} | ||
}}</includeonly></onlyinclude> | }}</includeonly></onlyinclude> | ||
{{doc|examples={{MdCode|oneclick|<nowiki>{{doc}}</nowiki>}}<br>{{MdCode|oneclick|<nowiki>{{doc|0}}</nowiki>}}<br>{{MdCode|oneclick|<nowiki>{{doc|1}}</nowiki>}}<br>{{MdCode|oneclick|<nowiki>{{doc|2}}</nowiki>}}}} | {{doc|noscroll=1|examples={{MdCode|oneclick|<nowiki>{{doc}}</nowiki>}}<br>{{MdCode|oneclick|<nowiki>{{doc|0}}</nowiki>}}<br>{{MdCode|oneclick|<nowiki>{{doc|1}}</nowiki>}}<br>{{MdCode|oneclick|<nowiki>{{doc|2}}</nowiki>}}}} | ||
Revision as of 20:25, 13 December 2022
| [[Template:Doc/doc |
[{{fullurl:Template:Doc/doc |
[{{fullurl:Template:Doc/doc |
… |