Template:Dochead: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><span style="display: {{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|none|block}}; font-size: 0.75em;"><hr />Documentation transcluded from [[/doc]]</span> {{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|[[Category:{{NAMESPACE}} documentation]]|{{#switch: {{NAMESPACE}}|Module=[[Category:Lua modules]]|#default=}}}}{{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|'''Note:''' Do not invoke this module directly. Use the corresponding template instead: {{!((}}Template:{{ROOTPAGENAME}}{{))!}}|}}</includeonly><noinclude>
<includeonly><span style="display: {{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|none|block}}; font-size: 0.75em;"><hr />Documentation transcluded from [[/doc]]</span> {{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|[[Category:{{NAMESPACE}} documentation]]|{{#switch: {{NAMESPACE}}|Module={{#ifeq: {{{header|}}|none|{{#ifeq: {{#titleparts: {{PAGENAME}}||-1}}|doc|'''Note:''' Do not invoke this module directly. Use the corresponding template instead: {{!((}}Template:{{ROOTPAGENAME}}{{))!}}|}} [[Category:Lua modules]]}}|#default=}}}}</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.