https://www.thymeleaf.org/doc/articles/standarddialect5minutes.html After "2.5. Fragment expressions" find "Fragment expressions can have arguments:". The colon means something must follow but there's nothing there.