Use ParserFunctions
{{#if:{{{Parameter1|}}} |yes |no }}
Replace "|" in tables with "|" in a template {{!}}.