Template:Documentation/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: <code>{{((}}documentation{{))}}</code> is a template used in the the documentation section of other templates. To reduce system load, Template:Documentation should be employed as par...)
Current revision (18:39, 9 September 2016) (edit) (undo)
 
Line 1: Line 1:
<code>{{((}}documentation{{))}}</code>
<code>{{((}}documentation{{))}}</code>
-
is a template used in the the documentation section of other templates.
+
is a template used in the documentation section of other templates.
To reduce system load, [[:Template:Documentation]] should be employed
To reduce system load, [[:Template:Documentation]] should be employed

Current revision

{{documentation}} is a template used in the documentation section of other templates.

To reduce system load, Template:Documentation should be employed as part of all high-use templates.

It can be used on any template to simplify the template's appearance in the edit buffer.

It's typically used in the form:

<noinclude>{{documentation}}</noinclude><includeonly>

...

</includeonly>

The template automatically includes the documentation which is on the subpage "/Doc" of the template. Thus the template proper and the documentation are on separate pages, but the documentation is shown on the main template's page. The separation means that the documentation can be edited without modifying the template itself and without having every page that (in)directly calls the template re-evaluated.

Personal tools