{{#if direction}}Output{{else}}Input{{/if}}
{{#if state}}High{{else}}Low{{/if}}