Template:Dialog/rm subst/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

This template removes subst: and safesubst: prefixes from template calls in a raw wiki markup string.

Usage[edit source]

Specify the raw wiki markup through the unnamed parameter.

Examples[edit source]

input output

{{foo|bar}}

{{foo|bar}}

OK

{{ subst:foo | bar }}

{{ foo | bar }}

OK

{{safesubst:foo|bar}}

{{ foo|bar}}

OK

Note[edit source]

This is considered a dialog tool simply because dialog seems the only situation where one would manipulate raw wiki markup text.

See also[edit source]