-
A template is like a function, so it needs parameters, which must be declared at the top of the template file
@(customer: Customer, orders: List[Order])
-
Templates can also have default values in case one is not specified
@(title: String = "Home")
-
You can also have parameter groups
-
This will be essential when applying
implicit
parameters
@(title: String)(body: Html)