Module:Call/doc
This is the documentation page for Module:Call
This module is used to call another template (Callee) in one template (Caller). Due to technical limitations, please use {{#invoke:Call}}
to invoke this module directly in Caller.
Usage
{{#invoke:Call|main|template name[|other parameters]}}
- input
-
- 1: Template (Callee) name.
- Other parameters: You can specify parameters in the template (Caller) when calling another template (Callee). If another page (Page) calls this template (Caller) with a parameter of the same name specified, the parameter value specified in the page (Page) will not take effect, that is, the parameter in the template (Caller) source code has a higher priority.
- output
- The result of calling Callee, whose parameters are specified by the source code of Caller and the page calling Caller.
Limitations
Due to the limitations of Lua itself, the order in which named arguments are passed in is not deterministic, so the results of using the {{#forargs:}}
parser function may not be as expected.