Kiosk Mode Integration home assistant

To apply a template to another option you just need to follow the same approach depending on the name of the entity that you want to use. There is no need to make a repetitive example for each one of the options if the approach is the same.

You code is wrong, you have not closed the template (check the }}' at the end):

kiosk_mode:
  hide_sidebar: '{{ is_state("input_boolean.hide_sidebar","on") }}'
  hide_header: '{{ is_state("input_boolean.hide_header","on") }}'

There is no need for that, when the entity is on you template will return true and when the entity is off, it will return false, so the header will hide or show depending on the entity status.