• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Eval

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
Not to be confused with Template:Expand wikitext.
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.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.
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 {{=}}.

See also

  • Help:Metatemplating
  • Template:dtag
  • Template:eval
  • Template:includeonly, Template:noinclude, Template:onlyinclude, and Template:nowiki
  • Template:sibling
  • Template:TEMPLATENAME and Template:TEMPLATENAMEE
  • Template:!
  • Template:=
  • Template:(( and Template:))
  • Template:((( and Template:)))
The above documentation is transcluded from Template:Eval/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Eval&oldid=15758"
Categories:
  • Intricate templates
  • Wikipedia substituted templates
  • Wikipedia metatemplates
Last edited on 15 November 2012, at 19:47

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 15 November 2012, at 19:47.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop