Template:Status
From PCSAR
(Difference between revisions)
| (6 intermediate revisions not shown.) | |||
| Line 16: | Line 16: | ||
;;;;;;;;;;;; the most recent date for this task list | ;;;;;;;;;;;; the most recent date for this task list | ||
| - | </noinclude>{{#time: xNU | {{property get|tasks iteration date}} }}<noinclude> | + | ;;;;;;;;;;;; if none provided, use a date earlier than any task: 1970-01-01 is the UNIX epoch |
| + | </noinclude>{{#time: xNU | {{property get|tasks iteration date|Default=1970-01-01 }} }}<noinclude> | ||
| - | </noinclude>| [[ | + | </noinclude>| [[Image:Checkbox-unchecked.pdf|16px|link=]] <small>({{Status/Parse|{{{1|}}}}} for {{{2}}})</small> |
| {{#switch: {{Status/Parse|{{{1|}}}}} | | {{#switch: {{Status/Parse|{{{1|}}}}} | ||
| - | | not yet = [[ | + | | not yet = [[Image:Checkbox-unchecked.pdf|16px|link=]] |
| - | | done = [[ | + | | done = [[Image:Checkbox-checked.pdf|16px|link=]] |
| - | | won't = [[ | + | | verified = [[Image:Checkbox-verified.pdf|16px|link=]] |
| - | | #default = {{error message|<code><nowiki>{{status|</nowiki>{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}<nowiki>}}</nowiki></code> value "{{{1|}}}" could not be understood. Use "not yet", "done" or "won't".}} | + | | won't = [[Image:No.pdf|20px|link=]] |
| + | | #default = {{error message|<code><nowiki>{{status|</nowiki>{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}<nowiki>}}</nowiki></code> value "{{{1|}}}" could not be understood. Use "not yet", "done", "verified" or "won't".}} | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
;;;;;;;;;;;; | ;;;;;;;;;;;; | ||
</noinclude></includeonly> | </noinclude></includeonly> | ||
Current revision
This is the documentation for the template Template:Status
|
The template
Checks the property "tasks iteration date" set by
the template For examples below, assume
{{tasks iteration date|2018-02}}
[edit] Supporting templates[edit] Supporting files |
To see how this template is implemented,
edit this page and examine the portion
between <includeonly> and </includeonly>.

