Jump to content

Template:Documentation subpage/doc: Difference between revisions

From LabVIEW Wiki
Add noinclude tags for usage examples
m Fix category names
 
Line 2: Line 2:
Marks a page as documentation subpage to a template. It should be applied to all /doc pages for templates.
Marks a page as documentation subpage to a template. It should be applied to all /doc pages for templates.


All pages marked with this template are placed in the [[:Category:documentation subpage|documentation subpage]] category.
All pages marked with this template are placed in the [[:Category:template documentation|template documentation]] category.


The template documented should include the corresponding [[:Template:documentation|documentation]] template.
The template documented should include the corresponding [[:Template:documentation|documentation]] template.

Latest revision as of 16:49, 2 August 2024

This is the documentation page for Template:Documentation subpage.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

Marks a page as documentation subpage to a template. It should be applied to all /doc pages for templates.

All pages marked with this template are placed in the template documentation category.

The template documented should include the corresponding documentation template.

Usage

The template must be placed inside <noinclude></noinclude> tags to avoid transcluding categories into the template.

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

This is the documentation page for Template:Documentation subpage.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

Optionally, the name of the page documented by the article can be specified.

<noinclude>{{documentation subpage|[[:Template:documentation subpage]]}}</noinclude>

This is the documentation page for Template:documentation subpage.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.