Template:Status/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{template doc|<nowiki>status|date</nowiki>}} display the status of a task. ; status : status of the task. Can be one of : <code>not yet</code> : <code>done</code> : <code>won't</code> ...)
Current revision (17:48, 30 March 2018) (edit) (undo)
 
(3 intermediate revisions not shown.)
Line 5: Line 5:
: <code>not yet</code>
: <code>not yet</code>
: <code>done</code>
: <code>done</code>
 +
: <code>verified</code>
: <code>won't</code>
: <code>won't</code>
Line 14: Line 15:
For examples below, assume
For examples below, assume
<pre>
<pre>
-
{{tasks iteration date|2018-01}}
+
{{tasks iteration date|2018-02}}
</pre>
</pre>
-
{{tasks iteration date|2018-01}}
+
{{tasks iteration date|2018-02}}
{{demo table|
{{demo table|
{{demo row|<nowiki>foo {{status|done}}</nowiki>
{{demo row|<nowiki>foo {{status|done}}</nowiki>
| foo {{status|done}} }}
| foo {{status|done}} }}
 +
{{demo row|<nowiki>foo {{status|verified}}</nowiki>
 +
| foo {{status|verified}} }}
{{demo row|<nowiki>foo {{status|won't}}</nowiki>
{{demo row|<nowiki>foo {{status|won't}}</nowiki>
| foo {{status|won't}} }}
| foo {{status|won't}} }}
Line 31: Line 34:
{{demo row|<nowiki>foo {{status|done|2018-02}}</nowiki>
{{demo row|<nowiki>foo {{status|done|2018-02}}</nowiki>
| foo {{status|done|2018-02}} }}
| foo {{status|done|2018-02}} }}
 +
{{demo row|<nowiki>foo {{status|verified|2018-01}}</nowiki>
 +
| foo {{status|verified|2018-01}} }}
 +
{{demo row|<nowiki>foo {{status|verified|2018-02}}</nowiki>
 +
| foo {{status|verified|2018-02}} }}
{{demo row|<nowiki>foo {{status|bad}}</nowiki>
{{demo row|<nowiki>foo {{status|bad}}</nowiki>
| foo {{status|bad}} }}
| foo {{status|bad}} }}
Line 50: Line 57:
== Supporting templates ==
== Supporting templates ==
* [[Template:Status/Parse]]
* [[Template:Status/Parse]]
 +
== Supporting files ==
 +
<gallery>
 +
Image:Checkbox-unchecked.pdf
 +
Image:Checkbox-checked.pdf
 +
Image:Checkbox-verified.pdf
 +
Image:No.pdf
 +
</gallery>

Current revision

The template {{Status|status|date}} display the status of a task.

status 
status of the task. Can be one of
not yet
done
verified
won't
date 
(optional) the date the status is valid for

Checks the property "tasks iteration date" set by the template {{tasks iteration date|date}}.

For examples below, assume

{{tasks iteration date|2018-02}}


You type... You get...
foo {{status|done}}
           
foo link=
foo {{status|verified}}
           
foo link=
foo {{status|won't}}
           
foo link=
foo {{status|not yet}}
           
foo link=
foo {{status|}}
           
foo link=
foo {{status|done|2018-01}}
           
foo link=
foo {{status|done|2018-02}}
           
foo link=
foo {{status|verified|2018-01}}
           
foo link=
foo {{status|verified|2018-02}}
           
foo link=
foo {{status|bad}}
           
foo
{{status|bad}} value "bad" could not be understood. Use "not yet", "done", "verified" or "won't".
foo {{status|bad|2018-02}}
           
foo
{{status|bad|2018-02}} value "bad" could not be understood. Use "not yet", "done", "verified" or "won't".


Example:

  • Review the past minutes from any meetings that were adopted by the board link=
    • Make any corrections that were adopted by the board link=
    • Update the "status" of the minutes to "official" link=
  • Upload any handouts that were distributed at the meeting link=
  • Prepare the minutes link=
  • Notify the board that the draft minutes are ready for review link=


compare Template:Tickbox

[edit] Supporting templates

[edit] Supporting files

Personal tools