documented extractor for template