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|}}}|{{#timel:Y/m/d H:i|@{{{dateCreated|}}}}}}}
| style="text-align:left;" | {{#if:{{{dateCreated|}}}|{{#timel:Y/m/d h:i A|@{{{dateCreated|}}}}}}}
|-
|-
! style="text-align:left;" | Date Wiki Page Created
! style="text-align:left;" | Date Wiki Page Created
| style="text-align:left;" | {{#timel:Y/m/d H:i|{{#show:{{FULLPAGENAME}}|?Creation date}}}}
| style="text-align:left;" | {{#timel:Y/m/d h:i A|{{#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|}}}|{{#timel:Y/m/d H:i|@{{{dateModified|}}}}}}}
| style="text-align:left;" | {{#if:{{{dateModified|}}}|{{#timel:Y/m/d h:i A|@{{{dateModified|}}}}}}}
|-
|-
! style="text-align:left;" | Date Wiki Page Modified
! style="text-align:left;" | Date Wiki Page Modified
| style="text-align:left;" | {{#timel:Y/m/d H:i|{{#show:{{FULLPAGENAME}}|?Modification date}}}}
| style="text-align:left;" | {{#timel:Y/m/d h:i A|{{#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|}}}|{{#timel:Y/m/d H:i|@{{{dateClosed|}}}}}}}
| style="text-align:left;" | {{#if:{{{dateClosed|}}}|{{#timel:Y/m/d h:i A|@{{{dateClosed|}}}}}}}
|-
|-
! style="text-align:left;" | Author
! style="text-align:left;" | Author

Revision as of 20:41, 25 July 2019