Difference between revisions of "Template:Doc/doc"

From I2P Wiki
Jump to navigation Jump to search
(documenttation subpage is created)
 
m (correction)
 
Line 6: Line 6:
 
: <code><nowiki><noinclude>{{doc}}</noinclude></nowiki></code>
 
: <code><nowiki><noinclude>{{doc}}</noinclude></nowiki></code>
 
To include in the page of some template the <code>doc</code> subpage of another template, write at the end of the code of the first one:
 
To include in the page of some template the <code>doc</code> subpage of another template, write at the end of the code of the first one:
: <code><nowiki><noinclude>{{doc|Template:Another template/doc}}</nowiki></code>
+
: <code><nowiki><noinclude>{{doc|Template:Another template}}</nowiki></code>
   
 
== See also ==
 
== See also ==

Latest revision as of 11:56, 8 November 2020

This template is used in other tempates to include the documentation subpage.

Usage

To include in the page of some template its doc subpage, write at the end of the code of that template:

<noinclude>{{doc}}</noinclude>

To include in the page of some template the doc subpage of another template, write at the end of the code of the first one:

<noinclude>{{doc|Template:Another template}}

See also