This is a documentation subpage for Template:Test case nowiki. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template generates a test case for two or more templates. Each template is called with the same parameters, and the test case can be displayed in various different formats.
The template output and the template invocations are generated from template code passed inside <nowiki>...</nowiki>
tags passed to the |code=
or |1=
parameters. In this template code, you must use the magic word __TEMPLATENAME__
instead of the normal template name.
Template names are specified parameters like |template1=
and |template2=
, etc. If no templates are specified explicitly, the module uses the base page of the current page as the first template, and its /sandbox subpage as the second template. If only one template is specified explicitly, its /sandbox subpage is used as the second template.