Template:Dochead: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#ifeq: {{trim|{{lc:{{#titleparts: {{FULLPAGENAME}}||-1}}}}}}|doc|[[Category:{{NAMESPACE}} documentation]]|<hr /><span style="font-size: 75%;">Documentation transcluded from [[/doc]]</span><br />{{#ifeq: {{lc:{{NAMESPACE}}}}|module|{{#ifeq: {{{header|}}}|none||{{{header|'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[Template:{{#if: {{{temp|}}}|{{ROOTPAGENAME:{{{temp}}}}}|{{ROOTPAGENAME}}}}]].<br />}}}}}[[Category:Lua modules]]}}}}</includeonly><noinclude>
<includeonly>{{#ifeq: {{trim|{{lc:{{#titleparts: {{FULLPAGENAME}}||-1}}}}}}|doc|[[Category:{{NAMESPACE}} documentation]]|<hr /><span style="font-size: 0.75em;">Documentation transcluded from [[/doc]]</span><br />{{#ifeq: {{lc:{{NAMESPACE}}}}|module|{{#ifeq: {{{header|}}}|none||{{{header|'''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.