Template:Documentation/core: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Davidgothberg 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. |
imported>Davidgothberg 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. |
||
Line 34: | Line 34: | ||
}}<!-- |
}}<!-- |
||
Load the /doc content: |
Load the /doc content: |
||
Note: The line break between this comment and the if-case |
|||
⚫ | |||
is necessary, it makes it so "=== Headings ===" at |
|||
⚫ | |||
--> |
|||
⚫ | |||
| {{{content|}}} |
| {{{content|}}} |
||
| {{#if: {{{doc exist|yes}}} |
| {{#if: {{{doc exist|yes}}} |
||
⚫ | |||
| <!--Empty div followed by a line break necessary |
|||
⚫ | |||
<div></div> |
|||
⚫ | |||
}} |
}} |
||
}} |
}} |
Revision as of 06:40, 6 February 2010
The above documentation is transcluded from Template:Documentation/core/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. |