Шаблон: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}}} | ||
| − |    |  | + |    | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }} | 
| − | + | ||
| − | + | ||
| − | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }} | + | |
|    }} |    }} | ||
| }} | }} | ||