Module:ArgRest/testCaser: Difference between revisions
Appearance
Content deleted Content added
BrandonXLF (talk | contribs) BrandonXLF moved page Module:ArgRest/testCaser to Module:Call code: There is nothing specific to Module:ArgRest Tag: New redirect |
BrandonXLF (talk | contribs) Skip double redirect Tag: Redirect target changed |
||
Line 1: | Line 1: | ||
return require [[Module:Call |
return require [[Module:Call wikitext]] |
Latest revision as of 19:33, 1 September 2024
Implements {{Call wikitext}}. This module was originally designed for providing an effective way to create testcases for Module:ArgRest, by "mocking" a transcluded template.
Usage
[edit]This module can also be used directly. See Template:Call wikitext/doc for documentation and replace {{Call wikitext
with {{#invoke:Call wikitext|main
. For example:
{{Call wikitext|sourceCode=<nowiki>{{{foo}}}</nowiki>|foo=Hello!}}
→ Hello!
{{#invoke:Call wikitext|main|sourceCode=<nowiki>{{{foo}}}</nowiki>|foo=Hello!}}
→ Hello!