In order to create a variable template, all you need to do is to put a dollar sign in front of the name of that variable as shown in the following examples:-
fun main(args: Array<String>) {
val a : Boolean = true
val verb : String = "True"
println("$verb is always $a")
}
Which will output the below outcome.
True is always true