Difference between revisions of "Template:Eval/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(→‎Usage: clarify code example)
imported>Andrybak
 
Line 1: Line 1:
 +
{{confused|Template:Expand wikitext}}
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{intricate template}}
 
{{intricate template}}

Latest revision as of 18:31, 27 May 2020

Evaluates a template after substitution via metatemplating. Functionally, this template generates {{template}}-style text during substitution, which then gets evaluated when the resulting code is substituted or transcluded.

Usage

{{Eval|templateName|arg1{{!}}arg2{{!}}param{{=}}paramArg}}

Arguments must be separated by {{!}}. Parameter names and their arguments must be separated by {{=}}.

See also

Template:Metatemplate doc