{{- $name := .Get 0 -}} {{- $label := cond (ge (len .Params) 2) (.Get 1) $name -}} {{/* naam "hugo" -> i18n key "tooltip_hugo" */}} {{- $key := printf "tooltip_%s" $name -}} {{- $raw := i18n $key -}} {{/* simpele fallback als vertaling ontbreekt */}} {{- $text := cond (eq $raw $key) (printf "Missing tooltip for '%s'" $name) $raw -}} {{ $label }}