Drawing format variables

How do I set up a drawing format to automatically import variables such as material, part name, part number, etc from the part?

Thanks

SolidworksGeneral