This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Template:Phabricator Task"

From cpt
No edit summary
No edit summary
Line 11: Line 11:
|-
|-
! style="text-align:left;" | Date Phabricator Task Created
! style="text-align:left;" | Date Phabricator Task Created
| style="text-align:left;" | {{#if:{{{dateCreated|}}}|{{#time:r|@{{{dateCreated|}}}}}}}
| style="text-align:left;" | {{#if:{{{dateCreated|}}}|{{#time:Y/m/d H:i|@{{{dateCreated|}}}}}}}
|-
|-
! style="text-align:left;" | Date Wiki Page Created
! style="text-align:left;" | Date Wiki Page Created
| style="text-align:left;" | {{#time:r|{{#show:{{FULLPAGENAME}}|?Creation date}}}}
| style="text-align:left;" | {{#time:Y/m/d H:i|{{#show:{{FULLPAGENAME}}|?Creation date}}}}
|-
|-
! style="text-align:left;" | Date Phabricator Task Modified
! style="text-align:left;" | Date Phabricator Task Modified
| style="text-align:left;" | {{#if:{{{dateModified|}}}|{{#time:r|@{{{dateModified|}}}}}}}
| style="text-align:left;" | {{#if:{{{dateModified|}}}|{{#time:Y/m/d H:i|@{{{dateModified|}}}}}}}
|-
|-
! style="text-align:left;" | Date Wiki Page Modified
! style="text-align:left;" | Date Wiki Page Modified
| style="text-align:left;" | {{#time:r|{{#show:{{FULLPAGENAME}}|?Modification date}}}}
| style="text-align:left;" | {{#time:Y/m/d H:i|{{#show:{{FULLPAGENAME}}|?Modification date}}}}
|-
|-
! style="text-align:left;" | Date Phabricator Task Closed
! style="text-align:left;" | Date Phabricator Task Closed
| style="text-align:left;" | {{#if:{{{dateClosed|}}}|{{#time:r|@{{{dateClosed|}}}}}}}
| style="text-align:left;" | {{#if:{{{dateClosed|}}}|{{#time:Y/m/d H:i|@{{{dateClosed|}}}}}}}
|-
|-
! style="text-align:left;" | Author
! style="text-align:left;" | Author

Revision as of 16:14, 24 July 2019