I don't think anyone would include jQuery just for this. For templates, I would say just hand code them.