Template:Evalx/doc

Usage
This template evaluates an expression sequence using Module:Wikilisp. Pass the expression sequence as the first unnamed template parameter; all parameters to the template are also passed to the the module. For example,

would expand to

A different module, to use instead of Module:Wikilisp, may be specified by non-blank template parameter.

Internals
When Module:Wikilisp is d directly, rather than through an intermediary template such as evalx, the module point of entry is Lua function , and the invocation parameters are accessible through Wikilisp functions  and. However, the intermediary template cannot explicitly pass its arbitrary template parameters to the invocation since it doesn't know their names in advance. To compensate, an alternative point of entry is provided through Lua function, that feeds  and  the parameters to the intermediary template instead of the parameters to.