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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Adding some stuff to the noinclude area.)
(If "content" fed, don't link the /doc page. (Good thing I do detailed testing.))
Строка 57: Строка 57:
 
   | style = background-color: #ecfcf4;
 
   | style = background-color: #ecfcf4;
 
   | text =  
 
   | text =  
     ''{{#if: {{{doc exist|yes}}}
+
     ''{{#if: {{{content|}}}
    | <!--/doc exists-->
+
    |  <!--Don't link the /doc page-->
      The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
+
    | {{#if: {{{doc exist|yes}}}
 +
      | <!--/doc exists, link to it-->
 +
        The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
 +
      }}
 
     }}<!--  
 
     }}<!--  
      Add links to /sandbox and /testcases when appropriate  
+
        Add links to /sandbox and /testcases when appropriate  
 
  -->{{#switch: {{SUBJECTSPACE}}
 
  -->{{#switch: {{SUBJECTSPACE}}
 
     | {{ns:User}}
 
     | {{ns:User}}

Версия 00:20, 6 февраля 2010

Шаблон:Fmbox