The Syntax inside the file ext_conf_template.txt is exatcly same as the syntax for the TypoScript constant declarations.
There exists a documetnation about the same titled “Declaring constants for the Constant editor” which can be easily located in the typo3 core documentation titled “TypoScript Syntax and In-depth Study – doc_core_ts”.