Jump to content

Template:Doc/end: Difference between revisions

From Ferret Software Wiki
Gorasuhl (talk | contribs)
fixed internal linking of the documentation when using a template for a module
Gorasuhl (talk | contribs)
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 {{#ifexist: Module:{{ROOTPAGENAME}}|[[Module:{{ROOTPAGENAME}}/doc]]|[[{{FULLPAGENAME}}/doc]]}}. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] &#124; [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></p> }}<!--
--><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] &#124; [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></p> }}<!--
--></div></includeonly><noinclude>[[Category:Documentation templates]]</noinclude>
--></div></includeonly><noinclude>[[Category:Documentation templates]]</noinclude>

Latest revision as of 23:42, 1 April 2025