Difference between revisions of "Template:Documentation/doc"

From Krafties
Jump to navigation Jump to search
m
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
This template should be added to the bottom of every template page to easily add and access it's documentation.
+
This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links. It also reduces server resources by circumventing a technical limitation of templates
 
== Usage ==
 
== Usage ==
 
<pre><noinclude>{{Documentation}}</noinclude></Pre>
 
<pre><noinclude>{{Documentation}}</noinclude></Pre>

Revision as of 10:13, 3 May 2017

This is a documentation subpage for Template:Documentation.
It contains usage information, categories and other content that is not part of the original template page.

This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links. It also reduces server resources by circumventing a technical limitation of templates

Usage

<noinclude>{{Documentation}}</noinclude>

Here is an example of how a /doc subpage setup should look like to be proper.

Categories that should be applied to the template should always go between <includeonly> and </includeonly> so they will not apply themselves to the documentation.
{{Documentation subpage}}
<!-- Categories go at the bottom of this page -->

== Usage ==

== See also ==

<includeonly>
<!-- Categories go here, and interwikis go here -->
</includeonly>

See also