Template:Task

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: <noinclude>{{documentation}}</noinclude><includeonly><!-- ;;; Highlight priority item -->{{#ifeq: {{{pri|}}}|high|<span style="color:orange">}}<!-- ;;; Make bold if Brett has to do...)
Current revision (03:35, 23 October 2013) (edit) (undo)
 
(2 intermediate revisions not shown.)
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>([[Task/List/{{{1}}}|task]])</small><!--
+
-->| <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}}}}}]]}}<!--
 +
-->)</small><!--
-->}}<!--
-->}}<!--

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