Rename after parent add file name without extension

I'd like to rename files after parent folder and add the file name to it, but without extension.

For instance:
File: P123456.JPG
to become: {parent1}-P123456-{modifieddate|D#ddMMyyyy}.JPG

Any suggestions?

Thanks!

Ahum!

Thanks.
So easy.
I was trying with {name} and {file|noext} and ... and...
(just now found that {name|noext} also seems to work)

Anyway, thanks again.