Inline general-purpose template program with features for non-destructive template generation.