For example, if user defines in a template a string "%section_10%" I retrieve value "10", make a mySQL query to select some text from row with id = 10 and then replace text with query result "should".