Шаблон:Documentation/core — различия между версиями

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
м (Reverted edits by 109.151.161.64 (talk) to last version by Darklama)
м (fixed location of header links)
Строка 6: Строка 6:
 
| <!--Defined but empty-->
 
| <!--Defined but empty-->
 
| <!--"heading=", do nothing-->
 
| <!--"heading=", do nothing-->
| <div style="padding-bottom: 3px; border-bottom:thin solid #aaddff; margin-bottom:1ex;">{{#if: {{{content|}}}
+
| <div style="padding-bottom: 3px; border-bottom:thin solid #aaddff; margin-bottom:1ex;"><span style="{{#if: {{{heading-style|}}}
|
+
| <!--Add the [edit][purge] or [create] links-->
+
<span class="editsection plainlinks" id="doc_editlinks">{{#if: {{{doc exist|yes}}}
+
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]
+
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit&preload=Template:Documentation/preload}} create]]
+
}}</span>
+
}} <span style="{{#if: {{{heading-style|}}}
+
 
| {{{heading-style|}}}
 
| {{{heading-style|}}}
 
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
 
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
Строка 30: Строка 23:
 
<!--"heading" has data or is empty but defined-->
 
<!--"heading" has data or is empty but defined-->
 
{{{heading|}}}
 
{{{heading|}}}
}}</span></div>
+
}}</span>{{#if: {{{content|}}}
 +
|
 +
| <!--Add the [edit][purge] or [create] links-->
 +
<span class="mw-editsection plainlinks" id="doc_editlinks">{{#if: {{{doc exist|yes}}}
 +
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]
 +
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit&preload=Template:Documentation/preload}} create]]
 +
}}</span>
 +
}}</div>
 
}}<!--
 
}}<!--
 
Load the /doc content:
 
Load the /doc content:

Версия 01:19, 3 мая 2014