Jump to content

Module:Call wikitext/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BrandonXLF (talk | contribs) at 19:31, 1 September 2024 (BrandonXLF moved page Module:ArgRest/testCaser/doc to Module:Call code/doc: Parent page moved). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This module is designed exclusively for providing an effective way to create testcases for Module:ArgRest, by "mocking" a transcluded template.

Usage

Simply wrap this template around ArgRest like so:
{{#invoke:ArgRest/testCaser|main|sourceCode=<nowiki>{{#invoke:ArgRest|<nowiki>...{{{1}}}...{{{2}}}...&lt;/nowiki>|[name of a parameter]}}|(other parameters)}} and then attach arguments to "feed" to ArgRest at the end.