| <aid="expand_template-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
| <aid="expand_template-out"></a>out | The destination of the expanded file. | <ahref="https://bazel.build/concepts/labels">Label</a> | required | |
| <aid="expand_template-substitutions"></a>substitutions | A dictionary mapping strings to their substitutions. | <ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | required | |
| <aid="expand_template-template"></a>template | The template file to expand. | <ahref="https://bazel.build/concepts/labels">Label</a> | required | |