Template:Module documentation: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "{{#ifeq:{{NAMESPACE}}|Module|<dl class="plainlinks" style="font-size: smaller;"><dd><i style="font-size: larger;">The following wikt:Help:Documenting templates and modules|d...")
 
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{NAMESPACE}}|Module|<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'': [[Special:PrefixIndex/{{FULLPAGENAME}}/|subpage list]] • [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidetrans=1&hideredirs=1}} links] • [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidelinks=1&hideredirs=1}} transclusions] • [[{{FULLPAGENAME}}/testcases|testcases]] • [[:{{FULLPAGENAME}}/sandbox|sandbox]]</dd></dl><br>|}}<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