Custom Todos: Difference between revisions

Samh (talk | contribs)
No edit summary
Samh (talk | contribs)
m Samh moved page Todos to Custom Todos
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= TODO Task Label Prefixes & Variables =
{{Infobox Feature
| name = Custom Todos
| version = [[Release 3.5.0|3.5.0]]
| tier = Standard, Premium and Enterprise
}}


TODO task labels support special prefixes and variables that control how tasks are rendered in the UI.
[[File:Screenshot 2026-06-17 at 14.57.14.png|thumb|Example: Input - ECH custom Todo]]
[[File:App-custom-todo.png|thumb|Example: Output - App custom Todo]]
 
= Custom Todos =
 
Todo task labels support special prefixes and variables that control how tasks are rendered in the UI.


== Prefixes ==
== Prefixes ==
Line 47: Line 56:
== Date Variables ==
== Date Variables ==


Task labels support the <code>{{EventDate}}</code> variable, which is replaced with the event's start date displayed as day and month numbers (e.g., ''16/06'').
Task labels support the <code><nowiki>{{EventDate}}</nowiki></code> variable, which is replaced with the event's start date displayed as day and month numbers (e.g., ''16/06'').


=== Basic Usage ===
=== Basic Usage ===
Line 55: Line 64:
! Replaced With
! Replaced With
|-
|-
| <code>{{EventDate}}</code>
| <code><nowiki>{{EventDate}}</nowiki></code>
| Event start date (e.g., ''16/06'')
| Event start date (e.g., ''16/06'')
|}
|}
Line 67: Line 76:
! Replaced With
! Replaced With
|-
|-
| <code>{{EventDate+1}}</code>
| <code><nowiki>{{EventDate+1}}</nowiki></code>
| Event start date + 1 day
| Event start date + 1 day
|-
|-
| <code>{{EventDate-1}}</code>
| <code><nowiki>{{EventDate-1}}</nowiki></code>
| Event start date − 1 day
| Event start date − 1 day
|-
|-
| <code>{{EventDate+3}}</code>
| <code><nowiki>{{EventDate+3}}</nowiki></code>
| Event start date + 3 days
| Event start date + 3 days
|-
|-
| <code>{{EventDate-2}}</code>
| <code><nowiki>{{EventDate-2}}</nowiki></code>
| Event start date − 2 days
| Event start date − 2 days
|}
|}
Line 82: Line 91:
Whitespace inside the braces is tolerated:
Whitespace inside the braces is tolerated:


* <code>{{ EventDate + 1 }}</code> → same as <code>{{EventDate+1}}</code>
* <code><nowiki>{{ EventDate + 1 }}</nowiki></code> → same as <code><nowiki>{{EventDate+1}}</nowiki></code>
* <code>{{EventDate- 2}}</code> → same as <code>{{EventDate-2}}</code>
* <code><nowiki>{{EventDate- 2}}</nowiki></code> → same as <code><nowiki>{{EventDate-2}}</nowiki></code>


Unknown variables (anything other than ''EventDate'') are left as-is.
Unknown variables (anything other than ''EventDate'') are left as-is.