See Help:Expansion demo templates.

Example:

{{xpdopec|3x|1|abc}} gives:

"{{3x|1=abc}}" gives "abcabcabc" [1]