code-body: yes created: 20161008085627406 modified: 20240229155633000 tags: $:/tags/Macro title: $:/editions/tw5.com/version-macros type: text/vnd.tiddlywiki \whitespace trim \function tf.from-version-reference() 5.3.0 \procedure .from-version-template(class, text) <$link to={{{ [addprefix[Release ]] }}} class=<> > {{$:/core/images/info-button}} <><> \end \procedure .from-version(version) <% if [compare:version:gteq] %> <<.from-version-template "doc-from-version doc-from-version-new" "New in v">> <% else %> <<.from-version-template "doc-from-version" "Introduced in v">> <% endif %> \end \procedure .deprecated-since(version, superseded:"TODO-Link") <$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible"> {{$:/core/images/warning}} Deprecated since: <$text text=<>/> (see <$link class="tc-tiny-gap-left" to=<>><$text text=<>/>) \end