Template:Documentation: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(hmm)
(hide in MW namespace)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{SUBPAGENAME}}|doc|
<div class="doc-subpage">
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.
</div>[[Category:Template documentation]]
|
{{#ifeq:{{{1}}}|subpage||
<div class="template-doc">
<div class="template-doc">
<span style="font-size:150%;">Documentation</span>
<span class="plainlinks"><nowiki>[</nowiki>[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]<nowiki>]</nowiki></span>
<span class="plainlinks"><nowiki>[</nowiki>[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]<nowiki>]</nowiki></span>
<span style="font-size:150%;">Documentation</span>
<div>{{if ns|MediaWiki||{{/doc}}}}</div>
<div>
''The above documentation is transcluded from [[{{FULLPAGENAME}}/doc]].''
{{/doc}}
</div>
</div>__NOEDITSECTION__
</div>__NOEDITSECTION__
}}}}

Latest revision as of 03:51, 21 August 2020

Documentation [edit]

This template should be used on all template pages to display and format the template's documentation. If the documentation does not exist, the template should be used anyway to link to it and add it to WantedTemplates. There are no parameters. Template categories should be added to the documentation page, not the template page.

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