Difference between revisions of "Template:Documentation/doc"

From Deep Blue Robotics Wiki
Jump to: navigation, search
(bugfix (we~ird))
m (tweaks)
Line 1: Line 1:
 
==Usage==
 
==Usage==
 
===On template (or other) pages===
 
===On template (or other) pages===
This template automatically displays a "(Namespace) documentation" box like you are seeing now. Simply place the following code on the template page, and edit the documentation page (click the "[edit]" link after you save) where you can put instructions, categories, et cetera.
+
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.
 
<pre>&lt;noinclude&gt;{{documentation}}&lt;/noinclude&gt;</pre>
 
<pre>&lt;noinclude&gt;{{documentation}}&lt;/noinclude&gt;</pre>
  
Line 9: Line 9:
  
 
<!-- for the subpage -->
 
<!-- for the subpage -->
<noinclude>[[Category:Documentation pages]]</noinclude>
+
<noinclude>[[Category:Documentation subpages]]</noinclude>
  
  

Revision as of 17:21, 28 May 2007

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 somewhere in the subpage; this keeps it out of Special:Uncategorizedpages.

<noinclude>[[Category:Documentation subpages]]</noinclude>