Template:Setcond

{{#switch: {{#titleparts:{{FULLPAGENAME}}|1|-1}}
 * latex
 * default ={ \left\{ {{{1}}} \mid  {{{2}}} {{#if:{{{3|}}}|, \, {{{3|}}}  |   }}   {{#if:{{{4|}}}|, \, {{{4|}}}  |   }}    \right\} }} }