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

Материал из Колыбели Солнца
Перейти к навигации Перейти к поиску
en>Amalthea
(Added purge link, per talk page)
en>Davidgothberg
(Adding a space between [edit] and [purge], as in the /sandbox example by Thinboy00. Looks much better.)
Строка 17: Строка 17:
   |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
   |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
   |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
   |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
     |<!--**    /doc EXISTS**  -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]][{{purge|purge}}]  
     |<!--**    /doc EXISTS**  -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] [{{purge|purge}}]  
     |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
     |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
   }}</span>
   }}</span>

Версия 17:09, 17 марта 2009

{{#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}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:Шаблон:Documentation/docname | {{ Шаблон:Documentation/docname }} }}}}

Шаблон:Pp-template