Custom card

Hi –

Do I create a package file in ‘Packages’ for the code in Template Code in the link below? I was not sure if had to go somewhere else. Thanks

https://ui-lovelace-minimalist.github.io/UI/usage/custom_cards/custom_card_mpse_printer/#template-code