This is one structure that would work:
\define solution(headlinename)
<$list filter='[[$headlinename$]prefix[attention]]'>
<!-- Whatever you want if the input is 'attention'-->
Your headline is <<currentTiddler>>
</$list>
<$list filter='[[$headlinename$]prefix[info]]'>
<!-- Whatever you want if the input is 'info' -->
Your headline is <<currentTiddler>>
</$list>
<!-- Add more list widgets for your other options -->
\end
<<solution attention>>