How to display the items in the template and examples by selecting?

How to display the items in the template and examples by selecting
I built it like this .

I hope the same effect as the sample page. But I don’t know how to do it
Choose one to show one. Choose two to show two. Not an abnormal merger
https://play.grafana.org/d/000000025/templating-repeated-panels?orgId=1&var-server=backend_01&var-server=backend_02

My setting method is as follows. Please help. Thank you

I still have continuous concerns. Please help me. Thanks