21 lines
		
	
	
		
			513 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
		
			513 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
|  | @* | ||
|  |  * This template takes a single argument, a String containing a | ||
|  |  * message to display. | ||
|  |  *@ | ||
|  | @(message: String) | ||
|  | 
 | ||
|  | @* | ||
|  |  * Call the `main` template with two arguments. The first | ||
|  |  * argument is a `String` with the title of the page, the second | ||
|  |  * argument is an `Html` object containing the body of the page. | ||
|  |  *@ | ||
|  | @main("Welcome to Play") { | ||
|  | 
 | ||
|  |     @* | ||
|  |      * Get an `Html` object by calling the built-in Play welcome | ||
|  |      * template and passing a `String` message. | ||
|  |      *@ | ||
|  |     @play20.welcome(message, style = "Java") | ||
|  | 
 | ||
|  | } |