support multiple template
inline support remote urls