How to change the temperature of sub-circuits in LTSPICE
There are a few ways.

You can add it to the actual model you are using as a final parameter or use the component dialog box:



To get this dialog for anything that has a .model statement, use CTRL + right click.

If you are adding the temperature command within the SPICE listing, it needs the format of "temp=xx"; no dot required. The listing you show has omitted the '='.