Template:Todo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
during |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:Todo.svg|18px|link= | [[File:Todo.svg|18px|link=|alt=]] '''To do''' <!-- | ||
-->{{#if:{{{date|}}}{{{text|}}}|<!-- condition if A or B --><!-- | -->{{#if:{{{1|{{{date|}}} }}}{{{text|}}}|<!-- condition if A or B --><!-- | ||
--><small>''(<!-- | --><small>''(<!-- | ||
-->{{#if:{{{date|}}}|{{{date}}} }}<!-- | -->{{#if:{{{1|{{{date|}}} }}}|{{{1|{{{date|}}} }}} }}<!-- | ||
-->{{#if:{{{date|}}}|{{#if:{{{text|}}}| - }} }}<!-- A and B | -->{{#if:{{{1|{{{date|}}} }}}|{{#if:{{{text|}}}| - }} }}<!-- A and B | ||
-->{{#if:{{{text|}}}|{{{text}}} }}<!-- | -->{{#if:{{{text|}}}|{{{text}}} }}<!-- | ||
-->)''</small>}}<!-- | -->)''</small>}}<!-- | ||
Line 20: | Line 20: | ||
Expanded with parameters. | Expanded with parameters. | ||
:<code><nowiki>{{todo|date=December 2018|text=Waiting for delivery of back up oxygen supply before attempting airlock | :<code><nowiki>{{todo|date=December 2018|text=Waiting for delivery of back up oxygen supply before attempting airlock repair.}}</nowiki></code> | ||
:{{todo|date=December 2018|text=Waiting for delivery of back up oxygen supply before attempting airlock | :{{todo|date=December 2018|text=Waiting for delivery of back up oxygen supply before attempting airlock repair.}} | ||
===Parameters=== | ===Parameters=== | ||
;date | ;date | ||
:Use either Month YYYY or DD/MM/YYYY date format. | :Use either Month YYYY or DD/MM/YYYY date format. Also works as first parameter unnamed. | ||
;text | ;text | ||
:Text note to be included. | :Text note to be included. |
Latest revision as of 14:29, 25 February 2019
To do
Documentation
Provides a tick and bold To do. It has optional date and text parameters. Examples:
Examples
Simple no parameters.
Example task {{todo}}
- Example task To do
Expanded with parameters.
{{todo|date=December 2018|text=Waiting for delivery of back up oxygen supply before attempting airlock repair.}}
- To do (December 2018 - Waiting for delivery of back up oxygen supply before attempting airlock repair.)
Parameters
- date
- Use either Month YYYY or DD/MM/YYYY date format. Also works as first parameter unnamed.
- text
- Text note to be included.