Given that,
1. Template:A1 = {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}} {{{1}}}
2. Template:A2 = {{#ifeq: {{PAGENAME}} | ... | ... }}
When expanding,
1. {{A1| {{A2}} }}: As Template:A1 contains six of {{{1}}}, it will
compute A2's {{#ifeq:...}} six times, or just one time?
2. {{A1| {{#ifeq: {{PAGENAME}} | ... | ... }} }}: Same as above, how
many times will it compute {{#ifeq:...}}?
If it compute {{#ifeq:...}} six times in the above expansion, is it
possible to reduce this computation count by caching the result of
expression?