Template:Doc/end: Difference between revisions
fixed internal linking of the documentation when using a template for a module |
fixed issue with " ifexist " creating wanted pages -> used recommended workaround from Extension ParserFunctions help page |
||
Line 4: | Line 4: | ||
-->{{#ifeq: {{SUBPAGENAME}} | doc |<!-- | -->{{#ifeq: {{SUBPAGENAME}} | doc |<!-- | ||
--><p style="margin: 0">This is the documentation page, it should be transcluded into the main template page. See [[Template:Doc]] for more information.</p>[[Category:Template documentation|{{BASEPAGENAME}}]] |<!-- | --><p style="margin: 0">This is the documentation page, it should be transcluded into the main template page. See [[Template:Doc]] for more information.</p>[[Category:Template documentation|{{BASEPAGENAME}}]] |<!-- | ||
--><p class="plainlinks" style="margin: 0">The above documentation is transcluded from {{# | --><p class="plainlinks" style="margin: 0">The above documentation is transcluded from {{#if:{{PROTECTIONEXPIRY:edit|Module:{{ROOTPAGENAME}}}}|[[Module:{{ROOTPAGENAME}}/doc]]|[[{{FULLPAGENAME}}/doc]]}}. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] | [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></p> }}<!-- | ||
--></div></includeonly><noinclude>[[Category:Documentation templates]]</noinclude> | --></div></includeonly><noinclude>[[Category:Documentation templates]]</noinclude> |