Template:Module documentation: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}}|Module|{{#ifeq:{{SUBPAGENAME}}|doc||<dl class="plainlinks" style="font-size: smaller;"><dd><i style="font-size: larger;">The following [[wikt:Help:Documenting templates and modules|documentation]] is located at [[{{FULLPAGENAME}}/doc]].<sup>[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]]</sup></i></dd><dd> ''Useful links'': {{#ifeq: {{SUBPAGENAME}}|{{PAGENAME}}||[[{{NAMESPACE}}:{{ROOTPAGENAME}}|root page]]&nbsp;•&nbsp;}}{{#ifeq: {{SUBPAGENAME}}|{{PAGENAME}}|[[Special:PrefixIndex/{{FULLPAGENAME}}/|subpage list]]|[[Special:PrefixIndex/{{NAMESPACE}}:{{ROOTPAGENAME}}/|root page's subpages]]}} • [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidetrans=1&hideredirs=1}} links] • [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidelinks=1&hideredirs=1}} transclusions] • {{#ifeq: {{#titleparts: {{FULLPAGENAME}}|-1|-2}}|testcases|[[{{ROOTPAGENAME}}|tested module]]|[[{{FULLPAGENAME}}/testcases|testcases]]}} • [[:{{FULLPAGENAME}}/sandbox|sandbox]]</dd></dl><br>}}|}}</includeonly><noinclude>[[Category:Templates]][[Category:Functionality]]</noinclude>
<includeonly>{{#ifeq:{{NAMESPACE}}|Module|{{#ifeq:{{SUBPAGENAME}}|doc||<dl class="plainlinks" style="font-size: smaller;"><dd><i style="font-size: larger;">The following [[wikt:Help:Documenting templates and modules|documentation]] is located at [[{{FULLPAGENAME}}/doc]].<sup>[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]]</sup></i></dd><dd> ''Useful links'': {{#ifeq: {{SUBPAGENAME}}|{{PAGENAME}}||[[{{NAMESPACE}}:{{ROOTPAGENAME}}|root page]]&nbsp;•&nbsp;}}{{#ifeq: {{SUBPAGENAME}}|{{PAGENAME}}|[[Special:PrefixIndex/{{FULLPAGENAME}}/|subpage list]]|[[Special:PrefixIndex/{{NAMESPACE}}:{{ROOTPAGENAME}}/|root page's subpages]]}} • [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidetrans=1&hideredirs=1}} links] • [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidelinks=1&hideredirs=1}} transclusions] • {{#ifeq: {{#titleparts: {{FULLPAGENAME}}|-1|-2}}|testcases|[[{{ROOTPAGENAME}}|tested module]]|[[{{FULLPAGENAME}}/testcases|testcases]]}} • [[:{{FULLPAGENAME}}/sandbox|sandbox]]</dd></dl><br>}}|}}[[Category:Modules]]</includeonly><noinclude>[[Category:Templates]][[Category:Functionality]]</noinclude>

Latest revision as of 15:25, 25 June 2022