Template:If string/doc

From English Wikipedia @ Freddythechick

Usage

Will return {{{1}}} if pattern matches, else nothing.