This is not code; it is HTML text for pasting in the Pieces section of your article about the variant, if you want to present that as an auto-generated table (e.g. such as I used for Makromachy.)
For defining a custom piece set you need what the (old) PTA prints in the section "Custom sets (only needed with non-standard piece set):" after you press the GAME code button. Something like this:
This is not code; it is HTML text for pasting in the Pieces section of your article about the variant, if you want to present that as an auto-generated table (e.g. such as I used for Makromachy.)
For defining a custom piece set you need what the (old) PTA prints in the section "Custom sets (only needed with non-standard piece set):" after you press the GAME code button. Something like this: