Extract useful parts of position template into includes