aboutsummaryrefslogtreecommitdiff
path: root/tests/data/simple/templates/new_entry_from_data_broken.yaml
blob: 73798ce4047d4219d873fc39cf73851cd3d58cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name: '{{ name }}'
description: |
  {{ description if description else "." indent(width=2, first=False) }}
  # Note that the lack of | between "." and indent is wanted, to get a proper
  # TemplatingError.
position: '{{ position }}'
# quantity (integer): how many items are there
quantity: {{ quantity if quantity else "0" }}
# value (float): how much each item is
value: 0.0
# cost (decimal): how much this costs
cost: '0'
# other (yaml): 
other: