Template:Documentation/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 19: | Line 19: | ||
On pages consisting of exclusively code (modules, CSS, JS, etc), place this template on the <code>/doc</code> subpage and pass the notes, along with {{tlx|dochead}}, in as the first unnamed parameter: | On pages consisting of exclusively code (modules, CSS, JS, etc), place this template on the <code>/doc</code> subpage and pass the notes, along with {{tlx|dochead}}, in as the first unnamed parameter: | ||
{{escape notice}} | {{escape notice}} | ||
<pre> | <pre> | ||
Line 27: | Line 27: | ||
}} | }} | ||
</pre> | </pre> | ||
Additionally, when {{tlx|lua}} is used on a module documentation page to indicate dependencies, the first paragraph paragraph of text after the Lua banner may need to be encased in its own paragraph (<code><p>)</code> element: | |||
<pre> | <pre> | ||
Line 32: | Line 34: | ||
{{dochead}}{{lua|...|...|}} | {{dochead}}{{lua|...|...|}} | ||
<p>Paragraph 1</p> | <p>Paragraph 1</p> | ||
Paragraph 2 | |||
Paragraph 3 | |||
... | ... | ||
}} | }} |