Difference between revisions of "Template:Documentation/doc"
Jump to navigation
Jump to search
MyraMidnight (talk | contribs) m (→Usage) |
MyraMidnight (talk | contribs) m (→Usage) |
||
Line 6: | Line 6: | ||
Here is an example of how a <code>/doc</code> subpage setup should look like to be proper. | Here is an example of how a <code>/doc</code> subpage setup should look like to be proper. | ||
+ | :Categories that should be applied to the template should always go between <code><nowiki><includeonly></nowiki></code> and <code><nowiki></includeonly></nowiki></code> so they will not apply themselves to the documentation. | ||
<pre> | <pre> | ||
{{Documentation subpage}} | {{Documentation subpage}} |
Revision as of 08:47, 3 May 2017
This template should be added to the bottom of every template page to easily add and access it's documentation.
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 and interwikis go in Wikidata. --> == Usage == == See also == <includeonly> <!-- Categories go here, and interwikis go here --> </includeonly>