Editing Template:Status

From PCSAR

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Current revision Your text
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><noinclude>
<noinclude>{{documentation}}</noinclude><includeonly><noinclude>
;;;;;;;;;;;;
;;;;;;;;;;;;
-
</noinclude>{{#ifexpr: <noinclude>
+
</noinclude>{{#ifexpr: {{#time: xNU | {{{2|2100}}} }} < {{#time: xNU | {{property get|tasks iteration date}} }}
-
 
+
| [[Image:Checkbox-unchecked.pdf|16px|link=]] ({{Status/Parse|{{{1|}}}}} for {{{2}}})
-
;;;;;;;;;;;; If the provided date
+
-
;;;;;;;;;;;; (if no date is provided, use a future date such that
+
-
;;;;;;;;;;;; this test fails -- the status is for the current
+
-
;;;;;;;;;;;; iteration)
+
-
;;;;;;;;;;;; (the future date is in 2037, which is the furthest
+
-
;;;;;;;;;;;; future date that is supported by this
+
-
;;;;;;;;;;;; implementation of UNIX time_t)
+
-
</noinclude>{{#time: xNU | {{{2|2037-01-01}}} }}<noinclude>
+
-
 
+
-
;;;;;;;;;;;; is less than
+
-
</noinclude>< <noinclude>
+
-
 
+
-
;;;;;;;;;;;; the most recent date for this task list
+
-
;;;;;;;;;;;; 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>| [[Image:Checkbox-unchecked.pdf|16px|link=]] <small>({{Status/Parse|{{{1|}}}}} for {{{2}}})</small>
+
| {{#switch: {{Status/Parse|{{{1|}}}}}
| {{#switch: {{Status/Parse|{{{1|}}}}}
| not yet = [[Image:Checkbox-unchecked.pdf|16px|link=]]
| not yet = [[Image:Checkbox-unchecked.pdf|16px|link=]]
| done = [[Image:Checkbox-checked.pdf|16px|link=]]
| done = [[Image:Checkbox-checked.pdf|16px|link=]]
-
| verified = [[Image:Checkbox-verified.pdf|16px|link=]]
 
| won't = [[Image:No.pdf|20px|link=]]
| 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".}}
+
| #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".}}
}}
}}
}}<noinclude>
}}<noinclude>
;;;;;;;;;;;;
;;;;;;;;;;;;
</noinclude></includeonly>
</noinclude></includeonly>

Please note that all contributions to PCSAR are considered to be released under the Attribution-Share Alike 3.0 Unported (see PCSAR:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!


Cancel | Editing help (opens in new window)