Difference between revisions of "Template:Eval/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(→‎See also: sandbox non-categorisation)
imported>Andrybak
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{confused|Template:Expand wikitext}}
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{intricate template}}
 
{{intricate template}}
Line 8: Line 9:
 
== Usage ==
 
== Usage ==
  
  <nowiki>{{</nowiki>{{TEMPLATENAME}}<nowiki>|arg1{{!}}arg2{{!}}param{{=}}paramArg}}</nowiki>
+
  <nowiki>{{</nowiki>{{TEMPLATENAME}}<nowiki>|templateName|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}}.

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