Dollar - $(MyProp): Allows you to reference values specified within PropertyGroups.
At Sign - @(CodeFile): Allows you to reference lists of items specified within ItemGroups.
Percent - %(CodeFile.BatchNum): Allows you to reference batched ItemGroup values using metadata. This is a bit more complicated, so definitely review the documentation for more info.
Take a look at each link for more detailed info on how these are used. Good luck -- hope this helps!