HolyGuacamole is absolutely correct. I used the word none instead of dummy, but here is the actual template that I used:
script BaseChangeTemplate(
NCM.Nodes @ContextNode,
string @Line_1,
string @Line_2,
string @Line_3)
{
//Issue commands to the device
CLI
{
configure terminal
@Line_1
}
if(@Line_2 !='none')
{
CLI{@Line_2}
}
}
if(@Line_3 !='none')
{
CLI{@Line_3}
}
}
}