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>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/be7e9873-cf5f-4c6c-94a4-ae0f72cd676d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.