This high-risk template is indefinitely protected from editing to prevent vandalism.


From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template guarantees a page name has a colon somewhere in it, by adding one at the front if necessary.


Apply this template to a parameter literal value for {{dialog/button}} if the literal value is meant to be a page name, but might not contain a colon. ({{dialog/button}} uses the presence of a colon to identify whether a parameter literal value is a page name that ought to be linked via {{hidden use}}.)

{{dialog/page|foo:bar}}   would produce   foo:bar
{{dialog/page|foobar}}   would produce   :foobar