Template:Task

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (03:35, 23 October 2013) (edit) (undo)
 
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
 +
 +
;;; strike through completed tasks
 +
-->{{#ifeq:Closed|{{property get|Status|Task/List/{{{1}}}}}|<del>}}<!--
;;; Highlight priority item
;;; Highlight priority item
Line 15: Line 18:
-->{{#ifeq: {{{pri|}}}|high|</span>}}<!--
-->{{#ifeq: {{{pri|}}}|high|</span>}}<!--
 +
 +
;;; strike through completed tasks
 +
-->{{#ifeq:Closed|{{property get|Status|Task/List/{{{1}}}}}|</del>}}<!--
 +
-->{{#ifexist: {{{1}}}<!--
-->{{#ifexist: {{{1}}}<!--
-
 
-->|<!--
-->|<!--
-
 
+
-->| <small>(<!--
-
-->| <!--
+
-->{{Link/Create|Task/List/{{{1}}}|task|Preload=Template:Task/Boilerplate}}<!--
-
 
+
-->{{#if: {{property get|Assigned to|Task/List/{{{1}}}}}|{{~}}[[{{property get|Assigned to|Task/List/{{{1}}}}}]]}}<!--
-
--><span class="noprint"><!--
+
-->)</small><!--
-
 
+
-
--><small>({{Link/Create|Task/List/{{{1}}}|task|Preload=Template:Task/Boilerplate}})</small><!--
+
-
 
+
-
--></span><!--
+
-
 
+
-->}}<!--
-->}}<!--

Current revision

This is the documentation for the template Template:Task

Template:Task/Doc:
Related Templates
Task Link to a task
Task/Page Create a page about a task
Task/Boilerplate Boilerplate for a task page
Task/Record Describe a task

The template {{Task|task name}} records a task that needs to be done.

task name 
a unique name / description of the task.
need 
(optional) who is needed to do the task
pri 
(optional) priority of the task
est 
(optional) estimate of task length


You type... You get...
{{task|twiddle thumbs}} 
twiddle thumbs(task)
{{task|need=Brett|twiddle thumbs}} 
twiddle thumbs(task)
{{task|pri=high|twiddle thumbs}} 
twiddle thumbs(task)
{{task|pri=high|need=Brett|twiddle thumbs}} 
twiddle thumbs(task)
{{task|est=1h|twiddle thumbs}} 
twiddle thumbs(task) (estimate 1h)


The "(task)" is a link to a page about the task. This text is excluded from printing.


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools