Difference between revisions of "Template:Eval/doc"
Jump to navigation
Jump to search
imported>Zenexer m (→Usage: Use {{TEMPLATENAME}}.) |
imported>Zenexer m (→Usage: Need to escape equals sign) |
||
| Line 8: | Line 8: | ||
<nowiki>{{</nowiki>{{TEMPLATENAME}}<nowiki>|arg1{{!}}arg2{{!}}param{{=}}paramArg}}</nowiki> | <nowiki>{{</nowiki>{{TEMPLATENAME}}<nowiki>|arg1{{!}}arg2{{!}}param{{=}}paramArg}}</nowiki> | ||
| − | Arguments must be separated by {{braces|!|tt=y}}. Parameter names and their arguments must be separated by {{braces|=|tt=y}}. | + | Arguments must be separated by {{braces|!|tt=y}}. Parameter names and their arguments must be separated by {{braces|{{=}}|tt=y}}. |
== See also == | == See also == | ||
Revision as of 02:48, 10 November 2012
| 40px | This is a documentation subpage for Template:Eval. It contains usage information, categories and other content that is not part of the original template page. |
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
User:Zenexer/Templates/Metatemplate doc