Template Plugin and custom variables

Can I use a variable from a dropdown list via #if to determine the corresponding notebook? And in the second step link two variables?

Perhaps I do not understand the syntax for the #if with the templates!?


title_part1:
label: Select a notebook
type: dropdown(NB1, NB2, NB3)
title_part2:
label: Title indiv
type: text

{{ if title_part1 }}: NB1
template_notebook: 23eedd3bbb0d42a082bbc94fa56b36ab
{{ /if }}
template_title: {{title_part1}} - {{title_part2}}


{{template_title}}

{{TOC}


1 Like