Translations:Manual:Parser.php/6/en

Next it creates a $dom object and calls its $expand method to do the actual template magic.