Template Plugin

Hey @nishantwrp, here's a redacted one.

---
template_title: LOG {{#custom_datetime}}dddd{{/custom_datetime}}

X:
  label: question lorem ipsum?
  type: text
Y:
  label: question lorem ipsum?
  type: text
Z:
  label: question lorem ipsum?
  type: text
A:
  label: question lorem ipsum?
  type: text
B:
  label: question lorem ipsum?
  type: text
C:
  label: question lorem ipsum?
  type: text
D:
  label: question lorem ipsum?
  type: text
E:
  label: question lorem ipsum?
  type: text
F:
  label: question lorem ipsum?
  type: text
G:
  label: question lorem ipsum?
  type: text
H:
  label: question lorem ipsum?
  type: text
I:
  label: question lorem ipsum?
  type: text
J: 
  label: question lorem ipsum?
  type: text
K:
  label: question lorem ipsum?
  type: text
show_daily:
  label: Show daily checklist?
  type: boolean
show_weekly:
  label: HIDE saturday checklist?
  type: boolean
show_monthly:
  label: HIDE 1st of month checklist?
  type: boolean
	


---

{{#custom_datetime}}dddd{{/custom_datetime}} 

# questions
- X: {{ X }}
- Y: {{ Y }}
- Z: {{ Z }}
- A: {{ A}}
- B:  {{ B }}
- C: {{ C }}
- D: {{ D }}
- E: {{ E }}
- F:  {{ F }}
- G:  {{ G }}
- H:  {{ H }}
- I:  {{ I }}
- J: {{ J }}

# REPORT
 {{ K }}
 

# CHECKLIST
{{#if show_daily}}

<daily checklist is here>

{{/if}}

{{#unless show_weekly}}

<weekly checklist is here>

{{/unless}}

{{#unless show_monthly}}

<monthly checklist is here>

{{/unless}}


(side note, would be cool to be able to set a boolean as false to start, you can see I use a double negative to make it work :slight_smile: )

2 Likes