How can i get template variables in backend plugin

how can i get template variables in backend plugin
can you give me a example, please