Template:Dochead/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 11: Line 11:
'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[mw:Help:Magic words#Page names|Template:ROOTPAGENAME]].
'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[mw:Help:Magic words#Page names|Template:ROOTPAGENAME]].


where <code>ROOTPAGENAME</code> refers to the name of the page without the namespace or subpages. This way, the link in the header will attempt to point to a template with the same name as the module. If the template which calls the module has a different name, pass in <code>temp=</code> followed by the name of the template.
where <code>ROOTPAGENAME</code> refers to the name of the page without the namespace or subpages.
 
This way, the link in the header will attempt to point to a template with the same name as the module, since this is mostly the case. If the template which calls the module has a different name, pass in <code>temp=</code> followed by the name of the template.


=== See also ===
=== See also ===