Difference between revisions of "Template:Documentation/doc"

From Deep Blue Robotics Wiki
Jump to: navigation, search
m (tweaks)
(+ {{documentation subpage}})
Line 1: Line 1:
 +
<noinclude>{{documentation subpage}}</noinclude>
 +
 
==Usage==
 
==Usage==
 
===On template (or other) pages===
 
===On template (or other) pages===
Line 5: Line 7:
  
 
===On documentation subpages===
 
===On documentation subpages===
Please add the following code somewhere in the subpage; this keeps it out of [[Special:Uncategorizedpages]].
+
Please add the following code at the top of the subpage; this keeps it out of [[Special:Uncategorizedpages]] and links back to the main page.
<pre>&lt;noinclude&gt;[[Category:Documentation subpages]]&lt;/noinclude&gt;</pre>
+
<pre>&lt;noinclude&gt;{{documentation subpage}}&lt;/noinclude&gt;</pre>
 
+
<!-- for the subpage -->
+
<noinclude>[[Category:Documentation subpages]]</noinclude>
+
 
+
  
 
<!-- for the template -->
 
<!-- for the template -->

Revision as of 21:11, 28 June 2007

Template:Documentation subpage

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; this keeps it out of Special:Uncategorizedpages and links back to the main page.

<noinclude>{{documentation subpage}}</noinclude>