Jump to content

Module:Call wikitext/doc

From Wikipedia, the free encyclopedia

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!