Thread:Extension talk:UserFunctions/ ifanon:then else/reply

Heiya, that's how I do it on "MediaWiki:Sidebar", e.g.

So I am using the "!" template to do a pipe trick. Starting with MW 1.24 you will not need the template since  will be available as a magic word. On regular pages the pipe trick is not necessary so a  should make you happy.

Cheers