Eval
Revision as of 00:47, 16 November 2012 by Zenexer (Talk) (Zenexer moved page Zenexer/Templates/eval to Eval: For metatemplating framework; see Metatemplating (work in progress))
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here. |
This template should always be substituted – use {{subst:Eval}}. |
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|arg1{{!}}arg2{{!}}param{{=}}paramArg}}
Arguments must be separated by {{!}}
. Parameter names and their arguments must be separated by {{=}}
.
See also
- Metatemplating
- Dtag
- Template:eval
- Includeonly, Noinclude, and Nowiki
- Tft
- Sibling
- TEMPLATENAME and TEMPLATENAMEE
- !
- =
- (( and ))
- ((( and )))
The above documentation is transcluded from Eval/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |