Template:Eval: Difference between revisions
Template page
More actions
Created page with "<noinclude>{{documentation}}<!-- -- -- BEGIN TEMPLATE -- -- In order to properly display the braces, they need their own includeonly tags. -- --></noinclude><includeonly>{{</includeonly><includeonly>{{{1}}}{{subst:#if:{{{2|}}}|{{!}}{{{2}}}}}</includeonly><includeonly>}}</includeonly><noinclude><!-- -- -- END TEMPLATE -- --></noinclude>" |
(No difference)
|
Latest revision as of 03:20, 18 February 2025
This template is closely interconnected with other templates or pages.
This template may:
You are encouraged to familiarize yourself with its setup, and with related files. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. |
This template should always be substituted (i.e., 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|templateName|arg1{{!}}arg2{{!}}param{{=}}paramArg}}
Arguments must be separated by {{!}}
. Parameter names and their arguments must be separated by {{=}}
.