Відмінності між версіями «Шаблон: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}}

Версія за 23:20, 5 лютого 2010

Шаблон:Fmbox