title: $:/snippets/viewswitcher
\define icon()
$:/core/images/storyview-$(storyview)$
\end
<$linkcatcher to="$:/view">
<$list filter="[storyviews[]]" variable="storyview">
<$set name="cls" filter="[
prefix{$:/view}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">>>
<$button tag="a" class="tc-tiddlylink tc-btn-invisible" to=<>><$transclude tiddler=<>/><$text text=<>/>$button>
$set>
$list>
$linkcatcher>