Help:Subst

From QED

Jump to: navigation, search

The main use of the subst: parser function is to expand a template in-line when the page is saved. For example, on this page, {{subst:!!}} produces: ||

If the template accepts parameters, then those parameters can be specified. For example, {{subst:abs|x}} inserts the text |x| into the source of this page.

Copying a Page

The subst: parser function can also be used to copy a page inline.

For example, {{subst::IAST}} copies the contents of the page IAST page, whereas {{:IAST}} simply transcludes the contents when the page is rendered.

Personal tools