Difference between revisions of "Template:Eval"

From blackwiki
Jump to navigation Jump to search
imported>Zenexer
(Only use {{{2}}} if it is set.)
imported>Zenexer
(Preparing for move to {{ns:Template}})
Line 1: Line 1:
<noinclude>{{intricate template}}<!-- Delayed evaluation created by {{((}} and {{))}} (in this case manually substituted with includeonly) isn't easy to wrap one's head around. -->
+
<noinclude>{{documentation}}<!--
{{subst only}}
 
 
 
{{documentation}}<!--
 
 
--
 
--
 
-- BEGIN TEMPLATE
 
-- BEGIN TEMPLATE

Revision as of 00:44, 16 November 2012

Template documentation[view] [edit] [history] [purge]

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

Template:Metatemplate doc