Template:Documentation/doc: Difference between revisions

m -redundant whitespace
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Dochead}}{{wikipedia}}
{{Dochead}}{{substitute|no}}{{wikipedia}}{{templatestyles}}
The <code><nowiki>{{documentation}}</nowiki></code> template is used to contain information and instructions for templates and modules. Wikipedia's documentation template has modules that help render the dialog boxes, but here the box is hard-coded to simplify things.
The <code><nowiki>{{documentation}}</nowiki></code> template is used to contain information and instructions for templates and modules. Wikipedia's documentation template has modules that help render the dialog boxes, but here the box is hard-coded to simplify things.
__NOTOC__
__NOTOC__
Line 42: Line 42:
}}
}}
</pre>
</pre>
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.