Template:If string/doc

Usage
Will return if pattern matches, else nothing.