Template:Documentation/doc: Difference between revisions

ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
Line 28: Line 28:
</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>&lt;p&gt;</code>) element:
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>&lt;p&gt;</code>) element since otherwise the MediaWiki parser may fail to render the paragraphs correctly:


<pre>
<pre>
Line 42: Line 42:
</pre>
</pre>


Wikipedia has {{w|Module:Documentation}} which takes care of things automatically, but here, this is used as a workaround to avoid the need for modules.
Wikipedia has {{w|Module:Documentation}} which takes care of things automatically, but here, these are used as workarounds to avoid the need for modules.


=== See also ===
=== See also ===
* [[Template:Dochead]] – used to categorise and add appropriate headers onto documentation pages.
* [[Template:Dochead]] – used to categorise and add appropriate headers onto documentation pages.