Template:Brace2

{{#tag:math|\scriptstyle{

{{#switch:{{{2|}}}|u|up|d|down= {{#switch:{{{2|}}}|d|down=\underbrace{|u|up=\overbrace{}}

{{#invoke:String|rep|\quad|{{#expr: {{{1|1}}}-1 }}}}

}


 * default=

\left{{#switch:{{{2|}}}|left|l=\{|#default=.}}

\begin{matrix} \ {{#invoke:String|rep|\\ \|{{#expr: {{{1|1}}}-1 }}}} \end{matrix}

\right{{#switch:{{{2|}}}|left|l=.|#default=\}\,}}

}} } }}