Difference between revisions of "Template:Documentation/doc"

From Deep Blue Robotics Wiki
Jump to: navigation, search
(expanded)
m (bugfix)
Line 2: Line 2:
 
===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 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.
<pre><noinclude>{{documentation}}</noinclude></pre>
+
<pre><nowiki><noinclude>{{documentation}}</noinclude></nowiki></pre>
  
 
===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 somewhere in the subpage; this keeps it out of [[Special:Uncategorizedpages]].
<pre><noinclude>[[Category:Documentation subpages]]</noinclude></pre>
+
<pre><nowiki><noinclude>[[Category:Documentation subpages]]</noinclude></nowiki></pre>
  
 
<!-- for the template -->
 
<!-- for the template -->

Revision as of 17:15, 28 May 2007

Usage

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.

<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>