{{!-- Description --}} {{#if description}}
{{{ description }}}
{{/if}} {{!-- Building --}} {{#if build}} {{#with build}}
{{ localize "DND5E.FACILITY.Orders.build.inf" }} {{!-- Size --}} {{ formField field name=name value=value choices=choices labelAttr="label" blank=false localize=true }}
{{/with}} {{/if}} {{!-- Crafting --}} {{#if craft}} {{#with craft}}
{{ legend }} {{#if quantity}}
× {{ formInput quantity.field name=quantity.name value=quantity.value }}
{{/if}} {{#if baseItem}} {{ formField baseItem.field name=baseItem.name value=baseItem.value localize=true input=@root.inputs.createCheckboxInput }} {{/if}}
{{/with}} {{/if}} {{!-- Trade --}} {{#if trade}} {{#with trade}}
{{ localize "DND5E.FACILITY.Orders.trade.inf" }} {{#if stocked}} {{!-- Stocked --}} {{ formField stocked.field name=stocked.name value=stocked.value input=@root.inputs.createCheckboxInput localize=true }} {{else}} {{!-- Sell --}} {{ formField sell.field name=sell.name value=sell.value input=@root.inputs.createCheckboxInput localize=true }} {{!-- Goods --}} {{#if stock}} {{ formField stock.field name=stock.name value=stock.value localize=true }} {{/if}} {{!-- Animals --}} {{#if creatures}} {{#if sell.value}} {{ formField creatures.price.field name=creatures.price.name value=creatures.price.value localize=true }} {{else}}
{{#each creatures.buy}}
{{#unless empty}} {{ name }} {{#if removable}} {{/if}} {{/unless}}
{{/each}}

{{ localize creatures.hint }}

{{/if}} {{/if}} {{/if}}
{{/with}} {{/if}} {{!-- Costs --}} {{#if costs}} {{#with costs}}
{{ localize "DND5E.FACILITY.Costs.Label" }} {{!-- Days --}} {{ formField days.field name=days.name value=days.value localize=true }} {{!-- Gold --}} {{#unless @root.trade.sell.value}} {{ formField gold.field name=gold.name value=gold.value localize=true }} {{/unless}}
{{/with}} {{/if}}