Jump to content

Template:Dialog/rm subst/doc

From Wikinews, the free news source you can write!

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

Usage

[edit]

Specify the raw wiki markup through the unnamed parameter.

Examples

[edit]
input output

{{foo|bar}}

{{foo|bar}}

OK

{{ subst:foo | bar }}

{{ foo | bar }}

OK

{{safesubst:foo|bar}}

{{ foo|bar}}

OK

Note

[edit]

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

See also

[edit]