Template:Module test cases: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 No edit summary |
(Use new message box style) |
||
Line 1: | Line 1: | ||
{{ | {{Message box | ||
| image = | |type = info | ||
| | |image = Gnome-applications-science.svg | ||
This module implements the [[Module:ScribuntoUnit|test cases]] for [[:{{NAMESPACE}}:{{BASEPAGENAME}}]]. | |title = This module implements the [[Module:ScribuntoUnit|test cases]] for [[:{{NAMESPACE}}:{{BASEPAGENAME}}]]. | ||
}} | }} | ||
<includeonly>{{#invoke:{{PAGENAME}}|run}} | <includeonly>{{#invoke:{{PAGENAME}}|run}} | ||
{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude> | {{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude> | ||
{{ | {{Documentation}} | ||
<!-- Categories and interwikis go on the /doc subpage. --> | <!-- Categories and interwikis go on the /doc subpage. --> | ||
</noinclude> | </noinclude> |
Revision as of 12:37, 11 June 2023

This module implements the test cases for Template:Module test cases.
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
The above documentation is transcluded from Template:Module test cases/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.