---
creation date: 2021-07-22 16:44
modification date: Thursday 29th July 2021 07:11:19
---
<< [[2021-08-10]] | [[2021-08-12]] >>
# Templater Obsidian plugin
> It is easy to sit up and take notice, What is difficult is getting up and taking action.
> — <cite>Honore de Balzac</cite>
Will produce the following result when inserted:
---
creation date: 2021-01-07 17:20
modification date: Thursday 7th January 2021 17:20:43
---
<< [[2021-04-08]] | [[2021-04-10]] >>
# Test Test
> Do the best you can until you know better. Then when you know better, do better.
> — <cite>Maya Angelou</cite>
format: Format for the date, refer to format reference
offset: Offset for the day, e.g. set this to -7 to get last week’s date. You can also specify the offset as a string using the ISO 8601 format, e.g. set this to “P-1M” to get last month’s date.
reference: The date referential, e.g. set this to the note’s title
reference_format: The date reference format.
Retrieves the date.
2021-01-15
tp.date.tomorrow(format: string = "YYYY-MM-DD")
format: Format for the date, refer to format reference
text_items: Array of strings representing the text that will be displayed for each item in the suggester prompt. This can also be a function that maps an item to its text representation.
items: Array containing the values of each item in the correct order.
throw_on_cancel: Throws an error if the suggester prompt is canceled, instead of returning a null value.
placeholder: Placeholder string of the prompt.
Spawns a suggester prompt and returns the user’s chosen item.