Module:Call wikitext/doc: Difference between revisions
From Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Module documents]] | |||
[[Category:Module documentation pages]] | [[Category:Module documentation pages]] | ||
</noinclude> | </noinclude> | ||
Revision as of 01:22, 6 March 2025
| This is a documentation subpage for Module:Call wikitext. It may contain usage information, categories and other content that is not part of the original module page. |
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
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!