utilities/LogWarn.html") (dict 
        "partial"  "shortcodes/release.html" 
        "warnid"   "warn-invalid-arguments"
        "msg"      "Invalid arguments"
        "details"  ($args.errmsg | append $args.warnmsg)
        "file"     page.File
        "position" .Position
    )}}
{{- end -}}

{{/* Initialize local arguments */}}
{{- $title := $args.version -}}
{{- $state := or $args.releaseState $args.state -}}
{{- $color := cond (eq $state "deprecated") "secondary" "primary" -}}
{{- $linkType := or $arg