title: $:/plugins/tiddlywiki/translators/templates/snippet-tid

\define generateTid(title)
title: $:/language/Snippets/$title$
tags: $:/tags/TextEditor/Snippet
caption: <$text text={{$:/language/Snippets/$title$!!caption}}/>

<$text text={{$:/language/Snippets/$title$}}/>
\end
<$macrocall $name="generateTid" title=<<currentTiddler>>/>