Template:Documentation subpage: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
create
 
update for modules
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|
<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|
<div class="doc-subpage">
{{page notice
This is the documentation subpage for [[{{#titleparts:{{FULLPAGENAME}}|-1}}]]. It contains information about the template, such as usage and categories, and is not included in the template itself.
|type=documentation
</div>
|noedit=x
[[Category:Template documentation]]
|description=contains the documentation for [[{{#titleparts:{{FULLPAGENAME}}|-1}}]]. It includes information about the {{lc:{{NAMESPACE}}}}, such as usage and categories, and is not displayed when using the {{lc:{{NAMESPACE}}}} itself.
}}[[Category:{{NAMESPACE}} documentation]]
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 13:14, 1 August 2020

Documentation [edit]

This template should be added at the top of all template and module documentation subpages. It explains their purpose and categorizes them. There are no parameters. Its complement is {{documentation}} placed on the template page in noinclude tags (this is done automatically for modules).

The above documentation is transcluded from Template:Documentation subpage/doc.