How can i use panelurl in template

I want to return a panelurl in dingding message,but it dont work
this is my template:

{{ define “test1” }}
test1 123
{{ . }}
test 123
Panel: {{ .PanelURL }}
{{ end }}