Toggle menu
15
237
102
27.9K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Call wikitext/doc: Difference between revisions

From Kenshi Wiki
Prd (talk | contribs)
Created page with "{{documentation subpage}} Implements {{tl|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 <code>{{((}}Call wikitext</code> with <code>{{((}}#invoke:Call wikitext|main</code>. For example: {{Nowiki template demo|format=inline|<nowiki>{{Call w..."
 
Prd (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Modules]]
[[Category:Template metamodules]]
[[Category:Template metamodules]]
[[Category:Modules for test tools]]
[[Category:Modules for test tools]]
Line 14: Line 15:
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
[[Category:Module documentation pages]]
[[Category:Module documents]]
</noinclude>
</noinclude>

Latest revision as of 22:28, 10 March 2025

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!
Contents