Template:Square root with defaults A

{{subst:subst}}square root with defaults A |{{{1}}}| {{subst:#ifeq:+|-|{{subst:subst1}}#expr:{{{2}}}/2+{{{1}}}/{{{2}}}/2{{subst:rightbraces1}} |{{subst:subst}}#expr:1/2+{{{1}}}/2{{subst:rightbraces}} }} }}
{{subst:#ifeq:+|-|{{{2}}}|1}}</nowiki>

Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.