Difference between revisions of "Template:Documentation/doc"
From Deep Blue Robotics Wiki
(save 10 more bytes) |
(removed "Pre-expand include size" (see talk page), + {{shortcut}} instead) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
+ | {{shortcut|{{[[template:doc|doc]]}}}} | ||
==Usage== | ==Usage== | ||
Line 7: | Line 8: | ||
===On documentation subpages=== | ===On documentation subpages=== | ||
− | |||
Please add the following code at the top of the subpage to put it in [[:Category:Documentation subpages]]; this keeps it out of [[Special:Uncategorizedpages]] and links back to the main page. | Please add the following code at the top of the subpage to put it in [[:Category:Documentation subpages]]; this keeps it out of [[Special:Uncategorizedpages]] and links back to the main page. | ||
<pre><noinclude>{{documentation subpage}}</noinclude></pre> | <pre><noinclude>{{documentation subpage}}</noinclude></pre> | ||
Line 17: | Line 17: | ||
[[Category:Formatting templates|Template documentation]] | [[Category:Formatting templates|Template documentation]] | ||
</includeonly> | </includeonly> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== | ||
*{{mlww|Template documentation}} | *{{mlww|Template documentation}} |
Revision as of 19:53, 4 July 2007
Template:Documentation subpage Template:Shortcut
Usage
On template (or other) pages
This template displays a "(Namespace) documentation" box like the one you are seeing now. Place the following code on the template (or other) page, and edit the documentation page (click the "[edit]" link after you save) where you can put instructions, categories, et cetera.
<noinclude>{{documentation}}</noinclude>
On documentation subpages
Please add the following code at the top of the subpage to put it in Category:Documentation subpages; this keeps it out of Special:Uncategorizedpages and links back to the main page.
<noinclude>{{documentation subpage}}</noinclude>
Typically documentation subpages are not also put in the categories in which the page the documentation refers to is put.