s.linkType $args.type -}}

{{- $icon := "" -}}
{{- $tooltip := "" -}}
{{- if eq $state "deprecated" -}}
    {{- if $args.short -}}
        {{- $icon = "fas trash-can" -}}
        {{- $tooltip = T "deprecatedFeature" $args.version -}}
    {{ else }}
        {{- $title = T "deprecatedFeature" $args.version -}}
    {{- end -}}
{{- else -}}
    {{- if $args.short -}}
        {{- $icon = "fas rocket" -}}
        {{- $tooltip = T "addedFeature" $args.version -}}
    {{ else }}
        {{- $title = T "addedFeature