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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Adding an empty <div> followed by a line break, so headings at start of /doc are interpreted by MediaWiki. Thanks Svick for the bug report.)
(The empty div gave extra newlines sometimes. A line break before the if-case is better, and it fixes it for "content" input too. This is how the old version of {{documentation}} did it.)
Строка 34: Строка 34:
 
}}<!--
 
}}<!--
 
   Load the /doc content:
 
   Load the /doc content:
-->{{#if: {{{content|}}}
+
  Note: The line break between this comment and the if-case
 +
  is necessary, it makes it so "=== Headings ===" at
 +
  start of docs are interpreted.
 +
-->
 +
{{#if: {{{content|}}}
 
| {{{content|}}}
 
| {{{content|}}}
 
| {{#if: {{{doc exist|yes}}}
 
| {{#if: {{{doc exist|yes}}}
   | <!--Empty div followed by a line break necessary
+
   | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}
        so "=== Headings ===" at start of /doc are interpreted-->
+
<div></div>
+
{{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}
+
 
   }}
 
   }}
 
}}
 
}}

Версия 08:40, 6 февраля 2010

Шаблон:Fmbox

Шаблон:Pp-template