Includes in template

Hello comrades!

Is it possible to include another template in templates?

ex.

make ‘image_template.php’ and include it where we need to display this image with the markup stored in that template: image listings, galleries, etc.

I know there is an option to make an Image widget. But it is too much for this case - no need create another Class or something.

Also widgets store their layouts in components/views(maybe tunable, but I don’t know :)) ) and I wish to store all templates in one directory - views.

Thank you in advance!

how about using renderPartial method?

Absolutely! It works like a charm!

Thanks!