Template:Dochead: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|[[Category:{{NAMESPACE}} documentation]]|<hr /><span style="font-size: 0.75em;">Documentation transcluded from [[/doc]]</span><br />{{#ifeq: {{NAMESPACE}}|Module|{{#ifeq: {{{header|}}}|none||'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].<br />}}[[Category:Lua modules]]}}}}</includeonly><noinclude>
<includeonly>{{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|[[Category:{{NAMESPACE}} documentation]]|<hr /><span style="font-size: 0.75em;">Documentation transcluded from [[/doc]]</span><br />{{#ifeq: {{NAMESPACE}}|Module|{{#ifeq: {{{header|}}}|none||'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[Template:{{#if: {{{temp|}}}|{{ROOTPAGENAME:{{{temp}}}|{{ROOTPAGENAME}}}}]].<br />}}[[Category:Lua modules]]}}}}</includeonly><noinclude>
This template inserts a header into documentation pages and categorizes documentation by namespace.
This template inserts a header into documentation pages and categorizes documentation by namespace.