See Help:Expansion demo templates.

Example:

{{xpdopocc|3x|#expr:2*3}} gives:

"{{3x|{{#expr:2*3}}}}" gives "666" [1]