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