Template:Module test cases: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
m (Vinifera7 moved page Template:Module test cases notice to Template:Module test cases without leaving a redirect)
No edit summary
Line 3: Line 3:
| text =  
| text =  
This module implements the [[wikipedia:Wikipedia:Lua#Unit_testing|test cases]] for [[:{{NAMESPACE}}:{{BASEPAGENAME}}]]. [[{{TALKSPACE}}:{{PAGENAME}}|Run the test cases]].
This module implements the [[wikipedia:Wikipedia:Lua#Unit_testing|test cases]] for [[:{{NAMESPACE}}:{{BASEPAGENAME}}]]. [[{{TALKSPACE}}:{{PAGENAME}}|Run the test cases]].
}}<includeonly>{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>
}}
 
<includeonly>{{#invoke:{{PAGENAME}}|run}}
{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories and interwikis go on the /doc subpage. -->
<!-- Categories and interwikis go on the /doc subpage. -->
</noinclude>
</noinclude>

Revision as of 10:18, 31 July 2020

Template:Ombox


Template documentation[view] [edit] [history] [purge]


This template displays a notice that the current page is a module's /testcases subpage. It also runs the test cases and displays the results.

Usage

This template is used in the system message MediaWiki:Scribunto-doc-page-does-not-exist, which automatically places it at the top of module /testcases subpages.

See also