{% import "macros.tera" as macros %} # {{ macros::title(title=doc.name, id=id) }} {{ macros::details(id=id, name=doc.name) }} {%- if doc.WindowsEvent %} {{ macros::details_next(title="Type", value="Windows event") }} {% endif -%} {{ macros::details_next(title="Description", value=doc.description) }} ## Description {{ macros::content(content=doc.content) }} {% if doc.WindowsEvent %} ## Samples {% for sample in doc.WindowsEvent.sample %} ```xml {{ sample.xml }} ``` {% endfor %} {% endif %}